[MediaWiki-commits] [Gerrit] mediawiki...LifeWeb[master]: Add missing API i18n messages

2016-12-26 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/329222 )

Change subject: Add missing API i18n messages
..


Add missing API i18n messages

* Migrate from old API message formats

Bug: T154092
Change-Id: I66006e707d40c63f91877ab6e47c846ec35f615a
---
M ApiLifeWeb.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 20 insertions(+), 19 deletions(-)

Approvals:
  Reedy: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/ApiLifeWeb.php b/ApiLifeWeb.php
index bbab415..7b2dc13 100644
--- a/ApiLifeWeb.php
+++ b/ApiLifeWeb.php
@@ -79,10 +79,6 @@
 return $result;
 }
 
-public function getDescription() {
-return 'Data downlink for the LifeBase.';
-}
-
 public function getAllowedParams() {
 return array(
 'what' => array (
@@ -111,19 +107,12 @@
 );
 }
 
-public function getParamDescription() {
-return array(
-'what' => 'Which data list to retrieve.'
-);
-}
-
 public function getExamples() {
 return array(
 'api.php?action=query=LifeWeb=taxonData=json'
-=> 'Taxon list',
+=> 'apihelp-query+LifeWeb-example-1',
 'api.php?action=query=LifeWeb=jsonfm=question'
-=> 'Question list, pretty-printed'
+=> 'apihelp-query+LifeWeb-example-2'
 );
 }
-
-}
\ No newline at end of file
+}
diff --git a/i18n/en.json b/i18n/en.json
index 0188997..a24efd5 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -1,9 +1,15 @@
 {
"@metadata": {
"authors": [
-   "Simon A. Eugster"
+   "Simon A. Eugster",
+   "Justin Du"
]
},
"lifeweb": "LifeWeb",
-   "lifeweb-desc": "Identification key generator and editor"
-}
\ No newline at end of file
+   "lifeweb-desc": "Identification key generator and editor",
+   "apihelp-query+LifeWeb-description": "Data downlink for the LifeBase.",
+   "apihelp-query+LifeWeb-param-what": "Which data list to retrieve.",
+   "apihelp-query+LifeWeb-param-clearCache": "Whether or not the cache 
will be cleared during data retrieval",
+   "apihelp-query+LifeWeb-example-1": "Taxon list",
+   "apihelp-query+LifeWeb-example-2": "Question list, pretty-printed"
+}
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 7d6eb26..0c056d3 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -2,9 +2,15 @@
"@metadata": {
"authors": [
"Shirayuki",
-   "Umherirrender"
+   "Umherirrender",
+   "Justin Du"
]
},
"lifeweb": "{{doc-special|LifeWeb}}",
-   "lifeweb-desc": "{{desc|name=Life 
Web|url=https://www.mediawiki.org/wiki/Extension:LifeWeb}};
+   "lifeweb-desc": "{{desc|name=Life 
Web|url=https://www.mediawiki.org/wiki/Extension:LifeWeb}};,
+   "apihelp-query+LifeWeb-description": 
"{{doc-apihelp-description|query+Lifeweb}}",
+   "apihelp-query+LifeWeb-param-what": 
"{{doc-apihelp-param|query+Lifeweb|what}}",
+   "apihelp-query+LifeWeb-param-clearCache": 
"{{doc-apihelp-param|query+Lifeweb|clearCache}}",
+   "apihelp-query+LifeWeb-example-1": 
"{{doc-apihelp-example|query+Lifeweb}}",
+   "apihelp-query+LifeWeb-example-2": 
"{{doc-apihelp-example|query+Lifeweb}}"
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I66006e707d40c63f91877ab6e47c846ec35f615a
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/LifeWeb
Gerrit-Branch: master
Gerrit-Owner: MtDu 
Gerrit-Reviewer: Florianschmidtwelzow 
Gerrit-Reviewer: MtDu 
Gerrit-Reviewer: Reedy 
Gerrit-Reviewer: Siebrand 
Gerrit-Reviewer: jenkins-bot <>

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


[MediaWiki-commits] [Gerrit] mediawiki...LifeWeb[master]: Add missing API i18n messages

2016-12-26 Thread MtDu (Code Review)
MtDu has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/329222 )

Change subject: Add missing API i18n messages
..

Add missing API i18n messages

* Migrate from old API message formats

Bug: T154092
Change-Id: I66006e707d40c63f91877ab6e47c846ec35f615a
---
M ApiLifeWeb.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 17 insertions(+), 18 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LifeWeb 
refs/changes/22/329222/1

diff --git a/ApiLifeWeb.php b/ApiLifeWeb.php
index bbab415..7b2dc13 100644
--- a/ApiLifeWeb.php
+++ b/ApiLifeWeb.php
@@ -79,10 +79,6 @@
 return $result;
 }
 
-public function getDescription() {
-return 'Data downlink for the LifeBase.';
-}
-
 public function getAllowedParams() {
 return array(
 'what' => array (
@@ -111,19 +107,12 @@
 );
 }
 
-public function getParamDescription() {
-return array(
-'what' => 'Which data list to retrieve.'
-);
-}
-
 public function getExamples() {
 return array(
 'api.php?action=query=LifeWeb=taxonData=json'
-=> 'Taxon list',
+=> 'apihelp-query+LifeWeb-example-1',
 'api.php?action=query=LifeWeb=jsonfm=question'
-=> 'Question list, pretty-printed'
+=> 'apihelp-query+LifeWeb-example-2'
 );
 }
-
-}
\ No newline at end of file
+}
diff --git a/i18n/en.json b/i18n/en.json
index 0188997..7ca4b11 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -1,9 +1,14 @@
 {
"@metadata": {
"authors": [
-   "Simon A. Eugster"
+   "Simon A. Eugster",
+   "Justin Du"
]
},
"lifeweb": "LifeWeb",
-   "lifeweb-desc": "Identification key generator and editor"
+   "lifeweb-desc": "Identification key generator and editor",
+   "apihelp-query+LifeWeb-description": "Data downlink for the LifeBase.",
+   "apihelp-query+LifeWeb-param-what": "Which data list to retrieve.",
+   "apihelp-query+LifeWeb-example-1": "Taxon list",
+   "apihelp-query+LifeWeb-example-2": "Question list, pretty-printed"
 }
\ No newline at end of file
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 7d6eb26..dec8a7a 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -2,9 +2,14 @@
"@metadata": {
"authors": [
"Shirayuki",
-   "Umherirrender"
+   "Umherirrender",
+   "Justin Du"
]
},
"lifeweb": "{{doc-special|LifeWeb}}",
-   "lifeweb-desc": "{{desc|name=Life 
Web|url=https://www.mediawiki.org/wiki/Extension:LifeWeb}};
+   "lifeweb-desc": "{{desc|name=Life 
Web|url=https://www.mediawiki.org/wiki/Extension:LifeWeb}};,
+   "apihelp-query+LifeWeb-description": 
"{{doc-apihelp-description|query+Lifeweb}}",
+   "apihelp-query+LifeWeb-param-what": 
"{{doc-apihelp-param|query+Lifeweb|what}}",
+   "apihelp-query+LifeWeb-example-1": 
"{{doc-apihelp-example|query+Lifeweb}}",
+   "apihelp-query+LifeWeb-example-2": 
"{{doc-apihelp-example|query+Lifeweb}}"
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I66006e707d40c63f91877ab6e47c846ec35f615a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LifeWeb
Gerrit-Branch: master
Gerrit-Owner: MtDu 

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