From 717a1b493ba73539486a5514ff1ea816336449ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Harald=20S=C3=B8by?= Date: Wed, 9 Jul 2008 17:40:14 +0000 Subject: [PATCH] * 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 --- ContactPage.alias.php | 22 ++++++++++++++++++++++ ContactPage.php | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 ContactPage.alias.php diff --git a/ContactPage.alias.php b/ContactPage.alias.php new file mode 100644 index 0000000..4be9be3 --- /dev/null +++ b/ContactPage.alias.php @@ -0,0 +1,22 @@ + array('Contact', 'ContactPage') +); + +/** Norwegian (Norsk (bokmål)) + * @author Jon Harald Søby + */ +$aliases['no'] = array( + 'ContactPage' => array('Kontakt', 'Kontaktside') +); diff --git a/ContactPage.php b/ContactPage.php index 5be1107..1098b2a 100644 --- a/ContactPage.php +++ b/ContactPage.php @@ -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';