jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/402410 )

Change subject: Add apihelp-mlm-tasks-summary message
......................................................................


Add apihelp-mlm-tasks-summary message

Also change name of other messages to include the whole module name,
which is the default message name
This should fix the unit tests

Change-Id: Ic0b178fb4698057dda32213a5b1d9a97e0929f47
---
M i18n/en.json
M i18n/qqq.json
M src/Api/Tasks.php
3 files changed, 8 insertions(+), 9 deletions(-)

Approvals:
  Raimond Spekking: Looks good to me, but someone else must approve
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/i18n/en.json b/i18n/en.json
index 26546bd..99c5fc6 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -23,7 +23,8 @@
        "mlm-input-label-delete": "Delete",
        "mlm-input-label-cancel": "Cancel",
        "mlm-contentaction-label": "Manage translations",
-       "apihelp-mlm-param-task": "The task that should be executed",
-       "apihelp-mlm-param-taskdata": "JSON string encoded object with 
arbitrary data for the task",
-       "apihelp-mlm-param-format": "The format of the result"
+       "apihelp-mlm-tasks-summary": "Manage translation tasks",
+       "apihelp-mlm-tasks-param-task": "The task that should be executed",
+       "apihelp-mlm-tasks-param-taskData": "JSON string encoded object with 
arbitrary data for the task",
+       "apihelp-mlm-tasks-param-format": "The format of the result"
 }
\ No newline at end of file
diff --git a/i18n/qqq.json b/i18n/qqq.json
index a46b41c..737e2b2 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -26,7 +26,8 @@
        "mlm-input-label-delete": "Label for a delete 
button\n{{Identical|Delete}}",
        "mlm-input-label-cancel": "Label for a delete 
button\n{{Identical|Cancel}}",
        "mlm-contentaction-label": "Label of a content action link that opens 
Special:MultiLanguageManager",
-       "apihelp-mlm-param-task": "{{doc-apihelp-param|mlm-tasks|task}}",
-       "apihelp-mlm-param-taskdata": 
"{{doc-apihelp-param|mlm-tasks|taskdata}}",
-       "apihelp-mlm-param-format": "{{doc-apihelp-param|mlm-tasks|format}}"
+       "apihelp-mlm-tasks-summary": "{{doc-apihelp-summary|mlm-tasks}}",
+       "apihelp-mlm-tasks-param-task": "{{doc-apihelp-param|mlm-tasks|task}}",
+       "apihelp-mlm-tasks-param-taskData": 
"{{doc-apihelp-param|mlm-tasks|taskdata}}",
+       "apihelp-mlm-tasks-param-format": 
"{{doc-apihelp-param|mlm-tasks|format}}"
 }
diff --git a/src/Api/Tasks.php b/src/Api/Tasks.php
index b2a9c27..767b923 100644
--- a/src/Api/Tasks.php
+++ b/src/Api/Tasks.php
@@ -277,18 +277,15 @@
                        'task' => array(
                                \ApiBase::PARAM_REQUIRED => true,
                                \ApiBase::PARAM_TYPE => 'string',
-                               \ApiBase::PARAM_HELP_MSG => 
'apihelp-mlm-param-task',
                        ),
                        'taskData' => array(
                                \ApiBase::PARAM_TYPE => 'string',
                                \ApiBase::PARAM_REQUIRED => false,
                                \ApiBase::PARAM_DFLT => '{}',
-                               \ApiBase::PARAM_HELP_MSG => 
'apihelp-mlm-param-taskdata',
                        ),
                        'format' => array(
                                \ApiBase::PARAM_DFLT => 'json',
                                \ApiBase::PARAM_TYPE => [ 'json', 'jsonfm' ],
-                               \ApiBase::PARAM_HELP_MSG => 
'apihelp-mlm-param-format',
                        )
                ];
        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic0b178fb4698057dda32213a5b1d9a97e0929f47
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MultiLanguageManager
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <umherirrender_de...@web.de>
Gerrit-Reviewer: Legoktm <lego...@member.fsf.org>
Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com>
Gerrit-Reviewer: Pwirth <wi...@hallowelt.biz>
Gerrit-Reviewer: Raimond Spekking <raimond.spekk...@gmail.com>
Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz>
Gerrit-Reviewer: Siebrand <siebr...@kitano.nl>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to