From e43d30d061cad95b50c3ba91b8f894ec3d44fb0b Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 24 May 2009 09:20:04 +0000 Subject: [PATCH] Add special page aliases --- ConfirmEdit.alias.php | 14 ++++++++++++++ ConfirmEdit.php | 1 + 2 files changed, 15 insertions(+) create mode 100644 ConfirmEdit.alias.php diff --git a/ConfirmEdit.alias.php b/ConfirmEdit.alias.php new file mode 100644 index 000000000..62332d3f8 --- /dev/null +++ b/ConfirmEdit.alias.php @@ -0,0 +1,14 @@ + array( 'Captcha' ), +); diff --git a/ConfirmEdit.php b/ConfirmEdit.php index 4ac5fc0bd..7a4f78af6 100644 --- a/ConfirmEdit.php +++ b/ConfirmEdit.php @@ -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';