Page MenuHomePhabricator

Write JADE internal APIs to simplify integrations
Closed, ResolvedPublic


We're considering several JADE integrations which will happen in the MediaWiki extension layer. In this design, workflows such as patrolling, FlaggedRevs, and PageTriage would hook into JADE and cause judgments to be created or updated. Define and implement this API and attempt an integration to validate.


  • Create a judgment from (entity, schema, judgment content, notes, user identity).
  • Won't require any changes to the external workflows, we can incrementally enrich the data with optional data such as free-form text notes.
  • Clients can fetch a judgment given (entity_type, entity_id).

Declined requirements:

  • Update a judgment. Probably pass a lastRevId and section ID for conflict resolution.
  • Make the create action available in a background job.


Related Objects

Event Timeline

Change 442885 had a related patch set uploaded (by Awight; owner: Awight):
[mediawiki/extensions/JADE@master] [WIP] API to add judgments given flat parameters

Change 443511 had a related patch set uploaded (by Awight; owner: Awight):
[mediawiki/extensions/JADE@master] Implement getjudgments

Change 443511 abandoned by Awight:
Implement getjudgments


Change 442885 merged by jenkins-bot:
[mediawiki/extensions/JADE@master] JADE API to store judgments