Addshore has uploaded a new change for review.

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


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(-)


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

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: newchange
Gerrit-Change-Id: I4acf6c356256d3350ba493429e00700e8a4071f2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Addshore <addshorew...@gmail.com>

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

Reply via email to