POST media/math/check/{type}

unknown:wikipedia-rest-api

Summary: Check and normalize a TeX formula.
Operation ID:
Auth: unknown
Description

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. **NOTE**: the use of this endpoint is *strongly discouraged*. Instead, use the identical endpoint of the (canonical) Math API on the `wikimedia.org` domain. Stability: [deprecated](https://www.mediawiki.org/wiki/API_versioning#Deprecated).

Parameters (1)

type (string, path, required)

The input type of the given formula; can be tex or inline-tex

Constraints: {'enum': ['tex', 'inline-tex', 'chem']}

No probe data for this endpoint yet.