Hoo man has uploaded a new change for review. https://gerrit.wikimedia.org/r/191859
Change subject: Update lua.wiki docs with latest changes from MediaWiki.org ...................................................................... Update lua.wiki docs with latest changes from MediaWiki.org Change-Id: I3f46c989496ed9572123231cbd0bce55cf3ff0ee --- M docs/lua.wiki 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/59/191859/1 diff --git a/docs/lua.wiki b/docs/lua.wiki index 3a37a7a..41efd4f 100644 --- a/docs/lua.wiki +++ b/docs/lua.wiki @@ -1,4 +1,4 @@ -Wikibase Client provides a Lua Scribunto interface that, if activated, can be used to access data from the Wikibase repository. +Wikibase Client provides a Lua [[mw:Scribunto|Scribunto]] interface that, if activated, can be used to access data from the Wikibase repository. == mw.wikibase == In <code>mw.wikibase</code> general Lua functionality for working with Wikibase data can be found. @@ -10,7 +10,7 @@ An example call might look like this: <source lang="lua"> -mw.wikibase.getEntityObject( 'Q42' ) -- Returns a [[#mw.wikibase.entity|mw.wikibase.entity]] table for the Item with the id Q42 +mw.wikibase.getEntityObject( 'Q42' ) -- Returns a mw.wikibase.entity table for the Item with the id Q42 </source> === mw.wikibase.label === @@ -79,7 +79,7 @@ === mw.wikibase.entity:getSitelink === <code>entity:getSitelink()</code><br> <code>entity:getSitelink( globalSiteId )</code><br> -Get the title the entity is linked with in the current Wiki. If <code>globalSiteId</code> is given, the title the item is linked with in the given Wiki will be returned. +Get the title with which the entity is linked in the current Wiki. If <code>globalSiteId</code> is given, the title the item is linked with in the given Wiki will be returned. An example call might look like this: <source lang="lua"> -- To view, visit https://gerrit.wikimedia.org/r/191859 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3f46c989496ed9572123231cbd0bce55cf3ff0ee Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Hoo man <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
