Following the resolution of T122942: RFC: Support language variants in the REST API, this task is about tracking the implementation of language variant support in the REST API.
Implementation will start once T43716 on the Parsoid side is resolved.
Following the resolution of T122942: RFC: Support language variants in the REST API, this task is about tracking the implementation of language variant support in the REST API.
Implementation will start once T43716 on the Parsoid side is resolved.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Create skeleton of language variant support in Parsoid API | mediawiki/services/parsoid | master | +44 -0 |
Change 396538 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/services/parsoid@master] Create skeleton of language variant support in Parsoid API
Change 396538 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Create skeleton of language variant support in Parsoid API
Mentioned in SAL (#wikimedia-operations) [2018-01-08T21:30:49Z] <arlolra> Updated Parsoid to e133312 (T182349, T183893, T159985)
All the skeleton code for this has been completed in Parsoid: we honor the Accept-Language header and dispatch to an appropriate language variant converter.
Those converters don't do anything yet (still working on that!) but there shouldn't be anything blocking the RESTBase portion of this task -- which is just to pass along the Accept-Language header from the REST request, and probably to cache the results in a different place/way.
RESTBase API now supports language variants, but the actual converters are enabled only on a subset of wikis. However, nothing else needs to be done on the API side.