Description
The only active capability with a dependency on RESTBase is the Mathoid service. The Content Transform team is currently in the process of updating Wikimedia projects to rely on client side rendering of mathematical formulas instead of the Mathoid service. As that work wraps up, we need to deprecate the public facing endpoints. Because these endpoints see very little adoption outside of WMF owned features, we expect there to be a relatively short deprecation cycle; however, the sooner we can announce and mark the existing endpoints as deprecated, the sooner they can be officially sunset.
Conditions of acceptance
- All math endpoints are marked as deprecated (see Meta for sandbox documentation)
- Marked as deprecated within the spec
- Display as deprecated within the sandbox
- Deprecation header is returned on responses ("Deprecation: @<UNIX timestamp>" like we do in Handler.php )
- The Math API module is marked as deprecated (see implementation details note) (external modules do not have a top-level deprecation flag)
- Coordinate with Halley to match the "from" date with community facing comms and when the patch will actually ride the train; we may want to pad it by a few days or up to a week.
Implementation details
- Pretty sure we have the ability to mark both the endpoints themselves and the module as a whole as deprecated, but please confirm and update ticket accordingly
- Information about the header itself can be found here: https://phabricator.wikimedia.org/T405038
- We may have a follow up ticket to add the notion of "sunsetting" to the response header, so that we may more proactively communicate when the service will be turned off in addition to when the deprecation cycle began.