However, the Infobox film template is included in 76000 articles. Each of those articles has an item on Wikidata that will have statements for the properties we support. After the property inclusion syntax is supported on the English Wikipedia, when {{Infobox film}} is rendered it will copy all of the text from the template. Then it will see that the template contains templates, so the appropriate text will be included for them. It will know which item to find the property on at this point because the context is established.
Date: Mon, 1 Apr 2013 15:28:31 +0800
From: zhjyong@gmail.com
To: wikidata-l@lists.wikimedia.org
Subject: Re: [Wikidata-l] A question about wikidata for templates
I'm little confused here: I mean that in a template wikidata page such as
http://www.wikidata.org/wiki/Q6171351, will we add statements in it? It is like a meta-data (schema) in a template. Such as, in the above page, we may add a statement as:
label: Directed by
data: {{{director|{{#property:p57}}}
Then for every reference of that template in an article (such as,
http://www.wikidata.org/wiki/Q217189), we don't need to specify director attribute again. It will first get that meta-data from statements in the page
http://www.wikidata.org/wiki/Q6171351, and then automatically get property p57's value for Q217189.
I'm not sure if there is such mechanism existing or not. Or does it make sense to have such mechanism?
On Mon, Apr 1, 2013 at 3:15 PM, Michael Hale
<hale.michael.jr@live.com> wrote:
The data will be in the Wikidata pages (called items). It will be in the items for the articles, not the template.
http://www.wikidata.org/wiki/Q217189 The mechanism has already launched on some Wikipedias. It will be on all of them soon. Details are here.
http://blog.wikimedia.de/2013/03/27/you-can-have-all-the-data/
Date: Mon, 1 Apr 2013 15:04:53 +0800
From:
zhjyong@gmail.comTo:
wikidata-l@lists.wikimedia.org
Subject: Re: [Wikidata-l] A question about wikidata for templates
I think that I haven't got it completely:
On Mon, Apr 1, 2013 at 11:15 AM, Michael Hale
<hale.michael.jr@live.com> wrote:
The basic idea is to update templates like Infobox film to prefer to pull data from Wikidata. So for a film article whose corresponding item on Wikidata is fairly complete you can just put {{Infobox film}} at the top of the article and everything will work as expected. They can click the link at the bottom of the article to go to the item on Wikidata and update the values. Then anywhere in the article, including the template and other language versions of the article, the information will be automatically updated. To do this means changing in the template where it says:
| label1 = Directed by
| data1 = {{{director|}}}
to say:
| label1 = Directed by
| data1 = {{{director|{{#property:p57}}}}}
In the next update you will just be able to write {{#property:film director}} instead of {{#property:p57}}.
As far as statements to include on templates, it could be interesting once the transition has more momentum to see what types of items use a template. You can already see what pages embed a template with the Wikimedia API. I'm not sure what the best workflow would be for this. I can imagine that eventually it would be awesome if I have some information about a new movie coming out, so I go to create a new article. Then when I am writing the article it has a textbox on the side to specify a type for the article. So then if I type in film for the type, it automatically adds the typical templates used in a film article to the article text and then shows part of the Wikidata UI to specify the properties that most films have. Then when I click save it could automatically add the appropriate statements to Wikidata at the same time I create the article.
_______________________________________________
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l
_______________________________________________
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l
_______________________________________________
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l
_______________________________________________
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l