The currently used formatversion=1 might be removed in the future. Migrating to formatversion=2 brings benefits, such as utf8 mode by default, that will help to decrease bandwidth usage.
More information:
The currently used formatversion=1 might be removed in the future. Migrating to formatversion=2 brings benefits, such as utf8 mode by default, that will help to decrease bandwidth usage.
More information:
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Use formatversion=2 in ext.translate.messagetable | mediawiki/extensions/Translate | master | +3 -2 |
Change 487817 had a related patch set uploaded (by Eugene233; owner: Eugene233):
[mediawiki/extensions/Translate@master] Use formatversion=2 in ext.translate.messagetable
Adding this to the Language board, since I reviewed / tested an existing patch, and tweaked it a little bit.
Did some general testing. Here are the things that I tested,
As an admin on Special:Translate,
As a normal translator on Special:Translate,
Also tested the Special:TranslationStash page, ensured that the users are able to save the translations properly.
@Jpita - We'd like you to double check this change to ensure that everything is working as expected. The Mediawiki API can return JSON data in different formats which you can read about here.
The submitted patch changes the expected JSON format to version 2 when fetching translations to be displayed on Special:Translate and Special:TranslationStash page.
We can use the MLEB instance for this testing - https://language-translate.wmflabs.org/index.php/Main_Page. I'll send you the credentials over PM.
We expect this change to be deployed there on 19 Dec, 2019. I'll move this task to Needs QA at that time.
Claiming this, since I'm now working on this. @Eugene233, thanks for your initial patch.
Change 487817 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Use formatversion=2 in ext.translate.messagetable
Marking this as resolved since this has been deployed on Mediawiki since the 7th of January, and has not received any bug reported.