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.
Cheers,
Thomas (User:Tpt)
That is very awesome! Thanks, Tpt!
On Fri, Apr 11, 2014 at 10:24 AM, Thomas Tanon thomaspt@hotmail.fr wrote:
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.
Cheers,
Thomas (User:Tpt)
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
Thanks for working on this, it's epic! I really miss the links though... Please update: * https://meta.wikimedia.org/wiki/Requests_for_comment/Interproject_links_inte... ; * documentation of the extension(s) offering this feature; * https://bugzilla.wikimedia.org/show_bug.cgi?id=708 .
I expect the early adopters of template https://www.wikidata.org/wiki/Q5830969 (all French and Italian projects) will jump on this feature immediately, but before opening a discussion I need to know 1) how to link non-Wikidata projects, 2) how to have multiple links to a project, 3) how to customise the labels, for a start.
Nemo
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
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
On Sat, Apr 12, 2014 at 10:53 AM, Thomas Tanon thomaspt@hotmail.fr wrote:
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.
Makes sense to me to handle it in a similar way as we handle interwiki links, yeah.
Cheers Lydia
Thomas Tanon, 12/04/2014 10:53:
[1]https://gerrit.wikimedia.org/r/#/c/114979/ (the main change in Wikibase code)
Thanks. I've linked bug 54374 to bug 708.
@NemoBis I've written a beginning of documentation here:https://www.mediawiki.org/wiki/Extension:Wikibase_Client#Other_projects_side...
Thanks. I've added some more links.
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.
Sure. Thank you very much for just getting it done after so many years of talk. ;-) Now we need to understand how we can help proceed from here.
- 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).
- 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".
Ok, then the question arises if the new code's class names and whatnot are compatible with the established templates, what changes are needed for the two to work together etc. Can we make this into a BetaFeature so that interested users on the dozens sites using the interproject templates can work on integration without disruption for the other users?
Nemo
This is excellent Tpt!!
A Beta Feature for this would be really helpful for people who move around the wikis a lot and would like this feature even when the local community isnt able to implement it. On Apr 12, 2014 5:53 PM, "Federico Leva (Nemo)" nemowiki@gmail.com wrote:
Thomas Tanon, 12/04/2014 10:53:
[1]https://gerrit.wikimedia.org/r/#/c/114979/ (the main change in Wikibase code)
Thanks. I've linked bug 54374 to bug 708.
@NemoBis
I've written a beginning of documentation here:https://www.mediawiki. org/wiki/Extension:Wikibase_Client#Other_projects_sidebar
Thanks. I've added some more links.
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.
Sure. Thank you very much for just getting it done after so many years of talk. ;-) Now we need to understand how we can help proceed from here.
- 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".
Ok, then the question arises if the new code's class names and whatnot are compatible with the established templates, what changes are needed for the two to work together etc. Can we make this into a BetaFeature so that interested users on the dozens sites using the interproject templates can work on integration without disruption for the other users?
Nemo
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l