Ladsgroup has uploaded a new change for review. https://gerrit.wikimedia.org/r/323679
Change subject: Use P31 instead of P2 in one of docs ...................................................................... Use P31 instead of P2 in one of docs Per user request in: https://www.wikidata.org/wiki/Topic:Tfe99wqxdpjbp0x4 Change-Id: Ie2e5e818c5e2f50a9fb76e93961517fc5ebbeee7 --- M repo/i18n/en.json M repo/includes/Api/GetClaims.php 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/79/323679/1 diff --git a/repo/i18n/en.json b/repo/i18n/en.json index 892919d..eac67a6 100644 --- a/repo/i18n/en.json +++ b/repo/i18n/en.json @@ -448,7 +448,7 @@ "apihelp-wbgetclaims-param-rank": "Optional filter to return only the claims that have the specified rank", "apihelp-wbgetclaims-param-props": "Some parts of the claim are returned optionally. This parameter controls which ones are returned.", "apihelp-wbgetclaims-example-1": "Get claims for item with ID Q42", - "apihelp-wbgetclaims-example-2": "Get claims for item with ID Q42 and property with ID P2", + "apihelp-wbgetclaims-example-2": "Get claims for item with ID Q42 and property with ID P31", "apihelp-wbgetclaims-example-3": "Get claims for item with ID Q42 that are ranked as normal", "apihelp-wbgetclaims-example-4": "Get claim with GUID of Q42$D8404CDA-25E4-4334-AF13-A3290BCD9C0F", "apihelp-wbgetentities-description": "Gets the data for multiple Wikibase entities.", diff --git a/repo/includes/Api/GetClaims.php b/repo/includes/Api/GetClaims.php index dfe42de..85ff89b 100644 --- a/repo/includes/Api/GetClaims.php +++ b/repo/includes/Api/GetClaims.php @@ -213,7 +213,7 @@ return array( "action=wbgetclaims&entity=Q42" => "apihelp-wbgetclaims-example-1", - "action=wbgetclaims&entity=Q42&property=P2" => + "action=wbgetclaims&entity=Q42&property=P31" => "apihelp-wbgetclaims-example-2", "action=wbgetclaims&entity=Q42&rank=normal" => "apihelp-wbgetclaims-example-3", -- To view, visit https://gerrit.wikimedia.org/r/323679 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie2e5e818c5e2f50a9fb76e93961517fc5ebbeee7 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Ladsgroup <ladsgr...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits