Page MenuHomePhabricator

Unrecognized parameter for query continue for proofreadpagesinindex (gprppiifrom vs gprppiicontinue)
Closed, ResolvedPublicBUG REPORT

Description

What happens?:
API for "proofreadpagesinindex" exposes for continuation:

"continue": {
    "gprppiifrom": 101,
    "continue": "gprppiifrom||"
},

But when gprppiifrom is provided, API gives a warning:

warnings	"Unrecognized parameter: gprppiifrom."

In API sandbox gprppiicontinue is used for continuation instead.

See https://en.wikisource.org/wiki/Special:ApiSandbox#action=query&format=json&prop=info&list=&generator=proofreadpagesinindex&formatversion=2&gprppiicontinue=51&gprppiiprop=title&gprppiititle=Index%3ASandbox.djvu&gprppiilimit=50

What should have happened instead?:
API should provide the correct parameter to continue.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
1.38.0-wmf.16

When trying to extend support in pywikibot for "proofreadpagesinindex", this is an issue, as pywikibot builds the API query based on info contained in the API response.

Event Timeline

Aklapper renamed this task from Query continue for proofreadpagesinindex to Unrecognized parameter for query continue for proofreadpagesinindex (gprppiifrom vs gprppiicontinue).Jan 9 2022, 10:22 PM

Change 752360 had a related patch set uploaded (by Inductiveload; author: Inductiveload):

[mediawiki/extensions/ProofreadPage@master] API: correct prppii conttinuation parameter

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

Change 752360 merged by jenkins-bot:

[mediawiki/extensions/ProofreadPage@master] API: correct prppii continuation parameter

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

@Mpaa I think this is working. Do you agree?