Page MenuHomePhabricator

Provide accessibility of Wikipedia's sister projects through *one* interwiki prefix
Closed, ResolvedPublic


Author: gangleri


"wikipedia:" is a interwiki prefix at many sites where MediaWiki is installed.

Through that "wikipedia:" prefix all Wikipedia language projects can be
addressed with all the benefits:

  • using [[wikipedia:ru:Заглавная_страница]], [[wikipedia:hi:चीन व भारत के

राजनीतिक संबंध]] you do not need the long url's; you may type / copy the titles

  • ...

Please tray to find a configuration where the interwiki prefixes to
sisterprojects *and* the language prefixes can be used from *outside* the same
as *wikipedia:meta:* works now.

You can see at the reference url

  • [[wikipedia:meta:foo]] "reaching the target"

but *not*

  • [[wikipedia:commons:bar]]

We can not expect that other wiki's will configure interwiki links to all
sisterprojects and special wiki's of the WikiMedia foundation. If the "gateway"
"wikipedia:en:" can be addressed / reached why people should not be able to
reach the wiki's behind using wiki syntax?

It might be that the idea how to implement this would not come immediately. Then
please do not close the request as INVALID today.

Similar bugs marked invalid are:

  • bug 2226: Interwiki links to other sites than Wikipedia
  • bug 2406: links as [[wikipedia:de:]] will fail at non wikimedia foundation wikis

best regards reinhardt [[user:gangleri]]

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:01 PM
bzimport set Reference to bz4285.
bzimport added a subscriber: Unknown Object (MLST).

gangleri wrote:

bug 4479 Wikitravel broken interwiki
ilustrates a "symmetrical" situation.

from bug 4479 comment 10:

Of course there is the question which interwiki prefixes should be "forwarded"
and which not. Probably a new field in the table should indicate if the prefixes
are in the same project / same super-project / same farm. This field (and
addtional configuration options) should influence the "decision".

gangleri wrote:

If possible a runtime mechanism should be available to detect links as

This particular link might not harm but if redirects between wiki's are *not*
disabeled they can be the cause of infinite loops.

gangleri wrote:

Providing more tests:

All these interwikis reach the requested target:
→ commons:user:gangleri
→ commons:meta:user:gangleri
→ commons:meta:en:user:gangleri
→ commons:meta:b:user:gangleri
→ commons:meta:n:user:gangleri
→ commons:meta:q:user:gangleri
→ commons:meta:s:user:gangleri
→ commons:meta:wikt:user:Gangleri (upercase "G")
→ commons:meta:w:user:gangleri
→ commons:meta:b:de:user:gangleri
→ commons:meta:n:de:user:gangleri
→ commons:meta:q:de:user:gangleri
→ commons:meta:s:de:user:gangleri
→ commons:meta:wikt:de:user:Gangleri (upercase "G")
→ commons:meta:w:de:user:gangleri

Made similar tests before at

rowan.collins wrote:

Actually, I think most sister projects *are* accessible this way doesn't work, but does. I think maybe this is just a
misconfiguration - maybe it only works for interwiki prefixes marked as "local"
in the database, and someone forgot to set that for "commons:"?

gangleri wrote:

Thanks Rowan for the feedback!
now provides additional links.

I did verify more prefixes from [[special:SiteMatrix]] there but I am neither
shure if these are all to be verified (bug 3745) nor have I double checked with

best regards reinhardt [[user:gangleri]]

gangleri wrote:

The second part of
Bug 5008: Anomaly between and

refers to some navigation links at .

*consequence a*
It might be a good idea to have multiple "entry points" to provide
"accesibility" for the Wikimedia Foundation projects. The Betawiki url is using
both 'meta:' and 'commons:' to "reach" the projects and *not* 'wikipedia:' as
mentioned in the summary of this request.

*consequence b*
It might be a good idea to have "common behaviour" regarding interwiki linking
*ragardless* of the project family. This will neither irritate newbies nor
distract contributors from ususal 'work'.

Marking 'depends on' bug 5008.

best regards reinhardt [[user:gangleri]]

gangleri wrote:

The original request was related to a concept called "portability of code" which
allows to copy and paste wiki code between wikies, a step further to the request
Bug 4547: Enable template inclusion from Commons (transclusion => interwiki
templates, etc.).
Until now when refering to documentation available on Wikimedia Foundation
projects the interwiki links need to be adjusted.

While trying to find an optimal entry point to all foundations project and
analysing candidates as 'wikipedia:', 'commons:', 'meta:' and 'wikimedia:' my
personal preference today is *wikimedia:* available since fix of
Bug 1845: Add "Wikimedia" to the list of allowed fowarding prefixes.
and inclusion in the MediaWiki predefined interwiki table.

However there are som odd issues:

[[wikimedia:]] - OK
[[wikimedia:b:Main Page]] - generates a link to nonexisting

[[wikimedia:commons:Main Page|c:]] - OK

[[wikimedia:n:Main Page]] - generates a link to nonexisting

[[wikimedia:m:Main Page]] - OK

[[wikimedia:q:Main Page]] - generates a link to nonexisting

[[wikimedia:s:Main Page]] - generates a link to nonexisting

[[wikimedia:w:Main Page]] - OK

[[wikimedia:wikt:Main Page]] - generates a link to nonexisting

As far as I know the only wiki where the name of project namespace is
'wikimedia' is [[wikimedia:]] itself with about a dozen of pages.! and none in!

If the name of the project namespace at [[wikimedia:]] would be just 'project'
and the 'rooting' trough the interprefixes 'b:', 'commons:' ('c:'), 'n:', 'q:',
'wikt:' (probably also 'sep11:' etc.) would be fixed (and one would recognize
"selfreferencing" at [[wikimedia:]]) 'wikimedia:' would be the ideal entry point.

best regards reinhardt [[user:gangleri]]

P.S. Changed the summary because 'wikipedia:' is not suitable as *global*
interwiki prefix. It would conflict in dozens of Wikimedia foundation wikies
with the name of the project namespace.

gangleri wrote:

The behaviour at MediaZilla differs from ,
[[User:Gangleri/tests/bugzilla/04285]] and

gangleri wrote:

« m: » is quite a powerful inter project link now. It can be used at almost all projects including Wikipedia projects and [[meta:]] itself.

As shown at
[[wm2008:project talk:Community Portal#bugzilla_004558]]
(about bug 004558 Dead end InterWiki prefixes due to missing sister projects )

[[m:n:ro:Pagina principală]]
[[m:q:pl:Antoine de Saint-Exupéry]]
[[m:s:yi:Geboyrn in a zaydn hemdl]]
[[m:v:es:Wikiversidad:Claustro Wikiversitario]]

are valid paths to the projects. This means that as soon as one can reach [[meta:]] one should be able to reach Wikipedia's sister projects as well.

To my understanding the resolution for this bug can be changed to « FIXED » .

Thanks! Best regards Reinhardt [[user:Gangleri]]

gangleri wrote:

(In reply to comment #9)

« m: » is quite a powerful inter project link now. It can be used at almost
all projects including Wikipedia projects and [[meta:]] itself.

beside « m: » you can use also « commons: » , « mw: » etc. (depending how you reach the foundation)