Wikidata/Notes/API: Difference between revisions
Content deleted Content added
No edit summary |
m Reverted changes by Soteriaspace (talk) to last version by Lydia Pintscher (WMDE) Tag: Rollback |
||
(42 intermediate revisions by 10 users not shown) | |||
Line 1:
The Wikidata API will simply be an extension of the existing [[mediawikiwiki:API:Main page|MediaWiki API]].
{{Message | type = attention | The API is documented on [[mw:Extension:Wikibase/API]] and in <code>api.php</code>. Actual URL will be depending on setup.}}
* <code>searchByName(language, fragment, *hints)</code> (used for the Wikidata Suggest widget)▼
== Todo ==
=== Wikibase ===
▲
; <code>setItem(data)</code> : This is a continuous work in progress, and the current version will probably not be the final solution.
=== Wikibase Client ===
; <code>changeSiteLinks( ( id XOR title ), changes )</code> : Gets called by the site links UI of the local wiki and contains a list of additions and removals which should be propagated to the repo. This is thus a proxy API module. Should look into immediately updating the local link list to not have to wait for the repo to run the job that will push the change back. In fact, we might want the repo to skip updating this client wiki altogether.
== See also ==
* [[Wikidata/Development/Phase 2 API]]
[[Category:Wikidata]]
|