r74771 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74770‎ | r74771 | r74772 >
Date:09:14, 14 October 2010
Author:nikerabbit
Status:ok (Comments)
Tags:
Comment:
Add sgs code for Samogitian and deprecate bat-smg.

See also bug 25522.
Modified paths:
  • /trunk/phase3/languages/Names.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Names.php
@@ -29,7 +29,7 @@
3030 'az' => 'Azərbaycanca', # Azerbaijani
3131 'ba' => 'Башҡорт', # Bashkir
3232 'bar' => 'Boarisch', # Bavarian (Austro-Bavarian and South Tyrolean)
33 - 'bat-smg' => 'Žemaitėška', # Samogitian
 33+ 'bat-smg' => 'Žemaitėška', # Samogitian (deprecated code, 'sgs' in ISO 693-3 since 2010-06-30 )
3434 'bcc' => 'بلوچی مکرانی', # Southern Balochi
3535 'bcl' => 'Bikol Central', # Bikol: Central Bicolano language
3636 'be' => 'Беларуская', # Belarusian normative
@@ -288,6 +288,7 @@
289289 'se' => 'Sámegiella', # Northern Sami
290290 'sei' => 'Cmique Itom', # Seri
291291 'sg' => 'Sängö', # Sango/Sangho
 292+ 'sgs' => 'Žemaitėška', # Samogitian
292293 'sh' => 'Srpskohrvatski / Српскохрватски', # Serbocroatian
293294 'shi' => 'Tašlḥiyt', # Tachelhit
294295 'si' => 'සිංහල', # Sinhalese

Follow-up revisions

RevisionCommit summaryAuthorDate
r75240Add 'bat-smg' to $wgDummyLanguageCodes - addresses MaxSem's comment 10095 on ...siebrand14:41, 23 October 2010
r75241Rename MessagesBat_smg.php to MessagesSgs.php. Follow-up to r74771. Needs a f...siebrand14:47, 23 October 2010
r75244Follow-up to r74771, 75241: complete rename for bat-smg to sgs.siebrand14:56, 23 October 2010

Comments

#Comment by Siebrand (talk | contribs)   09:32, 14 October 2010

bat-smg should get fallback to 'sgs' everywhere.

#Comment by Nikerabbit (talk | contribs)   09:34, 14 October 2010

Need to have sgs messages first.

#Comment by Siebrand (talk | contribs)   09:37, 14 October 2010

Rename MessagesBat_smg.php to MessagesSgs.php and change the language code 'bat-smg' to 'sgs' in all extensions (possibly also Installer.i18n.php in core), add a new MessagesBat_smg.php with $fallback = 'sgs';.

#Comment by MaxSem (talk | contribs)   15:06, 14 October 2010

bat-smg should also be added to $wgDummyLanguageCodes after migration is complete.

#Comment by Siebrand (talk | contribs)   14:41, 23 October 2010

Done in r75240.

Status & tagging log