Lokal_Profil added a comment.

My guess is that this needs to be fixed over in pywikibot/tools/__init__.py:DeprecatedRegex.normalize_username() in order to be handled correctly everywhere (several other functions make the same assumption).

But normalize_username() is also used in login.py:LoginManager.readPassword() where we actually want the login_name and somewhere else which I have yet to identify.

The other place is in site.py:APISite.login.py() where we call on LoginManager and need to do so with the login_name.


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

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

To: Lokal_Profil
Cc: Aklapper, Lokal_Profil, pywikibot-bugs-list, Mdupont, JJMC89, jayvdb
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to