JavaScript client for the Wikibase Repository web API.
- Added optional propertyId parameter to RepoApi::formatValue
- Added optional propertyId parameter to FormatValueCaller::formatValue
- Added compatibility with DataValues JavaScript 0.8.0.
- Removed compatibility for Internet Explorer 8 by removing the json polyfill.
- Use mw.ForeignApi for remote API endpoints (T50389)
- Pass
uselang
parameter towbsearchentities
api call
- Made installable with DataValues JavaScript 0.7.0.
- Updated code documentation to be able to generate documentation using JSDuck.
wikibase.api.RepoApi
QUnit tests have been rewritten to not execute actual API requests anymore.- Added
wikibase.api.RepoApi
QUnit tests for functions not yet tested. - Added type checks to
wikibase.api.RepoApi
functions to actually reflect parameter documentation in the code instead of relying on the back-end handling.
- An empty
Entity
may be created by omitting thedata
parameter onwikibase.api.RepoApi.createEntity()
again. wikibase.api.RepoApi
functions explicitly submit default parameters if not set otherwise.
- Bump the data-values/javascript dependency to 0.6.0 so that it matches Wikibase.git's. No changes needed.
Initial release.