version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'

for

'antispam'
This commit is contained in:
Sam Reed 2012-02-13 14:06:45 +00:00
parent 9495381e4e
commit 27fdc84e88
Notes: Raimond Spekking 2012-03-12 20:46:25 +00:00

View file

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