Extension:Proofread Page/Proofread props API

The ProofreadPage extension provides information about proofreading-related properties of Page-namespace pages with the props=proofread query:

{
    "action": "query",
    "format": "json",
    "formatversion": 2,
    "prop": "proofread",
    "titles": "Page:Sandbox.djvu/1"
}

Example: https://en.wikisource.org/wiki/Special:ApiSandbox#action=query&format=json&formatversion=2&prop=proofread&titles=Page:Sandbox.djvu/1

Response
{
    "batchcomplete": true,
    "query": {
        "pages": [
            {
                "pageid": 941671,
                "ns": 104,
                "title": "Page:Sandbox.djvu/1",
                "proofread": {
                    "quality": 1,
                    "quality_text": "Not proofread"
                }
            }
        ]
    }
}

Values are returned in the proofread property of each page:

  • quality the quality code (0-4)
  • quality_text the local quality text for this proofread level

Parameters

edit

There are currently no parameters to this API.