Tgr created this task.
Tgr added projects: Pywikibot-login.py, Pywikibot-OAuth.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

The current error message is: {P3657}
It's not impossible to figure out from that that you don't need to log in explicitly when using OAuth, but it's not exactly user-friendly either. It should just say something like "Skipping login, you are using OAuth so you are always logged in."

Two UX complications worth considering:

  • the user might have an OAuth token for the wiki which is invalid. Trying to use the login API would probably still fail in that case, but in uglier ways.
  • the user might have an OAuth token which is valid for the wiki on which they perform the login, but not for all wikis on which the session saved via login.py would be valid (if it's a CentralAuth session or something similar).

TASK DETAIL
https://phabricator.wikimedia.org/T142269

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Tgr
Cc: Aklapper, pywikibot-bugs-list, MarcoAurelio, Tgr
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to