Add special page aliases

This commit is contained in:
Siebrand Mazeland 2009-05-24 09:20:04 +00:00
parent a9b58e7af4
commit e43d30d061
2 changed files with 15 additions and 0 deletions

14
ConfirmEdit.alias.php Normal file
View file

@ -0,0 +1,14 @@
<?php
/**
* Aliases for special pages
*
* @file
* @ingroup Extensions
*/
$aliases = array();
/** English */
$aliases['en'] = array(
'Captcha' => array( 'Captcha' ),
);

View 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';