Wikidata - Wikisource Integration Modules

Overview and Background
The following documentation helps you to deploy various MediaWiki modules and configure a bot, that will help your Wikisource to retrieve a book's metadata from existing data on Wikidata and display it on your Wikisource. For example, this index page on Punjabi Wikisource, is displaying the title, author, translator, publisher, address, and year, information from its respective Wikidata item. The following the pages and their respective functions;
 * Modules
 * MediaWiki:Proofreadpage index data config: Data configuration presentation for index pages.
 * MediaWiki:Proofreadpage index template: Interface text for index pages.
 * Module:Index data: To retrieve data from Wikidata.
 * Module:Index template: To display the retrieved data on the index page form.
 * Bot
 * [LINK TO THE BOT]: While the above modules retrieve data from Wikidata and display it on the index pages, they work only after the respective Wikidata QIDs are added to the index page form, which has to be done manually. The bot helps to automate the process of adding Wikidata QIDs to the index pages, to an extent. With the help of the index page, the bot traces the main pages of books and then their linked Wikidata items.

A significant part of the modules was written by Tpt from French Wikisource, and further improvements made by Bodhisattwa from Bengali Wikisource, and User:Tshrinivasan as part of the WikiCite Project Grant.