[MediaWiki-commits] [Gerrit] mediawiki...WikiLexicalData[master]: Add apihelp messages to pass unit tests

2017-08-10 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/37 )

Change subject: Add apihelp messages to pass unit tests
..


Add apihelp messages to pass unit tests

Bug: T155044
Change-Id: Iec650303a264af2d5fb6767ebe81f0bd2a003607
---
M i18n/omegawiki/en.json
M i18n/omegawiki/qqq.json
M includes/api/owAddAnnotation.php
M includes/api/owAddDefinition.php
M includes/api/owAddSyntrans.php
M includes/api/owAddToCollection.php
M includes/api/owDefine.php
M includes/api/owExpress.php
M includes/api/owSyntrans.php
9 files changed, 106 insertions(+), 127 deletions(-)

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



diff --git a/i18n/omegawiki/en.json b/i18n/omegawiki/en.json
index 0749409..a8893cc 100644
--- a/i18n/omegawiki/en.json
+++ b/i18n/omegawiki/en.json
@@ -2,5 +2,57 @@
"@metadata": {
"authors": []
},
-   "apiow-desc": "OmegaWiki's WikiLexicalData extension of the MediaWiki 
api.php"
+   "apiow-desc": "OmegaWiki's WikiLexicalData extension of the MediaWiki 
api.php",
+   "apihelp-ow_add_annotation-summary": "Add annotations to Omegawiki.",
+   "apihelp-ow_add_annotation-param-type": "Annotation type.",
+   "apihelp-ow_add_annotation-param-e": "Expression to process.",
+   "apihelp-ow_add_annotation-param-lang": "Expression language to 
process.",
+   "apihelp-ow_add_annotation-param-dm": "Defined meaning id to process.",
+   "apihelp-ow_add_annotation-param-attribute": "Attribute to process.",
+   "apihelp-ow_add_annotation-param-attrib_lang": "Attribute language to 
process.",
+   "apihelp-ow_add_annotation-param-text": "Text to process.",
+   "apihelp-ow_add_annotation-param-option": "Option to process.",
+   "apihelp-ow_add_annotation-param-option_lang": "Option to process.",
+   "apihelp-ow_add_annotation-param-relation": "Relation to process.",
+   "apihelp-ow_add_annotation-param-relation_lang": "Relation to process.",
+   "apihelp-ow_add_annotation-param-dm_relation": "Defined meaning id 
relation to process for defined meaning relations or a defined meaning id for 
syntrans relations between two syntrans with different defined meaning ids.",
+   "apihelp-ow_add_annotation-param-wikipage": "The wikipage to process. 
(tsv format, using wiki page).",
+   "apihelp-ow_add_annotation-param-test": "Test mode. No changes are 
made.",
+   "apihelp-ow_add_definition-summary": "Add definitions to Omegawiki.",
+   "apihelp-ow_add_definition-param-d": "The definition to be added.",
+   "apihelp-ow_add_definition-param-dm": "The defined meaning id where the 
definition will be added.",
+   "apihelp-ow_add_definition-param-lang": "The language id of the new 
definition.",
+   "apihelp-ow_add_definition-param-file": "The file to process (csv 
format).",
+   "apihelp-ow_add_definition-param-wikipage": "The wikipage to process 
(csv format, using wiki page).",
+   "apihelp-ow_add_definition-param-test": "Test mode. No changes are 
made.",
+   "apihelp-ow_add_syntrans-summary": "Add expressions, 
synonyms/translations to Omegawiki.",
+   "apihelp-ow_add_syntrans-param-e": "The expression to be added.",
+   "apihelp-ow_add_syntrans-param-dm": "The defined meaning id where the 
expression will be added.",
+   "apihelp-ow_add_syntrans-param-lang": "The language id of the 
expression.",
+   "apihelp-ow_add_syntrans-param-im": "The identical meaning value.",
+   "apihelp-ow_add_syntrans-param-file": "The file to process (csv 
format).",
+   "apihelp-ow_add_syntrans-param-wikipage": "The wikipage to process (csv 
format, using wiki page).",
+   "apihelp-ow_add_syntrans-param-test": "Test mode. No changes are made.",
+   "apihelp-ow_add_syntrans-param-tid": "Use this Transaction id instead 
of creating a new one.",
+   "apihelp-ow_add_syntrans-param-ver": "Module version.",
+   "apihelp-ow_add_to_collection-summary": "Add annotations to Omegawiki.",
+   "apihelp-ow_add_to_collection-param-dm": "Defined meaning id to add to 
the Collection.",
+   "apihelp-ow_add_to_collection-param-coll_mid": "Defined meaning Id of 
the Collection.",
+   "apihelp-ow_add_to_collection-param-int_memb_id": "Internal member id, 
a further string that can be used to identify the member inside the 
collection.",
+   "apihelp-ow_add_to_collection-param-wikipage": "The wikipage to process 
(csv format, using wiki page).",
+   "apihelp-ow_add_to_collection-param-test": "Test mode. No changes are 
made.",
+   "apihelp-ow_define-summary": "Get the definition of a defined meaning.",
+   "apihelp-ow_define-param-dm": "The defined meaning id to be defined.",
+   "apihelp-ow_define-param-lang": "The language id to be defined.",
+   "apihelp-ow_define-param-e": "The expression to be defined.",
+   

