mediawiki-el
mediawiki-el copied to clipboard
Fall back to token API of <mediawiki-1.27.
On <mediawiki-1.27, the mediawiki-site-get-token will fail. The old action=login POST method is used instead to obtain login tokens.
Closes: https://github.com/hexmode/mediawiki-el/issues/28
I don't like the blanket ignore-error here. This could hide problems from users of more recent (AKA “supported”) wikis.
Something like this would be acceptable if the error was logged in Messages with a note that the error is being ignored to support pre-1.27 wikis.