Thanks for the detailed explanation. Now I got the current implementation. On Mon, Apr 1, 2013 at 3:49 PM, Michael Hale <[email protected]>wrote:
> We may eventually add statements to the items for templates, but none of > our current properties make sense for them. > http://www.wikidata.org/wiki/Wikidata:List_of_properties > > 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. http://en.wikipedia.org/wiki/Help:Template#Nesting_templates > > ------------------------------ > Date: Mon, 1 Apr 2013 15:28:31 +0800 > > From: [email protected] > To: [email protected] > 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 <[email protected]>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: [email protected] > To: [email protected] > 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 <[email protected]>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}}}}} > > > Will such data be in that template's wikitext or we will put them as a > statement in its wikidata page (such as, a statement in > http://www.wikidata.org/wiki/Q6171351)? If it is in that template's > wikitext, then for {{Infobox film}} in an article, in order to render it > correctly, we have to also read that template page ( > http://en.wikipedia.org/wiki/Template:Infobox_film), isn't it? > > And when will such mechanism be launched? > > Thanks. > > > 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. > > ------------------------------ > Date: Mon, 1 Apr 2013 10:28:23 +0800 > From: [email protected] > To: [email protected] > Subject: [Wikidata-l] A question about wikidata for templates > > > Hi, > > I have a question about how wikidata will behave for template pages. For > example, for http://www.wikidata.org/wiki/Q6171351, currently it has > interlanguage links as a regular wikipedia page. I'm wondering if wikidata > project will also add statements for it. If so, how will it look like and > how will people use it in wikipedia articles with that template? > > Thanks. > > _______________________________________________ Wikidata-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata-l > > _______________________________________________ > Wikidata-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata-l > > > > _______________________________________________ Wikidata-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata-l > > _______________________________________________ > Wikidata-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata-l > > > > _______________________________________________ Wikidata-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata-l > > _______________________________________________ > Wikidata-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata-l > >
_______________________________________________ Wikidata-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-l