[MediaWiki-commits] [Gerrit] mediawiki...WikiLexicalData[master]: Add apihelp messages to pass unit tests

2017-08-03 Thread Umherirrender (Code Review)
Umherirrender has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/37 )

Change subject: Add apihelp messages to pass unit tests
..

Add apihelp messages to pass unit tests

Bug: T155044
Change-Id: Iec650303a264af2d5fb6767ebe81f0bd2a003607
---
M i18n/omegawiki/en.json
M i18n/omegawiki/qqq.json
M includes/api/owAddAnnotation.php
M includes/api/owAddDefinition.php
M includes/api/owAddSyntrans.php
M includes/api/owAddToCollection.php
M includes/api/owDefine.php
M includes/api/owExpress.php
M includes/api/owSyntrans.php
9 files changed, 106 insertions(+), 127 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiLexicalData 
refs/changes/00/37/1

diff --git a/i18n/omegawiki/en.json b/i18n/omegawiki/en.json
index 0749409..a8893cc 100644
--- a/i18n/omegawiki/en.json
+++ b/i18n/omegawiki/en.json
@@ -2,5 +2,57 @@
"@metadata": {
"authors": []
},
-   "apiow-desc": "OmegaWiki's WikiLexicalData extension of the MediaWiki 
api.php"
+   "apiow-desc": "OmegaWiki's WikiLexicalData extension of the MediaWiki 
api.php",
+   "apihelp-ow_add_annotation-summary": "Add annotations to Omegawiki.",
+   "apihelp-ow_add_annotation-param-type": "Annotation type.",
+   "apihelp-ow_add_annotation-param-e": "Expression to process.",
+   "apihelp-ow_add_annotation-param-lang": "Expression language to 
process.",
+   "apihelp-ow_add_annotation-param-dm": "Defined meaning id to process.",
+   "apihelp-ow_add_annotation-param-attribute": "Attribute to process.",
+   "apihelp-ow_add_annotation-param-attrib_lang": "Attribute language to 
process.",
+   "apihelp-ow_add_annotation-param-text": "Text to process.",
+   "apihelp-ow_add_annotation-param-option": "Option to process.",
+   "apihelp-ow_add_annotation-param-option_lang": "Option to process.",
+   "apihelp-ow_add_annotation-param-relation": "Relation to process.",
+   "apihelp-ow_add_annotation-param-relation_lang": "Relation to process.",
+   "apihelp-ow_add_annotation-param-dm_relation": "Defined meaning id 
relation to process for defined meaning relations or a defined meaning id for 
syntrans relations between two syntrans with different defined meaning ids.",
+   "apihelp-ow_add_annotation-param-wikipage": "The wikipage to process. 
(tsv format, using wiki page).",
+   "apihelp-ow_add_annotation-param-test": "Test mode. No changes are 
made.",
+   "apihelp-ow_add_definition-summary": "Add definitions to Omegawiki.",
+   "apihelp-ow_add_definition-param-d": "The definition to be added.",
+   "apihelp-ow_add_definition-param-dm": "The defined meaning id where the 
definition will be added.",
+   "apihelp-ow_add_definition-param-lang": "The language id of the new 
definition.",
+   "apihelp-ow_add_definition-param-file": "The file to process (csv 
format).",
+   "apihelp-ow_add_definition-param-wikipage": "The wikipage to process 
(csv format, using wiki page).",
+   "apihelp-ow_add_definition-param-test": "Test mode. No changes are 
made.",
+   "apihelp-ow_add_syntrans-summary": "Add expressions, 
synonyms/translations to Omegawiki.",
+   "apihelp-ow_add_syntrans-param-e": "The expression to be added.",
+   "apihelp-ow_add_syntrans-param-dm": "The defined meaning id where the 
expression will be added.",
+   "apihelp-ow_add_syntrans-param-lang": "The language id of the 
expression.",
+   "apihelp-ow_add_syntrans-param-im": "The identical meaning value.",
+   "apihelp-ow_add_syntrans-param-file": "The file to process (csv 
format).",
+   "apihelp-ow_add_syntrans-param-wikipage": "The wikipage to process (csv 
format, using wiki page).",
+   "apihelp-ow_add_syntrans-param-test": "Test mode. No changes are made.",
+   "apihelp-ow_add_syntrans-param-tid": "Use this Transaction id instead 
of creating a new one.",
+   "apihelp-ow_add_syntrans-param-ver": "Module version.",
+   "apihelp-ow_add_to_collection-summary": "Add annotations to Omegawiki.",
+   "apihelp-ow_add_to_collection-param-dm": "Defined meaning id to add to 
the Collection.",
+   "apihelp-ow_add_to_collection-param-coll_mid": "Defined meaning Id of 
the Collection.",
+   "apihelp-ow_add_to_collection-param-int_memb_id": "Internal member id, 
a further string that can be used to identify the member inside the 
collection.",
+   "apihelp-ow_add_to_collection-param-wikipage": "The wikipage to process 
(csv format, using wiki page).",
+   "apihelp-ow_add_to_collection-param-test": "Test mode. No changes are 
made.",
+   "apihelp-ow_define-summary": "Get the definition of a defined meaning.",
+   "apihelp-ow_define-param-dm": "The defined meaning id to be defined.",
+   "apihelp-ow_define-param-lang": "The language id to be defined.",
+   "apihelp-ow_define-param-e": "The expression to be defined.",