Followup r78590, apparently the code that puts unknown categories of extensions into 'other' was not implemented until MediaWiki 1.17... *sigh* So we need to include a version check on these extensions until they stop supporting pre-1.17 versions of MediaWiki.

This commit is contained in:
Daniel Friesen 2010-12-20 04:05:54 +00:00
parent 4352b4557b
commit 0d6bea90e2

View file

@ -15,7 +15,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
* @link http://www.mediawiki.org/wiki/Extension:AbuseFilter Documentation
*/
$wgExtensionCredits['antispam'][] = array(
$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array(
'path' => __FILE__,
'name' => 'Abuse Filter',
'author' => array( 'Andrew Garrett', 'River Tarnell', 'Victor Vasiliev' ),