Last modified: 2013-08-22 14:46:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46739, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44739 - IW-shortcut has additional effects on Wikipedia
IW-shortcut has additional effects on Wikipedia
Status: VERIFIED FIXED
Product: Wikimedia
Classification: Unclassified
Interwiki links (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n, shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-07 08:50 UTC by jeblad
Modified: 2013-08-22 14:46 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description jeblad 2013-02-07 08:50:41 UTC
The IW-prefix for direct linking to Wikidata, that is for example [[d:Q1]], will add the subdomain to the link. So for example such a link as in the example if it is used at ru.wikipedia.org will be rewritten into ru.wikidata.org/wiki/Q1. Because that isn't expected by scripts some of them will break. (Not sure which one, and exactly why.)

Instead of adding the subdomain from Wikipedia as a subdomain on Wikidata, a fix could be to use the subdomain as the language code in "?uselang=subdomain" but that needs additional rewrite rules for those languages where that fails. That is "no" should be replaced by "nb".

In addition the user isn't logged in at wikidata.org, which adds additional confusion to the mixture as Firefox will try to add the subdomain www to the url. So not only will the user not be logged in, he is also left unaware of how to fix the problem.
Comment 1 Nemo 2013-02-07 13:50:31 UTC
Using uselang is a terrible hack...
I don't understand, why is this marked shell? What's the config to change?
Also, is this about links added by the wikidata extension somewhere or what else? Because if it's about manual links the solution is simple: don't use the language-dependant one-letter interwiki but [[wikidata:]].
Comment 2 Lydia Pintscher 2013-03-03 21:42:34 UTC
d: now always uses www.wikidata.org.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links