Extension:Proofread Page/Metadata API
Appearance
From mediawiki.org
(Redirected from Extension:ProofreadPage/Metadata API)
The ProofreadPage extension provides information about the extension's configurations using the query action with meta=proofread:
{ "action":"query", "meta":"proofread" }
Example: https://en.wikisource.org/wiki/Special:ApiSandbox#action=query&format=json&meta=proofreadinfo
| Response |
|---|
{ "batchcomplete":"", "query":{ "proofreadnamespaces":{ "index":{ "id":106 }, "page":{ "id":104 } }, "proofreadqualitylevels":[ { "id":0, "category":"Without text" }, { "id":1, "category":"Not proofread" }, { "id":2, "category":"Problematic" }, { "id":3, "category":"Proofread" }, { "id":4, "category":"Validated" } ] } } |
Properties
[edit ]You can select which properties are returned using the prpiprop key:
namespaces: The Index and Page namespacesqualitylevels: the quality levels, which reports the following information:- The level ID, from 0-4
- The corresponding category, as configured by the
MediaWiki:Proofreadpage quality0 categorymessages
The default value for this key is namespaces|qualitylevels
This key was renamed in September 2021 (1.37.0-wmf.23) from
piprop due to a conflict with Extension:PageImages. Clients should use the new key, prpiprop. Due to the default values, old clients will continue to work, but will also get an "unknown parameter value" warning in the response.