mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
* Fix a lot of extension special pages mess. Less messy now, aside from the naming of the files containing the aliases. That's for next time.
* Add special page aliases for AbuseFilter * Change special page aliases method for ChangeAuthor, and Collection * Add missing to Translate/aliases.txt (may require another commit; we will see)
This commit is contained in:
parent
a2c9f2ea34
commit
92085b4a3e
15
AbuseFilter.alias.php
Normal file
15
AbuseFilter.alias.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
/**
|
||||
* Aliases for special pages
|
||||
*
|
||||
* @file
|
||||
* @ingroup Extensions
|
||||
*/
|
||||
|
||||
$aliases = array();
|
||||
|
||||
/** English */
|
||||
$aliases['en'] = array(
|
||||
'AbuseLog' => array( 'AbuseLog' ),
|
||||
'AbuseFilter' => array( 'AbuseFilter' ),
|
||||
);
|
|
@ -25,6 +25,7 @@ $wgExtensionCredits['other'][] = array(
|
|||
);
|
||||
|
||||
$wgExtensionMessagesFiles['AbuseFilter'] = "$dir/AbuseFilter.i18n.php";
|
||||
$wgExtensionAliasesFiles['AbuseFilter'] = "$dir/AbuseFilter.alias.php";
|
||||
|
||||
$wgAutoloadClasses[ 'AbuseFilter' ] = "$dir/AbuseFilter.class.php";
|
||||
$wgAutoloadClasses[ 'AbuseFilterParser' ] = "$dir/AbuseFilter.parser.php";
|
||||
|
|
Loading…
Reference in a new issue