LivingShadow has uploaded a new change for review.
https://gerrit.wikimedia.org/r/71175
Change subject: Documentation for RepoApi.createClaim extended
......................................................................
Documentation for RepoApi.createClaim extended
Change-Id: If970e0145ac0e26c6b4d0a0233d9c79b6b9eea9d
---
M lib/resources/wikibase.RepoApi/wikibase.RepoApi.js
1 file changed, 5 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/75/71175/1
diff --git a/lib/resources/wikibase.RepoApi/wikibase.RepoApi.js
b/lib/resources/wikibase.RepoApi/wikibase.RepoApi.js
index 461c862..6aebcc9 100644
--- a/lib/resources/wikibase.RepoApi/wikibase.RepoApi.js
+++ b/lib/resources/wikibase.RepoApi/wikibase.RepoApi.js
@@ -218,9 +218,12 @@
*
* @param {String} entityId Entity id
* @param {Number} baseRevId revision id
- * @param {string} snaktype The type of the snak
- * @param {string} property Id of the snaks property
+ * @param {string} snaktype The type of the snak.
+ * Currently supported: value|novalue|somevalue
+ * @param {string} property Id of the snak's property
* @param {object} value The value to set the datavalue of the the main
snak of the claim to
+ * @see api.php?action=help&modules=wbcreateclaim (List of allowed values)
+ * @see
https://www.mediawiki.org/wiki/Extension:Wikibase/API#wbcreateclaim Usage
examples
* @return {jQuery.Promise}
*/
createClaim: function( entityId, baseRevId, snakType, property, value )
{
--
To view, visit https://gerrit.wikimedia.org/r/71175
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If970e0145ac0e26c6b4d0a0233d9c79b6b9eea9d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: LivingShadow <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits