Dvorapa added a comment.

@Xqt I think I've found the issue:

$ python2 pwb.py shell
Welcome to the Pywikibot interactive shell!
>>> print("ß".upper())
ß
$ python pwb.py shell
Welcome to the Pywikibot interactive shell!
>>> print("ß".upper())
SS

When calling pywikibot.Page(family, title) there is a method first_upper() used on page title right? And first_upper() is just a upper() applied to first letter of the string. The function behavior changed between Py2 and Py3, but Wikimedia allows to create an article with "ß" at the beginning of title


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

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

To: Dvorapa
Cc: Xqt, Betterknower, Aklapper, pywikibot-bugs-list, Dvorapa, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to