Fomafix has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/323683

Change subject: Rename language codes sr-ec and sr-el to sr-cyrl and sr-latn
......................................................................

Rename language codes sr-ec and sr-el to sr-cyrl and sr-latn

sr-ec and sr-el are not conform to BCP 47. https://tools.ietf.org/html/bcp47
BCP 47 explicit mentions sr-Latn and sr-Cyrl as examples.

Bug: T117845
Change-Id: I2746b7986cda454affbc17f467fef233ecd4bf51
Depends-On: I75da0af35a2066e7963e50c56c99daf1e07c55e6
---
M ParserFunctions.i18n.magic.php
R i18n/sr-cyrl.json
R i18n/sr-latn.json
3 files changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ParserFunctions 
refs/changes/83/323683/1

diff --git a/ParserFunctions.i18n.magic.php b/ParserFunctions.i18n.magic.php
index 96ccca4..13965cf 100644
--- a/ParserFunctions.i18n.magic.php
+++ b/ParserFunctions.i18n.magic.php
@@ -595,7 +595,7 @@
 );
 
 /** Serbian (Cyrillic script) (српски (ћирилица)‎) */
-$magicWords['sr-ec'] = array(
+$magicWords['sr-cyrl'] = array(
        'default' => array( 0, '#подразумевано' ),
        'time' => array( 0, 'време' ),
        'pos' => array( 0, 'поз' ),
@@ -755,4 +755,4 @@
        'len' => array( 0, '長度' ),
        'count' => array( 0, '計算' ),
        'urldecode' => array( 0, 'URI解碼' ),
-);
\ No newline at end of file
+);
diff --git a/i18n/sr-ec.json b/i18n/sr-cyrl.json
similarity index 100%
rename from i18n/sr-ec.json
rename to i18n/sr-cyrl.json
diff --git a/i18n/sr-el.json b/i18n/sr-latn.json
similarity index 100%
rename from i18n/sr-el.json
rename to i18n/sr-latn.json

-- 
To view, visit https://gerrit.wikimedia.org/r/323683
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2746b7986cda454affbc17f467fef233ecd4bf51
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ParserFunctions
Gerrit-Branch: master
Gerrit-Owner: Fomafix <foma...@googlemail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to