Dvorapa added a comment.
But this is not MediaWiki API. Pywikibot is based on MediaWiki API, I'm unsure whether we are capable to support non-standard APIs like this. Sorry to be rejective, but if every wiki family had their own separate API for login, Pywikibot would have 320 GB of specific methods to login to every wiki family all over the internet. Also I don't understand the fact, that for logging in to "https://rail-ucp.fandom.com/pl/api.php" you need to call completely different url "https://services.fandom.com/auth/token" with completely different structure of parameters (missing format, maxlag, rememberMe). Anyway, this would need to rewrite standard login() from Family class specifically in FandomFamily class to use the special url instead of the usual one (unsure if it is even possible without rewriting the whole login process). TASK DETAIL https://phabricator.wikimedia.org/T249403 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: Xqt, Dvorapa, Aklapper, Railfail536, pywikibot-bugs-list, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy, Krenair
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
