* Adding special page alias in Interwiki, InterwikiList, Maintenance, Mibbit, MultiUpload and NewestPages

* Adding alias files for Interwiki, InterwikiList, Maintenance, Mibbit, MultiUpload and NewestPages to aliases.txt in Translate
This commit is contained in:
Jon Harald Søby 2008-07-09 22:17:33 +00:00
parent 3105d89980
commit 4d68a7aa6e
Notes: Raimond Spekking 2009-03-28 22:26:10 +00:00
2 changed files with 26 additions and 2 deletions

View file

@ -0,0 +1,22 @@
<?php
/**
* Aliases for Special:Interwiki
*
* @addtogroup Extensions
*/
$aliases = array();
/** English
* @author Jon Harald Søby
*/
$aliases['en'] = array(
'Interwiki' => array('Interwiki')
);
/** Norwegian (Norsk (bokmål))
* @author Jon Harald Søby
*/
$aliases['no'] = array(
'Interwiki' => array('Interwiki')
);

View file

@ -25,10 +25,12 @@ $wgExtensionCredits['specialpage'][] = array(
'descriptionmsg' => 'interwiki-desc',
);
$wgExtensionMessagesFiles['Interwiki'] = dirname( __FILE__ ) . '/SpecialInterwiki.i18n.php';
$dir = dirname(__FILE__) . '/';
$wgExtensionMessagesFiles['Interwiki'] = $dir . 'SpecialInterwiki.i18n.php';
$wgExtensionAliasesFiles['Interwiki'] = $dir . 'SpecialInterwiki.alias.php';
$wgSpecialPages['Interwiki'] = 'SpecialInterwiki';
$wgAutoloadClasses['SpecialInterwiki'] = dirname( __FILE__ ) . '/SpecialInterwiki_body.php';
$wgAutoloadClasses['SpecialInterwiki'] = $dir . 'SpecialInterwiki_body.php';
$wgAvailableRights[] = 'interwiki';