mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki
synced 2024-11-23 22:13:37 +00:00
* 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:
parent
3105d89980
commit
4d68a7aa6e
Notes:
Raimond Spekking
2009-03-28 22:26:10 +00:00
22
SpecialInterwiki.alias.php
Normal file
22
SpecialInterwiki.alias.php
Normal 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')
|
||||
);
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue