* 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:
Siebrand Mazeland 2008-08-07 23:29:59 +00:00
parent a2c9f2ea34
commit 92085b4a3e
2 changed files with 16 additions and 0 deletions

15
AbuseFilter.alias.php Normal file
View 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' ),
);

View file

@ -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";