Hoo man has uploaded a new change for review.

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

Change subject: Add missing API documentation
......................................................................

Add missing API documentation

Most messages are just copies of existing ones.
Fixes core's ApiDocumentationTest.

Change-Id: Ibd2c5d915637b3513f9125bcf2e6fb5fbaca3111
---
M repo/i18n/en.json
M repo/i18n/qqq.json
2 files changed, 26 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/23/260223/1

diff --git a/repo/i18n/en.json b/repo/i18n/en.json
index 1d9bb0a..affc429 100644
--- a/repo/i18n/en.json
+++ b/repo/i18n/en.json
@@ -381,10 +381,13 @@
        "apihelp-wbavailablebadges-description": "Queries available badge 
items.",
        "apihelp-wbavailablebadges-example-1": "Queries all available badge 
items",
        "apihelp-wbcreateclaim-description": "Creates Wikibase claims.",
+       "apihelp-wbcreateclaim-param-baserevid": "The numeric identifier for 
the revision to base the modification on.\nThis is used for detecting conflicts 
during save.",
+       "apihelp-wbcreateclaim-param-bot": "Mark this edit as bot. This URL 
flag will only be respected if the user belongs to the group \"bot\".",
        "apihelp-wbcreateclaim-param-entity": "ID of the entity you are adding 
the claim to",
        "apihelp-wbcreateclaim-param-property": "ID of the snaks property",
        "apihelp-wbcreateclaim-param-value": "Value of the snak when creating a 
claim with a snak that has a value",
        "apihelp-wbcreateclaim-param-snaktype": "The type of the snak",
+       "apihelp-wbcreateclaim-param-summary": "Summary for the edit.\nWill be 
prepended by an automatically generated comment. The length limit of the 
autocomment together with the summary is 260 characters. Be aware that 
everything above that limit will be cut off.",
        "apihelp-wbcreateclaim-example-1": "Creates a claim for item Q42 of 
property P9001 with a novalue snak.",
        "apihelp-wbcreateclaim-example-2": "Creates a claim for item Q42 of 
property P9002 with string value \"itsastring\"",
        "apihelp-wbcreateclaim-example-3": "Creates a claim for item Q42 of 
property P9003 with a value of item Q1",
@@ -476,20 +479,30 @@
        "apihelp-wbparsevalue-description": "Parses values using a 
ValueParser.",
        "apihelp-wbparsevalue-param-parser": "ID of the ValueParser to use. 
<span class=\"apihelp-deprecated\">Deprecated</span>. Use the datatype 
parameter instead.",
        "apihelp-wbparsevalue-param-datatype": "Datatype of the value to parse. 
Determines the parser to use.",
+       "apihelp-wbparsevalue-param-validate": "Whether to additionally verify 
the data passed in.",
        "apihelp-wbparsevalue-param-values": "The values to parse",
        "apihelp-wbparsevalue-param-options": "The options the parser should 
use. Provided as a JSON object.",
        "apihelp-wbparsevalue-example-1": "Parse a plain string into a 
StringValue object.",
        "apihelp-wbparsevalue-example-2": "Parse 1994-02-08 to a TimeValue 
object with a precision of 9 (year).",
        "apihelp-wbparsevalue-example-3": "Parse 1994-02-08 to a TimeValue 
object with a precision of 14 (second) with validation enabled, resulting in a 
validation failure.",
        "apihelp-wbremoveclaims-description": "Removes Wikibase claims.",
+       "apihelp-wbremoveclaims-param-baserevid": "The numeric identifier for 
the revision to base the modification on.\nThis is used for detecting conflicts 
during save.",
+       "apihelp-wbremoveclaims-param-bot": "Mark this edit as bot. This URL 
flag will only be respected if the user belongs to the group \"bot\".",
        "apihelp-wbremoveclaims-param-claim": "One GUID or several 
(pipe-separated) GUIDs identifying the claims to be removed.\nAll claims must 
belong to the same entity.",
+       "apihelp-wbremoveclaims-param-summary": "Summary for the edit.\nWill be 
prepended by an automatically generated comment. The length limit of the 
autocomment together with the summary is 260 characters. Be aware that 
everything above that limit will be cut off.",
        "apihelp-wbremoveclaims-example-1": "Remove claim with GUID of 
