Page MenuHomePhabricator

Site.categorymembers: Add support for `cmstartsortkeyprefix`
Closed, ResolvedPublic

Description

The categorymembers method currently only has startsort which is passed to API as cmendsortkeyprefix. It's hard to work with (it should be in binary string format) and is deprecated since MW 1.24. See: T74101

Pywikibot should provide a way to use the newer cmstartsortkeyprefix API parameter which is easier to use in many situations.

Event Timeline

Change 364423 had a related patch set uploaded (by Dalba; owner: Dalba):
[pywikibot/core@master] site.categorymembers: Support cmstartsortkeyprefix API parameter

https://gerrit.wikimedia.org/r/364423

Change 364423 abandoned by Dalba:
site.categorymembers: Support cmstartsortkeyprefix API parameter

Reason:
I doubt it, but maybe someone can think of a better way to resolve this as a part of T74101.

https://gerrit.wikimedia.org/r/364423

Dalba removed Dalba as the assignee of this task.Jul 11 2017, 2:41 PM
Dalba triaged this task as Medium priority.

Change 364423 restored by Dalba:
site.categorymembers: Support cmstartsortkeyprefix API parameter

Reason:
I think we will need a new parameter in any case, let's see what other reviewers think.

https://gerrit.wikimedia.org/r/364423

Dalba updated the task description. (Show Details)

Change 364423 merged by jenkins-bot:
[pywikibot/core@master] site.categorymembers: Support cmstartsortkeyprefix API parameter

https://gerrit.wikimedia.org/r/364423