Allow interlanguage link prefixes that are not language codes
authorThis, that and the other <at.light@live.com.au>
Fri, 20 Jun 2014 01:29:05 +0000 (11:29 +1000)
committerThis, that and the other <at.light@live.com.au>
Fri, 20 Jun 2014 01:29:05 +0000 (11:29 +1000)
commit7665f7d7674dbdf785c71ddafce0721a2e130cf3
treed03a2647f0d83279d46418b2b1bf2d6ab5b389b7
parent978bdd7d28cc6e3bd3929e83c1131b746a4b5395
Allow interlanguage link prefixes that are not language codes

$wgExtraInterlanguageLinkPrefixes holds a list of interwiki prefixes to be
treated as language codes if $wgInterwikiMagic is true.

To set the display text for the interlanguage links generated by this
code, you need to create MediaWiki:Interlanguage-link-foo, where "foo" is
the interwiki prefix.  To provide a friendly site name for the link title
text, use MediaWiki:Interlanguage-link-sitename-foo.  On the WMF cluster,
these messages could be set using the WikimediaMessages extension.

Information about extra language links (in the site language only) is
provided via the API in meta=siteinfo&prop=interwikimap.

Bug: 32189
Change-Id: I3d04760e2d9fb3320bb71e3d5ad115eed54a899c
RELEASE-NOTES-1.24
includes/DefaultSettings.php
includes/SkinTemplate.php
includes/api/ApiQuerySiteinfo.php
includes/parser/Parser.php
languages/i18n/en.json
languages/i18n/qqq.json