This is the first microtask for T302098, Rewrite the Wikidata Infobox on Commons in Lua. The aim is to load a value from Wikidata, and demonstrate your knowledge of Lua.
- Register a Wikimedia account if you don't already have one. You can do so at https://www.wikidata.org/w/index.php?title=Special:CreateAccount
- Create a subpage of https://commons.wikimedia.org/wiki/Module:Sandbox with your username - for example, https://commons.wikimedia.org/wiki/Module:Sandbox/Mike_Peel
- Import the WikidataIB module from https://commons.wikimedia.org/wiki/Module:WikidataIB
- Use WikidataIB to print out the https://www.wikidata.org/wiki/Property:P18 (image) value from https://www.wikidata.org/wiki/Q1513315 (South Pole Telescope), and save the script.
Once you are happy, send me a message on Zulip (to Mike_Peel) with a link to your code. If you have any questions, please contact me at on Zulip, or ask below. You might find these pages useful:
- https://commons.wikimedia.org/wiki/Module:WikidataIB - includes documentation about what the different functions do
- https://www.mediawiki.org/wiki/Lua - descriptions of how Lua is implemented on MediaWiki
- https://commons.wikimedia.org/wiki/Module:Wikidata_Infobox/sandbox - part of the current code of the infobox, demonstrates how to import WikidataIB