Extension:Jade/API

We recommend going through the API rather than editing a judgment's JSON directly, but you are welcome to do whatever suits you. For simple tasks, the API will help you by hiding some of the complexities of translation and data structure.

Unfortunately, there's only a read API at the moment:


 * action=query&prop=damagingjudgments - Get damaging judgments for the given revisions.

Parameters: Takes the  parameter, or can be used with a generator returning revisions.

Result signature:
 * : Module result container.
 * : list of judgments,
 * : Boolean, true if judged damaging.
 * : Freeform text notes about the judgment.
 * : Boolean, true if the judgment represents a current consensus.

"Example:"

Entity data types
{"type": "diff", "id": 123456} convert to "Jade:Diff/123456" in English Wikipedia, but "Yeşim:Fark/123456". The entitydata field allows a tool developer to not need to know the local translations in order to edit the right page.

Label data types

 * editquality
 * ... todo ...