Extension:UnlinkedWikibase

The UnlinkedWikiata extension provides access to Wikibase entities from wikis that are not linked to a Wikibase site. For example, a private wiki with a page about Goats could retrieve metadata from the Wikidata item and display it in an infobox.

The primary data-retrieval system is a Lua method called, which returns the entire entity object (as is seen at d:Special:EntityData/Q2934.json for the goat example). This is similar to Wikibase's own, which works for pages that do have sitelinks to a entity.

The other function provided by UnlinkedWikibase is a means to associate a wiki page with a Wikibase entity. This is done with the parser function, which stores the given ID as a page property for the page on which it's used. This ID can then be retrieved in the context of other pages via the method, which returns a Title object for the relevant page.

Reference

 * Parser function
 * Set a page's Wikibase entity ID.


 * Lua method
 * Get entity data from Wikidbase.


 * Lua method
 * Get a Title object for a page that uses.