Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#17580 - {wiki} interwiki interlanguage links

Attached to Project: Arch Linux
Opened by Desmond Cox (pointone) - Tuesday, 22 December 2009, 19:01 GMT
Last edited by Pierre Schmitz (Pierre) - Thursday, 26 April 2012, 09:24 GMT
Task Type Feature Request
Category Web Sites
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No



I recently revived discussions on the topic of ArchWiki internationalization at <> wherein the existence of separate non-English wikis was considered. Currently, the separate wikis are not integrated with the ArchWiki in any way; interwiki linking should be possible to facilitate internationalization.

Please see <> for implementation details (I am no expert!) I will attempt to provide examples in the form of (iw_prefix: iw_url) for the international wikis I am aware of:

(cl:$1) (Chilean Spanish; not sure if prefix should be "es-CL" instead?)
(fr:$1) (powered by DokuWiki; some strangeness with how pages are categorized, but I think it should still work...)
(pt-BR:$1) (Brazilian Portuguese)
(ua:$1) (Ukrainian; relatively new and empty wiki; not sure if lang. code should be "uk" instead?)
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Thursday, 26 April 2012, 09:24 GMT
Reason for closing:  Implemented
Comment by Desmond Cox (pointone) - Tuesday, 22 December 2009, 19:30 GMT
I would also like to suggest/request installation of the ParserFunctions extension <>, which would allow us to create/improve a standardized "languages" template (see
Comment by Andres Perera (pwd) - Tuesday, 22 December 2009, 21:30 GMT
Agree with linking to intl. content and keeping it off the main namespace, regardless of purpose.

By the way, no such thing as a Chilean spinoff -- there's only one Spanish :p
Comment by Desmond Cox (pointone) - Friday, 08 January 2010, 23:53 GMT
Update: please see

Corrections: Ukrainian prefix should indeed be "uk" instead of "ua" and Swedish prefix should be "sv" instead of "se".
Comment by Desmond Cox (pointone) - Wednesday, 14 April 2010, 00:53 GMT
Attached is a simple SQL statement that inserts the appropriate values in the interwiki table.

Please let me know if I can do anything else to help expedite this process.
Comment by Pierre Schmitz (Pierre) - Wednesday, 14 April 2010, 15:03 GMT
I think to get some progress here I will just implement the most simplest solution without any automated extension and such. This means international wikis manually need to add links to the english one and wise versa. The usage is like this:

Add the following code to a wiki page (e.g. near to the category tag) to link to another language:

[[<language code>:<title>]]

language code is some of For example: [[de:Hauptseite]] can be put on our Main_Page. Mediawiki will automatically add those links to the sidebar. This means we can remove all those i18n templates etc..

I modified your SQL statement a bit:
* REPLACE INTO instead of INSERT for easy updates of URLs
* es-cl is not a valid language code as in (Isn't that just spanish? The probably should collaborate with the other spanish site then)
* fr doesn't use MediaWiki and they have categories as part of the URL. For example does not work; so we cannot add this wiki.
* The ua wiki does not exist.

A first test seems fine; so I'll add those entry to and right now.
Comment by Desmond Cox (pointone) - Wednesday, 14 April 2010, 15:54 GMT
Awesome! Thanks, Pierre!

With respect to the French wiki, is it not possible to specify the full path to an article? For example, [[fr:arch/pacman]] or [[fr:howto/archlinux/yaourt]]. While this is not ideal, it's better than nothing, right?

Until more communities create separate wikis, we probably want to keep the i18n template. That, or perhaps it is possible to add "dummy" interwiki entries in the meantime? For example, ('it', '$1', 1, 0) or perhaps ('it', '$1 (Italiano)', 1, 0). Just thinking out loud here...
Comment by Pierre Schmitz (Pierre) - Wednesday, 14 April 2010, 16:10 GMT
I actually like the dummy interwiki entries most. It makes everything more consistent and if those communities decide to run their own wiki we wont have to change the links to them on all the english articles. In general I think we should motivate people to setup a separate wiki for their language. E.g. is meant to be run on several sites (e.g. language, logo and menu links are configurable) (I am getting off topic here...maybe we can continue here via mail/jabber)

We could contact the guys about this. Maybe dokuwiki has another way to interlink or some kind of search/redirect. If everything else fails adding the path as you suggested should work.
Comment by Desmond Cox (pointone) - Saturday, 09 October 2010, 16:39 GMT
Please update the Polish link:

('pl', '$1', 1, 0)
Comment by Desmond Cox (pointone) - Thursday, 25 November 2010, 20:40 GMT
Please add a Hebrew link:

('he', '$1', 1, 0)
Comment by François (Spip) - Thursday, 05 May 2011, 19:11 GMT
from now, the french wiki is powered by mediawiki. :)
Comment by Rémy Oudompheng (remyoudompheng) - Saturday, 10 September 2011, 07:32 GMT
Should we close this now ?
Comment by Desmond Cox (pointone) - Monday, 12 September 2011, 17:53 GMT
The Hebrew link still needs to be added:

('he', '$1', 1, 0)

The pt-br link should be removed: goes nowhere and points to the English wiki.

Afterwards, this bug should be closed and future requests can be made in new/separate reports.
Comment by Dario Giovannetti (kynikos) - Tuesday, 06 March 2012, 11:19 GMT
Well this bug is still open so I'm replying here.

The Hebrew link is already dead, but also Spanish (es), Polish (pl), Brazilian Portuguese (pt-BR), Swedish (sv) and Ukrainian (uk) wikis have all been dead for quite a bit of time now, so their interwiki links should probably be removed.

Unless we actually implement the "dummy" links idea, which I really like too.
Comment by Atilla ÖNTAŞ (tarakbumba) - Monday, 16 April 2012, 17:46 GMT
Please add Turkish wiki pages:
('tr', '$1', 1, 0)

After that happens we will redirect all turkish pages with [[tr:turkish_page_of_article]]; right?
Comment by Dario Giovannetti (kynikos) - Monday, 16 April 2012, 19:47 GMT
Nope, what will happen is that we'll be able to add interwiki links (like those in the left-hand column for German, French and Romanian, the method also used in Wikipedia btw) with [[tr:turkish_wiki_title]] to the English articles (and possibly also the other local translations), thus replacing the existing Turkish pages which will be deleted, just like German articles; we will use this occasion to finally remove also the French and Romanian articles still remaining. Those languages will also be removed from the i18n panel (just like German) since they will appear in the left column.
Comment by Atilla ÖNTAŞ (tarakbumba) - Monday, 16 April 2012, 19:57 GMT
So, no need to use redirections? What about protected pages like Main Page, how can we add [[tr:turkish_wiki_title]] to them? Request in "discuss" tab?
Comment by Dario Giovannetti (kynikos) - Monday, 16 April 2012, 20:07 GMT
Use normal external redirections (#REDIRECT []) until Turkish interlanguage links are enabled; when they will be enabled, the redirections will have to be replaced with them: in the case of protected pages, a request in the respective talk pages will be the right way to do it.
Comment by Atilla ÖNTAŞ (tarakbumba) - Monday, 16 April 2012, 20:38 GMT
Redirections like you said won't work! Redirection needs inline wiki page ([[page]]). See :ürkçe)
Comment by Dario Giovannetti (kynikos) - Monday, 16 April 2012, 20:53 GMT
True, true, I remembered there were some redirections to the French wiki and assumed they used external links, but they actually used interwiki links :( So you'll have to put normal external links for now, I'm sorry, that's the best you can do at the moment...
Comment by Dario Giovannetti (kynikos) - Saturday, 21 April 2012, 15:40 GMT
An interlanguage link should be set also for the Finnish wiki:
Comment by Atilla ÖNTAŞ (tarakbumba) - Wednesday, 25 April 2012, 08:11 GMT
Hi again; when will new interwiki links are added to ArchWiki?