Add special page aliases
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 24 May 2009 09:20:04 +0000 (09:20 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 24 May 2009 09:20:04 +0000 (09:20 +0000)
ConfirmEdit.alias.php [new file with mode: 0644]
ConfirmEdit.php

diff --git a/ConfirmEdit.alias.php b/ConfirmEdit.alias.php
new file mode 100644 (file)
index 0000000..62332d3
--- /dev/null
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Aliases for special pages
+ *
+ * @file
+ * @ingroup Extensions
+ */
+
+$aliases = array();
+
+/** English */
+$aliases['en'] = array(
+       'Captcha' => array( 'Captcha' ),
+);
index 4ac5fc0bddc4611ab29bdad8115ee354fd06e996..7a4f78af63db603c2b50c5c500ed5b3063112b13 100644 (file)
@@ -179,6 +179,7 @@ $wgSpecialPages['Captcha'] = array( /*class*/'CaptchaSpecialPage', /*name*/'Capt
 
 $wgConfirmEditIP = dirname( __FILE__ );
 $wgExtensionMessagesFiles['ConfirmEdit'] = "$wgConfirmEditIP/ConfirmEdit.i18n.php";
+$wgExtensionAliasesFiles['ConfirmEdit'] = "$wgConfirmEditIP/ConfirmEdit.alias.php";
 
 if ( defined( 'MW_SUPPORTS_EDITFILTERMERGED' ) ) {
        $wgHooks['EditFilterMerged'][] = 'ConfirmEditHooks::confirmEditMerged';