Page MenuHomePhabricator

Wikidata Entity datatype
Closed, DeclinedPublic

Description

I'd want to use a "Wikibase entity" datatype to templatedatas. "Page" dataype is not enough for Qids or Pids, so we have to choose something else, like free text who is not appropriate either

There is several ways to enter an entity value ; the Mediawiki way as "Namespace:Pagename", the web URI as in "https://www.wikidata.org/entity/Q11344" or the web URI of the wikipage of the entity "https://www.wikidata.org/wiki/Q11344" (more easily copy/pasting possible) or the same in Mediawiki space address [[:d:P:31]].

Some of my templates like https://www.wikidata.org/wiki/Template:Q' can use all of them.

Event Timeline

TomT0m created this task.Jul 9 2016, 9:10 AM
Restricted Application added a project: VisualEditor. · View Herald TranscriptJul 9 2016, 9:10 AM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald Transcript

I think this is at the same time too specific and also too general. Supporting all three of "1" and "Q1" and "https://www.wikidata.org/wiki/Q11344" seems like a terrible idea, particularly if "12xx34" is magically meant to be allowed but not break things. There's already T69659: TemplateData: TemplateData should have a parameter to support Wikidata for linking a parameter to its equivalent property value on Wikidata, but I don't think that that's what you want, right?

Jdforrester-WMF closed this task as Declined.Jul 12 2016, 7:22 PM
Restricted Application removed a subscriber: Liuxinyu970226. · View Herald TranscriptJul 12 2016, 7:22 PM