Wikimedia
  1. Math
Wikimedia
  • Feed content availability
    • Gets availability of featured feed content for the apps by wiki domain.
      GET
  • Math
    • Check and normalize a TeX formula.
      POST
    • Get a previously-stored formula
      GET
    • Get rendered formula in the given format.
      GET
  • Bytes difference data
    • Get the sum of absolute value of text bytes difference between current edit and previous one.
      GET
    • Get the sum of absolute text bytes difference per page.
      GET
    • Get the sum of net text bytes difference between current edit and previous one.
      GET
    • Get the sum of net text bytes difference per page.
      GET
  • Edited pages data
    • Get edited-pages counts for a project.
      GET
    • Get new pages counts for a project.
      GET
    • Get top 100 edited-pages by absolute bytes-difference.
      GET
    • Get top 100 edited-pages by edits count.
      GET
    • Get top 100 edited-pages by net bytes-difference.
      GET
  • Editors data
    • Get editors counts for a project.
      GET
    • Get top 100 editors by absolute bytes-difference.
      GET
    • Get top 100 editors by edits count.
      GET
    • Get top 100 editors by net bytes-difference.
      GET
  • Edits data
    • Get edits counts for a project.
      GET
    • Get edit counts for a page in a project.
      GET
  • Legacy data
    • /metrics/legacy/pagecounts/aggregate/{project}/{access-site}/{granularity}/{start}/{end}
      GET
  • Pageviews data
    • Get pageview counts for a project.
      GET
    • Get pageview counts for a page.
      GET
    • Get pageviews by country and access method.
      GET
    • Get the most viewed articles for a project.
      GET
  • Registered users data
    • Get newly registered users counts for a project.
  • Unique devices data
    • Get unique devices count per project
  • Transform
    • Machine-translate content
    • Machine-translate content
    • Lists the language pairs supported by the back-end
    • Lists the tools available for a language pair
    • Lists the tools and language pairs available for the given tool category
    • Lists the tools and language pairs available for the given tool category
    • Lists the tools and language pairs available for the given tool category
    • Fetch the dictionary meaning of a word
    • Fetch the dictionary meaning of a word
  1. Math

Check and normalize a TeX formula.

POST
/media/math/check/{type}
Math
Checks the supplied TeX formula for correctness and returns the
normalised formula representation as well as information about
identifiers. Available types are tex and inline-tex. The response
contains the x-resource-location header which can be used to retrieve
the render of the checked formula in one of the supported rendering
formats. Just append the value of the header to /media/math/{format}/
and perform a GET request against that URL.
Stability: stable.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://wikimedia.org/api/rest_v1/media/math/check/' \
--data-urlencode 'q='
Response Response Example
200 - Example 1
{}

Request

Path Params
type
string 
required
The input type of the given formula; can be tex or inline-tex
Body Params application/x-www-form-urlencoded
q
string 
required
The formula to check

Responses

🟢200Information about the checked formula
application/json
Body
object {0}
🟠400Invalid type
🔴500Error
Modified at 2023-08-15 06:49:12
Previous
Gets availability of featured feed content for the apps by wiki domain.
Next
Get a previously-stored formula
Built with