XZise added a comment.
Okay API:Categorymembers <https://www.mediawiki.org/wiki/API:Categorymembers>
states that the `hex` variants were added in 1.24. And the hex sort key is
basically:
sortkey = page.title()
if custom_sortkey:
sortkey = custom_sortkey + '\n' + page.title()
sortkey = ''.join('{0:02x}'.format(b) for b in
sortkey.upper().encode('utf-8'))
Unfortunately `cmstartsortkeyprefix` only works if a sortkey has been specified
explicitly, so we could in theory in `APISite.categorymembers` convert the
start and end sortkeys manually.
TASK DETAIL
https://phabricator.wikimedia.org/T74101
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise
Cc: XZise, Multichill, Ricordisamoa, pywikibot-bugs-list, Mpaa, jayvdb,
Malyacko, P.Copp
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs