Wikidata:Property proposal/Wikimedia reference link

Wikimedia import URL edit

Originally proposed at Wikidata:Property proposal/Generic

DescriptionURL of source to indicate the page or revision of an import source from another Wikimedia project (except actual references, such as WikiSource source texts). Use instead of "reference URL" (P854)
Data typeURL
ExampleTaiwan (Q865) FIPS 10-4 (countries and regions) (P901) TW Reference → https://en.wikipedia.org/w/index.php?title=List_of_FIPS_country_codes&oldid=588315474 / imported from Wikimedia project (P143) English Wikipedia (Q328) (to replace the current practice)
Motivation

Of strong wish of Wikipedia projects is that when they import our data for infoboxes they want to make sure that they don't import circular references but can be sure that we link to external references. As a result the usage of reference URL (P854) to link internally is problematic. When it's used that way it gets harder to automatically filter out internal references. ChristianKl () 12:02, 5 December 2017 (UTC)[reply]

Discussion
  • I have already added a constraint for reference URL (P854) for Wikipedia links. It would be great if someone with more regex experience writes one that catches other Wikimedia domains as well. There are likely different ways to write the constraint and it would make sense to write it in a performance optimized way. ChristianKl () 17:40, 6 December 2017 (UTC)[reply]
You are right, for some reason I typed 31 instead of 143. It should obviously be imported from Wikimedia project (P143) in the example. located in the administrative territorial entity (P131) is also not appropriate ;) ChristianKl () 11:50, 8 December 2017 (UTC)[reply]
Not sure what I was thinking when I wrote P131 lol. I agree P131 is wrong too. Maybe I meant 143 but I really don't remember what I was thinking. Deryck Chan (talk) 16:14, 13 December 2017 (UTC)[reply]

@ChristianKl, Matěj Suchánek, Jura1, Deryck Chan, ArthurPSmith, Yair rand: done: Wikimedia import URL (P4656)Pintoch (talk) 15:32, 13 December 2017 (UTC)[reply]

  • @Pintoch:, thanks, but could you use the label from the proposal?
    --- Jura 15:34, 13 December 2017 (UTC)[reply]
  • @Pintoch: Thanks. Just for completion, unfortunately the tool uses the name of the page (Wikimedia reference link) as the label instead of the label that we agreed on in the property discussion (Wikimedia import URL). ChristianKl () 15:36, 13 December 2017 (UTC)[reply]
  • Yeah, I'm learning the ropes! :) But I have the feeling that the creation process could be much more automated. If I get very bored, I might write a tool for that (take the proposal template, and do most of the required edits automatically), because it's a bit tedious and not very creative… − Pintoch (talk) 15:39, 13 December 2017 (UTC)[reply]
I fully agree that it would make sense to automate more of the process. ChristianKl () 15:47, 13 December 2017 (UTC)[reply]
np. There is a bot that moves some of it from talk to statement.
--- Jura 15:51, 13 December 2017 (UTC)[reply]