Page MenuHomePhabricator

Consider splitting rest- messages to a separate file
Open, Needs TriagePublic



I see that messages for a rest API are being added to the core i18n/en.json file.

They look very technical and probably useful only to developers of tools and gadgets, similarly to Apihelp. If it's certain that there will be fewer than a dozen of them, then it's OK to just leave it as it is. However, if their number is going to grow, they should be split to a separate i18n file as early as possible, as it is done with Apihelp, Installer, and Exif.

The patch itself will be trivial, but it's better to understand whether it's needed at all.

Event Timeline

Amire80 created this task.Sep 18 2019, 9:05 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 18 2019, 9:05 AM

Change 542007 had a related patch set uploaded (by Amire80; owner: Amire80):
[mediawiki/core@master] Split rest messages from the main en.json

Change 542012 had a related patch set uploaded (by Amire80; owner: Amire80):
[translatewiki@master] Add MediaWiki Rest API

The number of these messages is likely to grow, perhaps significantly. Splitting them seems like a good idea.