Last modified: 2014-02-19 18:03:22 UTC
The AssertEdit extension (deployed on wikidata and other wmf wikis) adds the assert param to the api edit modules to help ensure bots do not edit logged out and other such stuff. Wikibase api modules, however, do not recognize the assert param. AssertEdit uses the APIEditBeforeSave hook in ApiEditPage. It also uses APIGetParamDescription and APIGetAllowedParams which are in ApiBase.
*** Bug 53147 has been marked as a duplicate of this bug. ***
The current implementation at https://gerrit.wikimedia.org/r/#/c/90263/ would address this bug.
Change 90263 had a related patch set uploaded by Legoktm: Merge AssertEdit extension into core https://gerrit.wikimedia.org/r/90263
Change 90263 merged by jenkins-bot: Merge AssertEdit extension into core https://gerrit.wikimedia.org/r/90263
So this is fixed too, I guess.
Adam says it is not fixed yet.
Reopened as although this is merged in core the wikibase api modules still appear not to use it
https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q441536&format=jsonfm&assert=bot works for me...
Ah! it just doesn't show up in the module documentation! Of course as its now available for ALLLLL of the modules :>