Hello,
We have been working on associating every episode of BBC Desert Island Discs to a Wikipedia page about that person.
Example: http://www.bbc.co.uk/programmes/p0093x3l http://en.wikipedia.org/wiki/David_Crofthttps://en.wikipedia.org/wiki/David_Croft http://www.wikidata.org/wiki/Q2072654https://www.wikidata.org/wiki/Q2072654
Since we created some of the links to Wikipedia, those pages have changed into disambiguation pages. Is it possible to link to a Wikipedia page using the Wikidata ID, via some kind of redirect URL? Thus ensuring that we continue to link to the correct article?
Ideally it would even link to the users preferred language…
Thanks!
nick.
Now THERE would be a killer feature (killing QRpedia at the very least...)!
On Thu, Aug 28, 2014 at 11:52 AM, Nicholas Humfrey < nicholas.humfrey@bbc.co.uk> wrote:
Hello,
We have been working on associating every episode of BBC Desert Island Discs to a Wikipedia page about that person.
Example: http://www.bbc.co.uk/programmes/p0093x3l http://en.wikipedia.org/wiki/David_Croft https://en.wikipedia.org/wiki/David_Croft http://www.wikidata.org/wiki/Q2072654 https://www.wikidata.org/wiki/Q2072654
Since we created some of the links to Wikipedia, those pages have changed into disambiguation pages. Is it possible to link to a Wikipedia page using the Wikidata ID, via some kind of redirect URL? Thus ensuring that we continue to link to the correct article?
Ideally it would even link to the users preferred language…
Thanks!
nick.
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
Hi Nick,
You are lucky, that feature has been released this week: https://www.wikidata.org/wiki/Special:GoToLinkedPage
For instance https://www.wikidata.org/wiki/Special:GoToLinkedPage/enwiki/Q732383
Cheers, Micru
On Thu, Aug 28, 2014 at 12:52 PM, Nicholas Humfrey < nicholas.humfrey@bbc.co.uk> wrote:
Hello,
We have been working on associating every episode of BBC Desert Island Discs to a Wikipedia page about that person.
Example: http://www.bbc.co.uk/programmes/p0093x3l http://en.wikipedia.org/wiki/David_Croft https://en.wikipedia.org/wiki/David_Croft http://www.wikidata.org/wiki/Q2072654 https://www.wikidata.org/wiki/Q2072654
Since we created some of the links to Wikipedia, those pages have changed into disambiguation pages. Is it possible to link to a Wikipedia page using the Wikidata ID, via some kind of redirect URL? Thus ensuring that we continue to link to the correct article?
Ideally it would even link to the users preferred language…
Thanks!
nick.
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
Fantastic, thanks!
Could you put linking to the user's preferred language (Accept-Language header?) on the backlog?
nick.
From: David Cuenca <dacuetu@gmail.commailto:dacuetu@gmail.com> Reply-To: "Discussion list for the Wikidata project." <wikidata-l@lists.wikimedia.orgmailto:wikidata-l@lists.wikimedia.org> Date: Thursday, 28 August 2014 12:59 To: "Discussion list for the Wikidata project." <wikidata-l@lists.wikimedia.orgmailto:wikidata-l@lists.wikimedia.org> Subject: Re: [Wikidata-l] Linking to Wikipedia page using Wikidata ID
Hi Nick,
You are lucky, that feature has been released this week: https://www.wikidata.org/wiki/Special:GoToLinkedPage
For instance https://www.wikidata.org/wiki/Special:GoToLinkedPage/enwiki/Q732383
Cheers, Micru
On Thu, Aug 28, 2014 at 12:52 PM, Nicholas Humfrey <nicholas.humfrey@bbc.co.ukmailto:nicholas.humfrey@bbc.co.uk> wrote: Hello,
We have been working on associating every episode of BBC Desert Island Discs to a Wikipedia page about that person.
Example: http://www.bbc.co.uk/programmes/p0093x3l http://en.wikipedia.org/wiki/David_Crofthttps://en.wikipedia.org/wiki/David_Croft http://www.wikidata.org/wiki/Q2072654https://www.wikidata.org/wiki/Q2072654
Since we created some of the links to Wikipedia, those pages have changed into disambiguation pages. Is it possible to link to a Wikipedia page using the Wikidata ID, via some kind of redirect URL? Thus ensuring that we continue to link to the correct article?
Ideally it would even link to the users preferred language…
Thanks!
nick.
_______________________________________________ Wikidata-l mailing list Wikidata-l@lists.wikimedia.orgmailto:Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
-- Etiamsi omnes, ego non
Hi Nick,
I have opened this bug report where you can subscribe or add your use case (if you think my suggestion is not appropriate): https://bugzilla.wikimedia.org/show_bug.cgi?id=70159
There is also this related enhancement proposal for error handling: https://bugzilla.wikimedia.org/show_bug.cgi?id=70127
Regards, Micru
On Thu, Aug 28, 2014 at 2:08 PM, Nicholas Humfrey < nicholas.humfrey@bbc.co.uk> wrote:
Fantastic, thanks!
Could you put linking to the user's preferred language (Accept-Language header?) on the backlog?
nick.
From: David Cuenca dacuetu@gmail.com Reply-To: "Discussion list for the Wikidata project." < wikidata-l@lists.wikimedia.org> Date: Thursday, 28 August 2014 12:59 To: "Discussion list for the Wikidata project." < wikidata-l@lists.wikimedia.org> Subject: Re: [Wikidata-l] Linking to Wikipedia page using Wikidata ID
Hi Nick,
You are lucky, that feature has been released this week: https://www.wikidata.org/wiki/Special:GoToLinkedPage
For instance https://www.wikidata.org/wiki/Special:GoToLinkedPage/enwiki/Q732383
Cheers, Micru
On Thu, Aug 28, 2014 at 12:52 PM, Nicholas Humfrey < nicholas.humfrey@bbc.co.uk> wrote:
Hello,
We have been working on associating every episode of BBC Desert Island Discs to a Wikipedia page about that person.
Example: http://www.bbc.co.uk/programmes/p0093x3l http://en.wikipedia.org/wiki/David_Croft https://en.wikipedia.org/wiki/David_Croft http://www.wikidata.org/wiki/Q2072654 https://www.wikidata.org/wiki/Q2072654
Since we created some of the links to Wikipedia, those pages have changed into disambiguation pages. Is it possible to link to a Wikipedia page using the Wikidata ID, via some kind of redirect URL? Thus ensuring that we continue to link to the correct article?
Ideally it would even link to the users preferred language…
Thanks!
nick.
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
-- Etiamsi omnes, ego non
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
I would like the same sort of thing for use on the English Wikipedia for pictures, so for example if you link to the Wikidata item image property and this is filled with a value, it will present the image that is on Wikidata, and if not, will present an alternate such as [1]. Has anyone built such a thing?
[1] https://commons.wikimedia.org/wiki/File:Noimage.svg
On Fri, Aug 29, 2014 at 3:57 AM, David Cuenca dacuetu@gmail.com wrote:
Hi Nick,
I have opened this bug report where you can subscribe or add your use case (if you think my suggestion is not appropriate): https://bugzilla.wikimedia.org/show_bug.cgi?id=70159
There is also this related enhancement proposal for error handling: https://bugzilla.wikimedia.org/show_bug.cgi?id=70127
Regards, Micru
On Thu, Aug 28, 2014 at 2:08 PM, Nicholas Humfrey < nicholas.humfrey@bbc.co.uk> wrote:
Fantastic, thanks!
Could you put linking to the user's preferred language (Accept-Language header?) on the backlog?
nick.
From: David Cuenca dacuetu@gmail.com Reply-To: "Discussion list for the Wikidata project." < wikidata-l@lists.wikimedia.org> Date: Thursday, 28 August 2014 12:59 To: "Discussion list for the Wikidata project." < wikidata-l@lists.wikimedia.org> Subject: Re: [Wikidata-l] Linking to Wikipedia page using Wikidata ID
Hi Nick,
You are lucky, that feature has been released this week: https://www.wikidata.org/wiki/Special:GoToLinkedPage
For instance https://www.wikidata.org/wiki/Special:GoToLinkedPage/enwiki/Q732383
Cheers, Micru
On Thu, Aug 28, 2014 at 12:52 PM, Nicholas Humfrey < nicholas.humfrey@bbc.co.uk> wrote:
Hello,
We have been working on associating every episode of BBC Desert Island Discs to a Wikipedia page about that person.
Example: http://www.bbc.co.uk/programmes/p0093x3l http://en.wikipedia.org/wiki/David_Croft https://en.wikipedia.org/wiki/David_Croft http://www.wikidata.org/wiki/Q2072654 https://www.wikidata.org/wiki/Q2072654
Since we created some of the links to Wikipedia, those pages have changed into disambiguation pages. Is it possible to link to a Wikipedia page using the Wikidata ID, via some kind of redirect URL? Thus ensuring that we continue to link to the correct article?
Ideally it would even link to the users preferred language…
Thanks!
nick.
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
-- Etiamsi omnes, ego non
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
-- Etiamsi omnes, ego non
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
On 3 September 2014 04:51, Jane Darnell jane023@gmail.com wrote:
I would like the same sort of thing for use on the English Wikipedia for pictures, so for example if you link to the Wikidata item image property and this is filled with a value, it will present the image that is on Wikidata, and if not, will present an alternate such as [1]. Has anyone built such a thing?
No, but people have written templates that pull in other Wikidata values, so it's certainly possible.
I'm blind-copying this to someone who may be able to help.
I just created this on Wikidata here, but the list order is out of whack: https://www.wikidata.org/wiki/Talk:Q17616737
On Wed, Sep 3, 2014 at 7:42 AM, Andy Mabbett andy@pigsonthewing.org.uk wrote:
On 3 September 2014 04:51, Jane Darnell jane023@gmail.com wrote:
I would like the same sort of thing for use on the English Wikipedia for pictures, so for example if you link to the Wikidata item image property
and
this is filled with a value, it will present the image that is on
Wikidata,
and if not, will present an alternate such as [1]. Has anyone built such
a
thing?
No, but people have written templates that pull in other Wikidata values, so it's certainly possible.
I'm blind-copying this to someone who may be able to help.
-- Andy Mabbett @pigsonthewing http://pigsonthewing.org.uk
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
The generic "fetch property values" that I wrote is capable of replacing #property in a more intelligent manner - documented at:
https://en.wikipedia.org/wiki/Module:Wikidata
For simple cases though, #property will work - for example if you paste the following into any section of an article and **preview** it, it will return the image from Wikidata:
{{#if: {{#property:p18}} | [[File:{{#property:p18}}|thumb]] |}}
Similarly, in an infobox, just using |image = {{#property:p18}} will work fine.
However, Wikidata can store multiple image filenames, so the question is: how do you want to deal with those cases?
Building a Lua call to return an image or something like Noimage.svg is a trivial job : I've made a demo module at:
https://en.wikipedia.org/wiki/Module:Sandbox/RexxS/Images
If you paste {{#invoke:Sandbox/RexxS/Images|getImage}} into https://en.wikipedia.org/wiki/Franz_Kafka and preview it you'll see "Kafka portrait.jpg"
If you paste {{#invoke:Sandbox/RexxS/Images|getImage}} into https://en.wikipedia.org/wiki/Hangthwaite and preview it you'll see " Noimage.svg"
Obviously calls can be buried inside templates to hide them from editors - either an infobox or create a template to make the image as a thumb outside of an infobox, etc.
Thanks, Rexx, that is very helpful!
On Wed, Sep 3, 2014 at 2:28 PM, rexx rexx@blueyonder.co.uk wrote:
The generic "fetch property values" that I wrote is capable of replacing #property in a more intelligent manner - documented at:
https://en.wikipedia.org/wiki/Module:Wikidata
For simple cases though, #property will work - for example if you paste the following into any section of an article and **preview** it, it will return the image from Wikidata:
{{#if: {{#property:p18}} | [[File:{{#property:p18}}|thumb]] |}}
Similarly, in an infobox, just using |image = {{#property:p18}} will work fine.
However, Wikidata can store multiple image filenames, so the question is: how do you want to deal with those cases?
Building a Lua call to return an image or something like Noimage.svg is a trivial job : I've made a demo module at:
https://en.wikipedia.org/wiki/Module:Sandbox/RexxS/Images
If you paste {{#invoke:Sandbox/RexxS/Images|getImage}} into https://en.wikipedia.org/wiki/Franz_Kafka and preview it you'll see "Kafka portrait.jpg"
If you paste {{#invoke:Sandbox/RexxS/Images|getImage}} into https://en.wikipedia.org/wiki/Hangthwaite and preview it you'll see " Noimage.svg"
Obviously calls can be buried inside templates to hide them from editors - either an infobox or create a template to make the image as a thumb outside of an infobox, etc.
-- Rexx
On 3 September 2014 12:42, Andy Mabbett andy@pigsonthewing.org.uk wrote:
On 3 September 2014 04:51, Jane Darnell jane023@gmail.com wrote:
I would like the same sort of thing for use on the English Wikipedia for pictures, so for example if you link to the Wikidata item image
property and
this is filled with a value, it will present the image that is on
Wikidata,
and if not, will present an alternate such as [1]. Has anyone built
such a
thing?
No, but people have written templates that pull in other Wikidata values, so it's certainly possible.
I'm blind-copying this to someone who may be able to help.
-- Andy Mabbett @pigsonthewing http://pigsonthewing.org.uk
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l