jenkins-bot has submitted this change and it was merged.

Change subject: Fix example in api wbsetclaim
......................................................................


Fix example in api wbsetclaim

Change-Id: I4acf6c356256d3350ba493429e00700e8a4071f2
---
M repo/includes/api/SetClaim.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/repo/includes/api/SetClaim.php b/repo/includes/api/SetClaim.php
index 06512b3..867b278 100644
--- a/repo/includes/api/SetClaim.php
+++ b/repo/includes/api/SetClaim.php
@@ -232,7 +232,7 @@
         */
        protected function getExamples() {
                return array(
-                       
'api.php?action=setclaim&claim={"id":"q2$5627445f-43cb-ed6d-3adb-760e85bd17ee","type":"claim","mainsnak":{"snaktype":"value","property":"p1","datavalue":{"value":"City","type":"string"}}}'
+                       
'api.php?action=wbsetclaim&claim={"id":"q2$5627445f-43cb-ed6d-3adb-760e85bd17ee","type":"claim","mainsnak":{"snaktype":"value","property":"p1","datavalue":{"value":"City","type":"string"}}}'
                        => 'Set the claim with the given id to property p1 with 
a string value of "City',
                );
        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4acf6c356256d3350ba493429e00700e8a4071f2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to