* 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:
parent
3144ac51f0
commit
717a1b493b
|
@ -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')
|
||||
);
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in New Issue