Page MenuHomePhabricator

Fix description and example issues for page, revision, search, and file paths in the MediaWiki REST API OAD
Open, In Progress, MediumPublic

Description

Fix linter issues related to descriptions and examples under the following paths in the MediaWiki REST API OAD (89 issues):

  • /v1/page*
  • /v1/revision*
  • /v1/search*
  • /v1/file*

Additionally, fix description and example issues in the components object in the OAD.

Add descriptions:

  • to response schema properties (wikimedia-response-schema-properties-description)
  • to request bodies; after T427355 is done (wikimedia-requestbody-description)
  • to request body schema properties (wikimedia-requestbody-schema-properties-description)
  • to operations (wikimedia-operation-description)
  • to parameters (wikimedia-paths-parameter-description-customized)

Add examples after T427361, T427360, T424002, T426836 are done:

  • for parameters (wikimedia-paths-parameter-example-exists)
  • for responses (wikimedia-response-example-exists)
  • for request bodies (wikimedia-requestbody-example-exists)
  • for schemas (wikimedia-schema-example-recommended)

When adding or editing descriptions in the OAD, be sure to follow the style guide.

Event Timeline

KineticPelagic subscribed.

As part of my Clinic Duty rotation, I add a project tag and move this task to "To Estimate" because the task is clear enough to be sized and valuable in our current hypothesis. Our own MediaWiki REST API OAD ought to be a role model!

Thanks for making immediately clear the dependency on the other tasks that should happen first.

KBach updated the task description. (Show Details)
KBach renamed this task from Add examples to the MediaWiki REST API OAD to Fix description and example issues for page, revision, search, and file paths in the MediaWiki REST API OAD.Jun 9 2026, 9:26 AM
KBach updated the task description. (Show Details)
KBach moved this task from To Estimate to Radar (other teams work) on the MW-Interfaces-Team board.
TBurmeister changed the task status from Open to In Progress.Mon, Jun 22, 6:42 PM

None of the paths listed in the task description have linter errors for operation descriptions (wikimedia-operation-description)
nor for parameter descriptions (wikimedia-paths-parameter-description-customized), so I checked those boxes as done.

Change #1305743 had a related patch set uploaded (by Triciaburmeister; author: Triciaburmeister):

[mediawiki/core@master] Rest: Add OAD descriptions

https://gerrit.wikimedia.org/r/1305743

Change #1305743 merged by jenkins-bot:

[mediawiki/core@master] Rest: Add OAD descriptions

https://gerrit.wikimedia.org/r/1305743

Change #1307234 had a related patch set uploaded (by Triciaburmeister; author: Triciaburmeister):

[mediawiki/core@master] Rest: Add response and parameter examples for several /v1/revision, search, page paths.

https://gerrit.wikimedia.org/r/1307234

Change #1308171 had a related patch set uploaded (by Triciaburmeister; author: Triciaburmeister):

[mediawiki/core@master] Rest: Add response and parameter examples for several /v1/revision, search, page paths.

https://gerrit.wikimedia.org/r/1308171

Change #1307234 abandoned by Triciaburmeister:

[mediawiki/core@master] Rest: Add response and parameter examples for several /v1/revision, search, page paths.

Reason:

Replaced by https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1308171

https://gerrit.wikimedia.org/r/1307234

Change #1311067 had a related patch set uploaded (by Triciaburmeister; author: Triciaburmeister):

[mediawiki/core@master] REST: Add response examples for /v1/file/../thumbnails

https://gerrit.wikimedia.org/r/1311067

Change #1311103 had a related patch set uploaded (by Triciaburmeister; author: Triciaburmeister):

[mediawiki/core@master] REST: Add parameter examples for OAD

https://gerrit.wikimedia.org/r/1311103