Wikidata:Property proposal/Commons creator

From Wikidata
Jump to navigation Jump to search

Commons Creator[edit]

Commons Creator template[edit]

   Not done
Descriptionitem with the Commons creator template for this person. This proposal is combined with the following for "person item of this Commons Creator template"
Data typeItem
Domainhuman (Q5) mainly
ExampleIlmari Aalto (Q4021419) → item for c:Creator:Ilmari Aalto
Robot and gadget jobsexisting Commons Creator page (P1472) can be used to build this

person item of this Commons Creator template[edit]

   Not done
Descriptionitem with the Commons creator template for this person. This proposal is combined with the previous one for "Commons Creator template"
Data typeItem
Domainitems for Commons creator namespace
Allowed valuesitems with human (Q5) mainly, possibly other items for creators: collective pseudonyms etc
Exampleitem for c:Creator:Ilmari AaltoIlmari Aalto (Q4021419)
  •  Comment The purpose of this property would be for commons creator tables to be able to look up wikidata's item number, so if every creator template had corresponding wikidata item (connected through sitelinks) than it could access its properties (and properties of article item) without the need for the commons creator template to store the item number, which in the future could be hard to maintain. We are trying to avoid creating bots to enforce that creator page pointed by Commons Creator page (P1472) points back to the same item, and that this relationship does not change as the pages are being renamed, etc. Few days ago I realized that Creator and institution) templates might not be able to access items permissions even if there is a wikidata item, because as a template it is being transcluded on other pages and you can not follow the sitelinks if you are not on the page that is sitelinked. For example if I go to Wikipedia and pick a short article with en:Tamplate:Authority control, like the one for Q7341374, and transclude that page at some other page {{:Robert Aggas}} I get all except for Authority control template which is pulled from wikidata. So it seems to me that creating items on Wikidata for Commons Creator and Institution templates might not solve a problem we are trying to fix. --Jarekt (talk) 11:11, 9 July 2016 (UTC)[reply]

 Comment I think there is a lot of confusion about wikidata-commons links. Let me back up and explain how I understand it. Many types of Commons pages might want to access wikidata properties, but Wikidata only allows a single sitelink from an item to a single commons page, so sitelinks are on no use. There are 4 possible ways that I can think of that commons pages can do that. Each one with pros and cons:

# Approach Pros Cons
1 Store all the q-codes at the pages that need them. This is how we do it right now. For example c:Creator:Gouverneur Morris IV has a link to Q5588501 so it can access it's properties like authority control, etc. Simple The need for constant maintenance where all pages on Commons have to have correct and up to date q-code and the items with those q-codes have to have P1472 or some other property as a reverse link. It would be simpler if we could establish connection between wikidata and Commons with Wikidata as a single place to keep the links not several places that have to be in synch. Many people maintaining Wikidata pages do not know how their actions affect pages on other projects and that merging or deleting items would require changes on Commons as well. I was already correcting bunch of pages where creator templates had a q code which was already deleted. Seems like items were merged and one item was deleted without redirect. If we connect a lot of pages to wikidata we might have to be chasing a lot of issues like that.
2 For each Creator, Institution, Book template or Object template on Commons, that need access to Wikidata we create an item the way we have them for categories. Like Category items such Creator, Institution, etc. items would not have any properties but redirect to an "article" item. Category items do that through category's main topic (P301)/topic's main category (P910) properties and this proposal is to create analogous pair of properties for linking "article" item with "creator" item. Those properties should not be confused with Commons Creator page (P1472) which links from an "article" item to commons page. Several issues:
  1. over-complicated approach which requires a whole bunch of "creator", "Institution", "Book", "Object" etc. items whose only purpose is to redirect to the "article" item where the properties are kept. Those pages would have no other sitelinks, and no properties other than link to the "article" item. Also as user:Micru pointed out soch pages are not allowed by current WD:N policy.
  2. Extra parallel item structure requires constant maintenance to keep inter connecting properties, like P301/P910 or the pair proposed here, in synch.
  3. Pages on Commons that need access to Wikidata properties are usually templates, like Creator templates or Institution templates, and templates can only access wikidata when they are not transcluded. Once you transclude the template, it will access items and properties associated with the page it was transcluded at. For example if a creator page is linked through a sitelink with an proposed "creator" item, and than such creator template is transcluded in a Book template (as they often do) which is linked through a sitelink to a "book" item, than the VIAF number in the creator template will come not from the "Creator" item, but from "Book" item
