Paladox has uploaded a new change for review.

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

Change subject: Add translatible name for LocallisationUpdate
......................................................................

Add translatible name for LocallisationUpdate

Change-Id: I399f588c9ee8937512c19595c472f3a4b593a9da
---
M LocalisationUpdate.php
M extension.json
M i18n/en.json
M i18n/qqq.json
4 files changed, 19 insertions(+), 15 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LocalisationUpdate 
refs/changes/50/229450/1

diff --git a/LocalisationUpdate.php b/LocalisationUpdate.php
index e324203..050b112 100644
--- a/LocalisationUpdate.php
+++ b/LocalisationUpdate.php
@@ -14,6 +14,16 @@
  * Setup for pre-1.25 wikis. Make sure this is kept in sync with extension.json
  */
 
+$GLOBALS['wgExtensionCredits']['other'][] = array(
+       'path' => __FILE__,
+       'name' => 'LocalisationUpdate',
+       'namemsg' => 'extensionname-localisationupdate',
+       'author' => array( 'Tom Maaswinkel', 'Niklas Laxström', 'Roan Kattouw' 
),
+       'version' => '1.3.0',
+       'url' => 'https://www.mediawiki.org/wiki/Extension:LocalisationUpdate',
+       'descriptionmsg' => 'localisationupdate-desc',
+);
+
 /**
  * Directory to store serialized cache files in. Defaults to $wgCacheDirectory.
  * It's OK to share this directory among wikis as long as the wiki you run
@@ -53,15 +63,6 @@
 #      'skin' =>
 #              
'file:///resources/projects/mediawiki-skins/skins/%NAME%/%PATH%',
 #);
-
-$GLOBALS['wgExtensionCredits']['other'][] = array(
-       'path' => __FILE__,
-       'name' => 'LocalisationUpdate',
-       'author' => array( 'Tom Maaswinkel', 'Niklas Laxström', 'Roan Kattouw' 
),
-       'version' => '1.3.0',
-       'url' => 'https://www.mediawiki.org/wiki/Extension:LocalisationUpdate',
-       'descriptionmsg' => 'localisationupdate-desc',
-);
 
 $GLOBALS['wgHooks']['UnitTestsList'][] = 'LocalisationUpdate::setupUnitTests';
 $GLOBALS['wgHooks']['LocalisationCacheRecache'][] = 
'LocalisationUpdate::onRecache';
diff --git a/extension.json b/extension.json
index 0ab5d06..5949d7b 100644
--- a/extension.json
+++ b/extension.json
@@ -1,6 +1,7 @@
 {
        "@note": "This file must be kept in sync with LocalisationUpdate.php",
        "name": "LocalisationUpdate",
+       "namemsg": "extensionname-localisationupdate",
        "version": "1.3.0",
        "author": [
                "Tom Maaswinkel",
diff --git a/i18n/en.json b/i18n/en.json
index 813a9e7..7de1c37 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -1,8 +1,9 @@
 {
-    "@metadata": {
-        "authors": [
-            "Tom Maaswinkel"
-        ]
-    },
-    "localisationupdate-desc": "Keeps the localised messages as up to date as 
possible"
+       "@metadata": {
+               "authors": [
+                       "Tom Maaswinkel"
+               ]
+       },
+       "extensionname-localisationupdate": "LocalisationUpdate",
+       "localisationupdate-desc": "Keeps the localised messages as up to date 
as possible"
 }
\ No newline at end of file
diff --git a/i18n/qqq.json b/i18n/qqq.json
index c08af07..d86479d 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -7,5 +7,6 @@
                        "Umherirrender"
                ]
        },
+       "extensionname-localisationupdate": "{{optional}}",
        "localisationupdate-desc": "{{desc|name=Localisation 
Update|url=https://www.mediawiki.org/wiki/Extension:LocalisationUpdate}}";
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I399f588c9ee8937512c19595c472f3a4b593a9da
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LocalisationUpdate
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to