Page MenuHomePhabricator

Clean up Math API OpenAPI specs and remove data-parsoid route specs
Open, MediumPublic1 Estimated Story Points

Description

Description

We recently completed work to break out the Math API into its own spec, hosted through wikimedia.org instead of the standard per-wiki path. Although the module was renamed correctly, there are additional areas that require clean up for clarity within the Sandbox experience.

Conditions of acceptance

  • Update 'Math' header --> it currently reads "Wikimedia REST API" which is in conflict with the actual Wikimedia REST API. It should instead read "Math API".
  • Update initial description for the Math API for accuracy --> Halley will help review and suggest changes.
  • Update stability policy to read as "deprecated" for the deprecated per-wiki Math endpoints --> https://www.mediawiki.org/wiki/API_versioning#Deprecated
  • Remove /page/data-parsoid endpoint from the per-wiki specs. --> See: https://phabricator.wikimedia.org/T393557

Event Timeline

aaron triaged this task as Medium priority.Tue, Dec 2, 5:14 PM
aaron set the point value for this task to 1.

Change #1214142 had a related patch set uploaded (by Aaron Schulz; author: Aaron Schulz):

[operations/mediawiki-config@master] Update Math API title and project-specific /math/ endpoint stability policy

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

aaron renamed this task from Clean up Math API OpenAPI specs to Clean up Math API OpenAPI specs and remove data-parsoid route specs.Tue, Dec 2, 9:02 PM

Change #1214143 had a related patch set uploaded (by Aaron Schulz; author: Aaron Schulz):

[operations/mediawiki-config@master] Remove /data-parsoid/ endpoint per T393557

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

Change #1214142 merged by jenkins-bot:

[operations/mediawiki-config@master] Update Math API title and project-specific /math/ endpoint stability policy

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

Mentioned in SAL (#wikimedia-operations) [2025-12-03T21:45:10Z] <aaron@deploy2002> Started scap sync-world: Backport for [[gerrit:1214142|Update Math API title and project-specific /math/ endpoint stability policy (T411517)]]

Mentioned in SAL (#wikimedia-operations) [2025-12-03T21:47:26Z] <aaron@deploy2002> aaron: Backport for [[gerrit:1214142|Update Math API title and project-specific /math/ endpoint stability policy (T411517)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-12-03T21:53:35Z] <aaron@deploy2002> Finished scap sync-world: Backport for [[gerrit:1214142|Update Math API title and project-specific /math/ endpoint stability policy (T411517)]] (duration: 08m 25s)

Change #1214143 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove /data-parsoid/ endpoint from specs per T393557

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

Mentioned in SAL (#wikimedia-operations) [2025-12-04T21:14:03Z] <jforrester@deploy2002> Started scap sync-world: Backport for [[gerrit:1215251|[tokwiki] Allow sysops to grant/remove confirmed status (T411683)]], [[gerrit:1214659|OATHAuth: Remove wmgOATHAuthDisableRight (T399664)]], [[gerrit:1214143|Remove /data-parsoid/ endpoint from specs per T393557 (T411517)]], [[gerrit:1215263|Shorten 'close' cookie wait period for enwiki banners (T411800)]]

Mentioned in SAL (#wikimedia-operations) [2025-12-04T21:18:17Z] <jforrester@deploy2002> mstyles, aaron, superpes, jforrester, ejegg: Backport for [[gerrit:1215251|[tokwiki] Allow sysops to grant/remove confirmed status (T411683)]], [[gerrit:1214659|OATHAuth: Remove wmgOATHAuthDisableRight (T399664)]], [[gerrit:1214143|Remove /data-parsoid/ endpoint from specs per T393557 (T411517)]], [[gerrit:1215263|Shorten 'close' cookie wait period for enwiki banners (T411800)]] synced to the t

Mentioned in SAL (#wikimedia-operations) [2025-12-04T21:24:07Z] <jforrester@deploy2002> Finished scap sync-world: Backport for [[gerrit:1215251|[tokwiki] Allow sysops to grant/remove confirmed status (T411683)]], [[gerrit:1214659|OATHAuth: Remove wmgOATHAuthDisableRight (T399664)]], [[gerrit:1214143|Remove /data-parsoid/ endpoint from specs per T393557 (T411517)]], [[gerrit:1215263|Shorten 'close' cookie wait period for enwiki banners (T411800)]] (duration: 10m 04s)

aaron updated the task description. (Show Details)

"This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats." should say something more specific, like "This API provides verification and cacheable rendering of math formulas, in machine-readable formats."