XZise added a subscriber: XZise.
XZise added a comment.
The namespace is dynamically queried, so it does appear in:
http://zh-min-nan.wiktionary.org/w/api.php?action=query&meta=siteinfo&a…
If you search for `: 14` you get two results and one contains a result with two characters
and other looks like “Lūi-pia̍t”.
Now the stacktrace is hard to decypher but I guess it queries `分類:Lūi-pia̍t:…` but it gets
a result for `Lūi-pia̍t:Lūi-pia̍t:…`. What is strange that the namespace name appears
twice but it should actually say both are the same, as `APISite.sametitle` does determine
the namespace ID and also supports the aliases.
>> import pywikibot
>> s = pywikibot.Site('zh-min-nan', 'wiktionary')
>> s.sametitle('分類:Lūi-pia̍t:…', 'Lūi-pia̍t:Lūi-pia̍t:…')
True
>> s.namespaces[14]
Namespace(id=14,
custom_name='Lūi-pia̍t', canonical_name='Category',
aliases=['分類'], case='case-sensitive')
TASK DETAIL
https://phabricator.wikimedia.org/T86696
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise
Cc: Aklapper, JAnD, XZise, jayvdb, pywikipedia-bugs