mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-23 15:56:50 +00:00
Add special page aliases
This commit is contained in:
parent
a9b58e7af4
commit
e43d30d061
14
ConfirmEdit.alias.php
Normal file
14
ConfirmEdit.alias.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* Aliases for special pages
|
||||
*
|
||||
* @file
|
||||
* @ingroup Extensions
|
||||
*/
|
||||
|
||||
$aliases = array();
|
||||
|
||||
/** English */
|
||||
$aliases['en'] = array(
|
||||
'Captcha' => array( 'Captcha' ),
|
||||
);
|
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue