mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 23:40:19 +00:00
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:
parent
4352b4557b
commit
0d6bea90e2
|
@ -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' ),
|
||||
|
|
Loading…
Reference in a new issue