Last modified: 2014-01-03 16:16:43 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 T26748, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24748 - Create Generic Wikimedia Interwiki
Create Generic Wikimedia Interwiki
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Interwiki links (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-10 19:39 UTC by Huib abigor Laurens
Modified: 2014-01-03 16:16 UTC (History)
11 users (show)

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


Attachments

Description Huib abigor Laurens 2010-08-10 19:39:39 UTC
Please create a prefix that can be used for all wikimedia projects without the need of a new interwiki all the time something like: 

http://$1.wikimedia.org/wiki/$2

so it could be used for all wikimania's, stats, and other wikimedia projects. 

This bug is created after the request on meta:
http://meta.wikimedia.org/wiki/Talk:Interwiki_map#Generic_Wikimedia_prefix
Comment 1 Nemo 2010-08-11 06:44:18 UTC
Assigning to Rob. I don't think this is high priority, but see http://community.wikia.com/wiki/Help:Interwiki_link/technical for how they do it (only the result, not the technical background; Meta would be the equivalent of [[CentralWikia:]]).
Comment 2 Max Semenik 2010-08-12 06:56:08 UTC
Unassigned from Rob, before changing configuration you need to have this feature actually working. Currently, interwikis don't support $2, furthermore, interwiki link syntax has no place for it. How do you imagine such a syntax?
Comment 3 Max Semenik 2010-08-12 07:14:24 UTC
Ow, and how it's better than our current practice of interwiki chaining, e.g. [[b:ru:foo]]?
Comment 4 Liangent 2010-08-12 07:18:35 UTC
(In reply to comment #0)
> http://$1.wikimedia.org/wiki/$2
> 
> so it could be used for all wikimania's, stats, and other wikimedia projects. 

Including /wiki/ in path makes links to stats stuff meaningless unless you use [[c:stats:../wikimedia/squids/SquidReportClients.htm]].
Comment 5 Liangent 2010-08-12 07:21:38 UTC
(In reply to comment #2)
> Unassigned from Rob, before changing configuration you need to have this
> feature actually working. Currently, interwikis don't support $2, furthermore,
> interwiki link syntax has no place for it. How do you imagine such a syntax?

One possible solution is to set [[c: ]] to a special http://redirector.wikimedia.org/iw/$1 location and use PHP scripts, rewrite rules etc to do a redirect.
Comment 6 Tim Starling 2010-08-12 07:25:04 UTC
Is there some reason why we'd want this?
Comment 7 Krinkle 2010-10-22 14:36:37 UTC
The reason would be to enable links like [[wm:wikimania2012:Foobar]] without the need for a change in the Interwiki map like adding 'wm2012' for example.

Just like [[b:simple:Foobar]] is possible now aswell.
Comment 8 Krinkle 2010-10-22 14:41:52 UTC
The 'Meta' central example that is briefly described above may be even better, not sure.
It does may a little sense to reference to those subdomains as $1.

ie.
[[s:]] -> www.wikisource.org
[[s:de]] -> de.wikisource.org
[[m:]] -> meta.wikimedia.org
[[m:wikimania2012:Test]] -> wikimania2012.wikimedia.org

But I guess that would 1) break the convention that $1 is always a language. However, if it would be configured like wikibooks (ie. subdomain doesn't have to exist). 

for example [[b:ab:Foobar]] links to "Wiki does not exist", that system might be usable for Meta/Wikimedia-domain aswell to have [[wm:XXX:Foobar]] link to XXX.wikimedia.org/wiki/Foobar
Comment 9 Nemo 2013-08-08 19:07:03 UTC
ashley> I don't know what you mean, but I just wanted to say that it's possible -- we at ShoutWiki do s:w:subdomain:Page name redirects via a similar setup; you might be interested in ShoutWiki's configuration files (available at http://www.shoutwiki.com/conf/)

(After a question on how to handle the humongous plethora of wmflabs.org subdomains.)
Comment 10 PiRSquared17 2013-09-26 15:44:44 UTC
Perhaps the easiest way would be to set up a redirector on a Wikimedia server (or Tool Labs), since it seems you are reluctant to add a $2 parameter.
Comment 11 Brion Vibber 2013-09-26 15:46:58 UTC
I strongly recommend against adding more interwikis and making them even more complicated -- templates should be able to do this sort of job more flexibly.
Comment 12 Liangent 2013-09-26 15:48:22 UTC
(In reply to comment #11)
> I strongly recommend against adding more interwikis and making them even more
> complicated -- templates should be able to do this sort of job more flexibly.

One advantage of interwikis is that they work in edit summaries.
Comment 13 Nemo 2013-09-26 15:56:38 UTC
(In reply to comment #11)
> I strongly recommend against adding more interwikis and making them even more
> complicated -- templates should be able to do this sort of job more flexibly.

Thanks Brion for chiming in! I personally am a fan of interwikis, but I think the correct status for this bug is now WONTFIX given your opinion and Tim's skepticism at comment 6.

To be honest, one could argue that, as we keep adding new interwikis to the interwiki map for many subdomains, a generic interwiki would not be harder to use than the current situation; but it would surely be an additional degree of complexity.

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


Navigation
Links