Thanks Thomas, a good news and a great job! I already started applying it to it.source; e.g. https://it.wikisource.org/wiki/Orlando_furioso
Cheers! *Ruthven* on Wikipedia
On Thu, 12 Dec 2019 at 22:29, Thomas Pellissier Tanon < thomas@pellissier-tanon.fr> wrote:
Hi all,
The "Wikisource" MediaWiki extension has just been enabled on all Wikisources. For now, this extension contains only the piece of code allowing to fill the "In other projects" navigation section based on the Wikidata "edition of" (P629) property. In the future this extension aims to store code customizing MediaWiki shared by all Wikisources.
This is the first step to solve the "Inter-language link support via Wikidata" wish that arrived 4th in the Community Wishlist survey. [2].
A working example is available on the English Wikisource [3]. You could see that on this page there is a "Wikipedia" link in the "In other projects" sidebar. This link does not come from the wikitext code of the page, and not from the Wikidata item connected to the page (Q15854278) either but from the Wikidata item Q936276 that is the "work" entity of "The Wind in the Willows". The property "edition of" (P629) connects the "edition" Wikidata item (connected to the Wikisource page) to the "work" item. It is this property that the Wikisource extension is using to find a link to Wikipedia to display in the "In other projects" sidebar if the Wikidata item connected to the page (here the "edition" item) does not provide a link to Wikipedia.
This, of course, works not only for Wikipedia but for all the sister projects displayed in the sidebar (Commons, Wikiquote...).
Cheers,
Thomas
[1] https://phabricator.wikimedia.org/T180303 [2] https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2020/Wikisource/In... [3] https://en.wikisource.org/wiki/The_Wind_in_the_Willows_(1913)
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l