\"Q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0N\"",
        "apihelp-wbremovequalifiers-description": "Removes a qualifier from a 
claim.",
+       "apihelp-wbremovequalifiers-param-baserevid": "The numeric identifier 
for the revision to base the modification on.\nThis is used for detecting 
conflicts during save.",
+       "apihelp-wbremovequalifiers-param-bot": "Mark this edit as bot. This 
URL flag will only be respected if the user belongs to the group \"bot\".",
        "apihelp-wbremovequalifiers-param-claim": "A GUID identifying the claim 
from which to remove qualifiers",
        "apihelp-wbremovequalifiers-param-qualifiers": "Snak hashes of the 
qualifiers to remove",
+       "apihelp-wbremovequalifiers-param-summary": "Summary for the 
edit.\nWill be prepended by an automatically generated comment. The length 
limit of the autocomment together with the summary is 260 characters. Be aware 
that everything above that limit will be cut off.",
        "apihelp-wbremovequalifiers-example-1": "Remove qualifier with hash 
\"1eb8793c002b1d9820c833d234a1b54c8e94187e\" from claim with GUID of 
\"Q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F\"",
        "apihelp-wbremovereferences-description": "Removes one or more 
references of the same statement.",
+       "apihelp-wbremovereferences-param-baserevid": "The numeric identifier 
for the revision to base the modification on.\nThis is used for detecting 
conflicts during save.",
+       "apihelp-wbremovereferences-param-bot": "Mark this edit as bot. This 
URL flag will only be respected if the user belongs to the group \"bot\".",
        "apihelp-wbremovereferences-param-statement": "A GUID identifying the 
statement for which a reference is being set",
+       "apihelp-wbremovereferences-param-summary": "Summary for the 
edit.\nWill be prepended by an automatically generated comment. The length 
limit of the autocomment together with the summary is 260 characters. Be aware 
that everything above that limit will be cut off.",
        "apihelp-wbremovereferences-param-references": "The hashes of the 
references that should be removed",
        "apihelp-wbremovereferences-example-1": "Remove reference with hash 
\"455481eeac76e6a8af71a6b493c073d54788e7e9\" from claim with GUID of 
\"Q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F\"",
        "apihelp-wbsearchentities-description": "Searches for entities using 
labels and aliases.\nReturns a label and description for the entity in the user 
language if possible.\nReturns details of the matched term.\nThe matched term 
text is also present in the aliases key if different from the display label.",
diff --git a/repo/i18n/qqq.json b/repo/i18n/qqq.json
index a6ebc52..cd13ed3 100644
--- a/repo/i18n/qqq.json
+++ b/repo/i18n/qqq.json
@@ -410,10 +410,13 @@
        "apihelp-wbavailablebadges-description": 
"{{doc-apihelp-description|wbavailablebadges}}",
        "apihelp-wbavailablebadges-example-1": 
"{{doc-apihelp-example|wbavailablebadges}}",
        "apihelp-wbcreateclaim-description": 
"{{doc-apihelp-description|wbcreateclaim}}",
+       "apihelp-wbcreateclaim-param-baserevid": 
"{{doc-apihelp-param|wbcreateclaim|baserevid}}",
+       "apihelp-wbcreateclaim-param-bot": 
"{{doc-apihelp-param|wbcreateclaim|bot}}",
        "apihelp-wbcreateclaim-param-entity": 
"{{doc-apihelp-param|wbcreateclaim|entity}}",
        "apihelp-wbcreateclaim-param-property": "To learn what \"snaks\" are, 
see [[wikidata:Wikidata:Glossary#Snak|Wikidata 
glossary]].\n----\n{{doc-apihelp-param|wbcreateclaim|property}}",
        "apihelp-wbcreateclaim-param-value": 
"{{doc-apihelp-param|wbcreateclaim|value}}",
        "apihelp-wbcreateclaim-param-snaktype": 
"{{doc-apihelp-param|wbcreateclaim|snaktype}}",
+       "apihelp-wbcreateclaim-param-summary": 
"{{doc-apihelp-param|wbcreateclaim|summary}}",
        "apihelp-wbcreateclaim-example-1": 
"{{doc-apihelp-example|wbcreateclaim}}",
        "apihelp-wbcreateclaim-example-2": 
"{{doc-apihelp-example|wbcreateclaim}}",
        "apihelp-wbcreateclaim-example-3": 
"{{doc-apihelp-example|wbcreateclaim}}",
@@ -505,20 +508,30 @@
        "apihelp-wbparsevalue-description": 
"{{doc-apihelp-description|wbparsevalue}}",
        "apihelp-wbparsevalue-param-parser": 
"{{doc-apihelp-param|wbparsevalue|parser}}",
        "apihelp-wbparsevalue-param-datatype": 
"{{doc-apihelp-param|wbparsevalue|datatype}}",
+       "apihelp-wbparsevalue-param-validate": 
"{{doc-apihelp-param|wbparsevalue|validate}}",
        "apihelp-wbparsevalue-param-values": 
"{{doc-apihelp-param|wbparsevalue|values}}",
        "apihelp-wbparsevalue-param-options": 
"{{doc-apihelp-param|wbparsevalue|options}}",
        "apihelp-wbparsevalue-example-1": 
"{{doc-apihelp-example|wbparsevalue}}",
        "apihelp-wbparsevalue-example-2": 
"{{doc-apihelp-example|wbparsevalue}}",
        "apihelp-wbparsevalue-example-3": 
"{{doc-apihelp-example|wbparsevalue}}",
        "apihelp-wbremoveclaims-description": 
"{{doc-apihelp-description|wbremoveclaims}}",
+       "apihelp-wbremoveclaims-param-baserevid": 
"{{doc-apihelp-param|wbremoveclaims|baserevid}}",
+       "apihelp-wbremoveclaims-param-bot": 
"{{doc-apihelp-param|wbremoveclaims|bot}}",
        "apihelp-wbremoveclaims-param-claim": 
"{{doc-apihelp-param|wbremoveclaims|claim}}",
+       "apihelp-wbremoveclaims-param-summary": 
"{{doc-apihelp-param|wbremoveclaims|summary}}",
        "apihelp-wbremoveclaims-example-1": 
"{{doc-apihelp-example|wbremoveclaim}}",
        "apihelp-wbremovequalifiers-description": 
"{{doc-apihelp-description|wbremovequalifiers}}",
+       "apihelp-wbremovequalifiers-param-baserevid": 
"{{doc-apihelp-param|wbremovequalifiers|baserevid}}",
+       "apihelp-wbremovequalifiers-param-bot": 
"{{doc-apihelp-param|wbremovequalifiers|bot}}",
        "apihelp-wbremovequalifiers-param-claim": 
"{{doc-apihelp-param|wbremovequalifiers|claim}}",
        "apihelp-wbremovequalifiers-param-qualifiers": 
"{{doc-apihelp-param|wbremovequalifiers|qualifiers}}",
+       "apihelp-wbremovequalifiers-param-summary": 
"{{doc-apihelp-param|wbremovequalifiers|summary}}",
        "apihelp-wbremovequalifiers-example-1": 
"{{doc-apihelp-example|wbremovequalifiers}}",
        "apihelp-wbremovereferences-description": 
"{{doc-apihelp-description|wbremovereferences}}",
+       "apihelp-wbremovereferences-param-baserevid": 
"{{doc-apihelp-param|wbremovereferences|baserevid}}",
+       "apihelp-wbremovereferences-param-bot": 
"{{doc-apihelp-param|wbremovereferences|bot}}",
        "apihelp-wbremovereferences-param-statement": 
"{{doc-apihelp-param|wbremovereferences|statement}}",
+       "apihelp-wbremovereferences-param-summary": 
"{{doc-apihelp-param|wbremovereferences|summary}}",
        "apihelp-wbremovereferences-param-references": 
"{{doc-apihelp-param|wbremovereferences|references}}",
        "apihelp-wbremovereferences-example-1": 
"{{doc-apihelp-example|wbremovereferences}}",
        "apihelp-wbsearchentities-description": 
"{{doc-apihelp-description|wbsearchentities}}",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibd2c5d915637b3513f9125bcf2e6fb5fbaca3111
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>

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

Reply via email to