Announcing when languages pass the translation threshold to be exported to MediaWiki

From Support
Jump to: navigation, search

I think it would be nice to include the news that a language has started to be exported to MediaWiki on Project:News, perhaps even with a site message of congratulation. I think that would be an encouragement to all of us.

21:04, 12 August 2013

Yes, you're right. This stopped when the threshold was made automatic, I think. Is there a way to trace this? Looking at new localisation files added to core is not very easy, the easiest thing might be looking at Translating:Group statistics...

04:35, 13 August 2013

I was pointed to this git command, which you can use if you have a local MediaWiki checkout:

git log --format="format:%ci" --name-only --diff-filter=A languages/messages/

Current result:

2013-06-03 12:13:53 +0000

2013-04-29 19:36:36 +0200

2012-11-28 21:30:09 +0000

2012-07-24 01:38:58 +0200

2012-07-01 13:05:28 +0000

2012-05-22 21:36:57 +0200

2012-05-07 21:19:42 +0000

2012-04-10 15:20:26 +0000

2012-04-03 21:11:13 +0000

2012-03-11 23:28:11 +0000

2011-12-25 09:27:07 +0000

2011-12-25 09:24:39 +0000

2011-11-11 12:24:29 +0000

2011-09-13 11:35:04 +0000

2011-09-05 18:14:27 +0000

2011-08-16 21:29:39 +0000

If you want I can keep and update such a plain text output on toolserver, but I don't know how to make it into a feed.

10:17, 5 October 2013

It shouldn't be too hard to have the output of this command be piped to a wikipage. You can then use watchlist to track change. Is there even per-page atom feed?

06:40, 6 October 2013

Yes there is. That would rely on null edits not being saved though.

20:42, 6 October 2013
Edited by another user.
Last edit: 13:48, 23 November 2013

According to Nike creating a new Messages.php file is a manual step. So in theory, a developer could post a note on the news page when they create the Messages.php file. That would depend on them having the time to do this though.

12:28, 23 November 2013

Update: the report is now available at Translating:MediaWiki/New languages, please watchlist it.

As for manual creation, it's still true about MessagesXx.php, but Nike told me the xx.json files are loaded automatically. So, if I understood correctly, once exported the language is immediately put into use.

20:48, 11 July 2014

Thanks. I have compared the log of new languages added on 24 June 2014 to the list of MessagesXx.php files on git - they are not listed. Is there usually a delay before they are added? If so, do I need to keep returning to the list on git until I see the new languages have been added?

21:56, 13 July 2014

Nike told me the translations in JSON files should be loaded anyway and I was able to select those languages in Special:Preferences, except tzm which was missing from Names.php and has since been fixed.

11:38, 14 July 2014

OK. I will add new languages to the news page as and when they appear in the log. Perhaps I will find out what a .json file is at Wikimania in London!

I have checked the list of messagesXx.php files in MW core against the list of language names and note that the language Aeb (Tunisian Spoken Arabic) also appears to be missing from the list of language names. Could you fix this also?

22:06, 15 July 2014

That's not the same thing, it might be a dummy language file; but I'll check.

As for JSON, Amir wrote a page on which will hopefully be useful even before Wikimania :-), mw:Localisation file format.

22:15, 15 July 2014