Extension:Proofread Page/Proofread props API

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

There are currently no parameters to this API.