Wikimedia

Lua Task 7 - Wikibase client

Before you work on this task, you should have completed the task "Lua Task 6 - MediaWiki libraries".

This task requires some independent learning and is considerably more difficult.

Wikidata is a database containing over 70 million items of structured data as of December 2019. The Wikibase client extension provides extra functionality for Scribunto, the MediaWiki implementation of Lua. The extension allows you to fetch information from Wikidata, which may be of several different types.

Read through and then carry out the instructions at: https://en.wikipedia.org/wiki/User:RexxS/GCI-2019-Task07

For the first part, you should have added two new functions to your module sandbox and six test cases to your user sandbox. For the second part, you should have added a new function to your module sandbox and two test cases to your user sandbox.

Please make sure that you save each page every time you are instructed to.

When you have finished to your satisfaction, please leave a comment here when you submit your work, and give the urls of your module sandbox and your user sandbox, something like:

https://en.wikipedia.org/wiki/Module:Sandbox/RexxS

https://en.wikipedia.org/wiki/User:RexxS/sandbox

Task tags

  • lua
  • scribunto
  • wikibase client
  • wikidata

Students who completed this task

Harry Noob, RishabhL, BrandonXLF, Juan, Dan1730, Shreeniket987, roguxivlo, n3rsti, Shreyansh Suresh Saboo, dwu1011, ๖ۣۜƊαrthǤαndαlf, Melvintong1516

Task type

  • code Code
close

2019