* Adding special page alias in AdvancedRandom, CheckUser, ConfirmAccount, ContactPage and DeleteBatch

* Adding alias files for AdvancedRandom, CheckUser, ConfirmAccount, ContactPage and DeleteBatch to aliases.txt in Translate
This commit is contained in:
Jon Harald Søby 2008-07-09 17:40:14 +00:00
parent 3144ac51f0
commit 717a1b493b
2 changed files with 24 additions and 0 deletions

22
ContactPage.alias.php Normal file
View File

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

View File

@ -27,6 +27,8 @@ $wgExtensionCredits['specialpage'][] = array(
$dir = dirname(__FILE__) . '/';
$wgExtensionMessagesFiles['ContactPage'] = $dir . 'ContactPage.i18n.php';
$wgExtensionAliasesFiles['ContactPage'] = $dir . 'ContactPage.alias.php';
$wgAutoloadClasses['SpecialContact'] = $dir . 'SpecialContact.php';
$wgSpecialPages['Contact'] = 'SpecialContact';