Spage has uploaded a new change for review.

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

Change subject: Note pageterms query behavior if no wbptterms
......................................................................

Note pageterms query behavior if no wbptterms

Based on behavior and a comment in lib/includes/store/TermIndex.php, I
added "If not specified, all types are returned."

It would be nice to document the entire set of valid page terms.
Presumably some other API lets you query them.

Bug: 94948
Change-Id: Ifa7ba3abea713b8f39e574d572c8e0f292202973
---
M client/i18n/en.json
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/client/i18n/en.json b/client/i18n/en.json
index 5b222e6..2dc2fb3 100644
--- a/client/i18n/en.json
+++ b/client/i18n/en.json
@@ -14,7 +14,7 @@
        "apihelp-query+pageterms-description": "Get terms associated with a 
page via an associated data item.",
        "apihelp-query+pageterms-example-simple": "Get all terms associated 
with the page 'London', in the user language.",
        "apihelp-query+pageterms-example-label-en": "Get labels and aliases 
associated with the page 'London', in English.",
-       "apihelp-query+pageterms-param-terms": "The kinds of terms to get, e.g. 
'label', 'description', or 'alias'.",
+       "apihelp-query+pageterms-param-terms": "The types of terms to get, e.g. 
'label', 'description', or 'alias'. If not specified, all types are returned.",
        "apihelp-query+wikibase-description": "Get information about the 
associated Wikibase repository.",
        "apihelp-query+wikibase-example": "Get URL path and other information 
for the Wikibase repository.",
        "apihelp-query+wikibase-param-prop": "Which properties to 
get:\n;<kbd>url</kbd>: Base URL, script path and article path.",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifa7ba3abea713b8f39e574d572c8e0f292202973
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Spage <sp...@wikimedia.org>

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

Reply via email to