Page MenuHomePhabricator

No interwiki prefix for Wikidata
Closed, ResolvedPublic

Description

The subject says it all: there is no interwiki prefix for Wikidata.

The obvious one is "wikidata", like [[wikidata:Q1]].

There could also be a short prefix "d", like [[d:Q1]]; however this could lead to conflicts with existing page titles. If Wikidata language subdomains are enabled in the future, the short prefix will then be required.


Version: wmf-deployment
Severity: normal

Details

Reference
bz41730

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:09 AM
bzimport set Reference to bz41730.

I don't think language subdomains will be enabled, we are working under the assumption content lang is user lang, and can be changed similarly. We will although do some magic to make links with a language subdomain work.

See https://meta.wikimedia.org/wiki/Wikidata/Notes/URI_scheme and https://meta.wikimedia.org/wiki/Wikidata/Notes/Wiki_links and

I see that the latter page (Wiki links) has some complex and intricate suggestions for interwiki links.

For the moment, to get this fixed more quickly, it would be best just to implement the [[wikidata:]] prefix as a regular WMF-internal interwiki prefix.

Agreed with TTATO - this would be very helpful. Part of making this a valid project is making sure that people understand how it works and how it can help them and /use it/. It also requires many eyes to make shallow bugs. Enabling easier connections between wikidata and its documentation, or between wikidata and individual production wikis, will substantially lower the barrier for both of these.

Took care of this in gerrit change 31887.

wikidata: will work, as will the d: shorthand.

Does this mean pages such as [1] are going to have to be moved?

[1] http://en.wikipedia.org/wiki/Special:PrefixIndex/d:

(In reply to comment #4)

Took care of this in Gerrit change #31887.

wikidata: will work, as will the d: shorthand.

Are you sure? Full name interwikis are not defined within the script but on [[m:IWM]] AFAIK. The script has been run and the interwiki cache cdb sync'ed but the interwiki doesn't work.

(In reply to comment #6)

um, try this link:
http://en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&prefix=D%3A&namespace=0

Of course the link doesn't work now. Did wikis have many pagenames starting with d:? (Has someone checked?)

See bug 41980 in which a workaround was found for dewiki. IIRC all enwiki pages were moved in time.

Nemo: yes they did, e.g. [[D:Ream]] existed on many wikis. On en.wiki and some
others, it's been moved to [[D Ream]] in time; on others, it's stuck.

Current status:

  • d: works
  • wikidata: doesn't work

(In reply to comment #10)

Current status:

  • d: works

Outfall is that articles starting with "D:" don't worj anymore. See bug 41980

romaine.wiki wrote:

Please create [[Wikidata:, linking from [[betawikiversity:]] is a crime because the [[d:]] gives trouble.

...and both links work from my last comment.
What is left to do here? Can this be closed as RESOLVED FIXED?

Yes, this has been fixed a few weeks ago.
The exact destination URL might need to change but nothing to worry about.

Closed older resolved bugs as verified.