Hi!
Sorry for forgetting the links. Here they are: [1] https://gerrit.wikimedia.org/r/#/c/114979/ (the main change in Wikibase code) [2] https://fr.wikisource.org/wiki/Appel_du_18_juin (a sample page in French Wikisource) [3] https://bugzilla.wikimedia.org/enter_bug.cgi?product=Wikimedia (Open a bug in the right product).
@NemoBis I've written a beginning of documentation here: https://www.mediawiki.org/wiki/Extension:Wikibase_Client#Other_projects_side...
I've only made the "minimal working product" yet. I hope that I'll be able (if it's requested and the Wikidata development team agrees) to allow to set/override links from wiki text (maybe using the same parser functions as for language links) and to link to non-Wikidata project.
1) Linking to non-Wikidata project is not supported natively by the extension yet but it's of course possible to keep JavaScript based hacks in order to add them to the sidebar as it have been done before (it's what is done in French Wikisource). 2) It's not supported and I believe it won't supported at all because it breaks the basic Wikidata assumption "only one page per wiki per item".
Thanks a lot for the feedbacks,
Thomas
Le 11 avr. 2014 à 21:49, Luca Martinelli martinelliluca@gmail.com a écrit :
2014-04-11 19:24 GMT+02:00 Thomas Tanon thomaspt@hotmail.fr:
Hi!
I've implemented in Wikibase, with the help of the Wikidata development team, a piece of code that allows to display an "Other project" sidebar managed by Wikidata as it have been done for interlanguage links [1]. This means that a link to Commons for example can automatically be added to a Wikipedia article's sidebar based on the data in Wikidata.
The goal is to replace the JavaScript based hacks used by a lot of wikis like nl.wikipedia that build such kind of sidebars from templates inserted in wiki text.
This new feature have been successfully deployed last Monday to French Wikisource. See, for example, this page [2] (the sidebar section is called "Autres projets" in French). I've also written a JavaScript hack that adds a link to Wikidata in this sidebar (it isn't supported yet by the extension) and that allows to override links using the old template in order to ensure a smooth migration.
If you want to see this feature installed in your wiki, please start a discussion on your local project chat and, when a consensus is reached, open a bug in bugzilla [3] (component: "Site requests") linking to the discussion and giving the ordered list of the sites to display (this can be one or several of "wikipedia", "commons", "wikiquote", "wikivoyage", "wikisource").
Feel free to ask if you have any questions.
That's great news, Tpt! I'm only afraid you missed the links... :D
Anyway, great job upon trust. :D
-- Luca "Sannita" Martinelli http://it.wikipedia.org/wiki/Utente:Sannita
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l