Okapi Okapi

/api/rest_v1/media/math/* → endpoint removal

Wikipedia API

Deprecated, no date

Per-wiki Math endpoints under /api/rest_v1/media/math/* are deprecated without a shutdown date. Calls directed to these per-wiki paths will eventually fail as the provider phases them out.


Calls it hits

  • /api/rest_v1/media/math/*

What to use instead of these calls

Use the Math endpoints on wikimedia.org, or render math with MathML/MathJax.

In Wikipedia API's words

Mark per-wiki Math endpoints as deprecated. Math endpoints hosted through wikimedia.org instead of per-wiki paths are the preferred path.

Wikipedia API, Announcement

Facts

API
Wikipedia API en.wikipedia.org
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Wikipedia API's own pages

Questions

When does this change take effect?

Wikipedia API deprecated /api/rest_v1/media/math/* without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Wikipedia API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Wikipedia API 1

  1. No date GET /w/api.phpEndpoint removal Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub