XZise added a comment.

Okay looking further into it, I can only get it to work when I use one letter 
in `cmstartsortkey` while `cmstartsortkeyprefix` seems to work also if the 
sortkey has not specified explicitly (not sure what happened yesterday).

- `cmstartsortkeyprefix=Test` 
<https://test.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:A&cmprop=title%7Csortkey%7Csortkeyprefix&cmsort=sortkey&cmstartsortkeyprefix=Test>:
 Lists all
- `cmstartsortkey=T` 
<https://test.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:A&cmprop=title7Csortkey7Csortkeyprefix&cmsort=sortkey&cmstartsortkey=T>:
 Lists all
- `cmstartsortkey=Test` 
<https://test.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:A&cmprop=title7Csortkey7Csortkeyprefix&cmsort=sortkey&cmstartsortkey=Test>:
 Lists none

So it seems like we actually want to use `cmstartsortkeyprefix` which 
unfortunately has been implemented in 1.18, so we still need to figure out how 
to use`cmstartsortkey` on older wikis. My question there is actually, what is a 
binary string?


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

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

To: XZise
Cc: Xqt, jayvdb, XZise, Multichill, Ricordisamoa, pywikibot-bugs-list, Mpaa, 
Anshoe, Malyacko, P.Copp



_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to