3 Changes to software proposed in phabricator:T99899 would allow reverse look up of wikidata's item number whose Commons Creator page (P1472) points to them. Very simple and elegant. no need to create any more "items"
  1. Not the Wikidata way as I was told.
  2. it will mess with commons:Special:UnconnectedPages
  3. Wikidata properties might not be accessible when template is transcluded
4 Allow multiple sitelinks to commons from a single item. simplest approach ?

--Jarekt (talk) 05:15, 18 December 2016 (UTC)[reply]

  • Can we edit the summary or should we just comment here? BTW, I think you can delete point 3 for option (2) (see discussion above). Obviously, what is considered "simple", "complicated" or "hackish" really depends on the point of view or twist we want to give this discussion. Currently the software supported solution is (2) and what we want to use really depends on the solution for Commons over the next year. If the definitions for Commons creator templates can be added directly as statements to Commons, there is no point in doing this here. AFAIK, only files should eventually get statements directly. If Creator templates are being phased out, most arguments are probably not that important as the conversion to (2) would be a 1-time matter.
    --- Jura 08:23, 18 December 2016 (UTC)[reply]
Jura, I am sorry but I do not understand point 3 for option (2) as related to what is what is considered "simple". Maybe we can use row numbers (listed in the first column) and approach/pros/cons to specify cells. --Jarekt (talk) 04:03, 19 December 2016 (UTC)[reply]
@Jarekt: It's two separate comments. Point 3 for option 2 was discussed above. Linking Wikidata items is simple .. if one is used to Wikidata ;)
--- Jura 12:05, 24 December 2016 (UTC)[reply]
  • Regarding 4: So far the Wikidata developers have repeatedly rejected requests for that. We are trying to find a compromise with them, but I think we should assume that it is not going to be an option any time soon. Regarding 2: The number of items that would be required is actually rather small compared to the size of Wikidata: There are around 28,000 Creator pages and 5500 Institution pages. We have over 700,000 template items with only one sitelink and I estimate that there are another 700,000 category items with only one sitelink. - Nikki (talk) 11:11, 18 December 2016 (UTC)[reply]
  • I actually had the highest hopes for options 3 or 4, as they would require the least number of places a piece of information is stored at, so the least amount of messy property constraints that have to be maintained. I kind of agree with user:Multichill that software should be improved so we can model what needs to be modeled, [and] we shouldn't hack around it and option 2 seems like a hack. But the main problem with option #2 is that it does not work for infoboxes on template pages, like Creator templates, which are transcluded to other pages and then no longer connected through sitelinks to correct item (see en:User:Jarekt/Sandbox for an example). user:Multichill, unfortunately I do not understand your point about Commons:Category:Creator templates with Wikidata link: item missing P1472 and other similar categories I created and am regularly maintaining, I think you are arguing for option #1, which actually works well at the moment, but I would prefer option #3 or #4, to make it more transparent and reduce maintenance needs.
Finally about Nikki's and Multichill's discussion about en:Module:Authority control. English Wiki Authority control module is relying on sitelinks, which break when the template page is transcluded. That solution will not work for commons and I wrote Commons:Module:Authority control to rely on each template having hardwired q-code or option #1 in my table. That is already working fine and 99% of the authority control pages on Commons rely on wikidata. --Jarekt (talk) 04:03, 19 December 2016 (UTC)[reply]

 Not done Stalled, consensus not reached.--Micru (talk) 20:05, 19 January 2017 (UTC)[reply]