Index: trunk/extensions/AntiSpoof/AntiSpoof.php |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | exit( 1 ); |
5 | 5 | } |
6 | 6 | |
7 | | -$wgExtensionCredits['antispam'][] = array( |
| 7 | +$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array( |
8 | 8 | 'path' => __FILE__, |
9 | 9 | 'name' => 'AntiSpoof', |
10 | 10 | 'url' => 'http://www.mediawiki.org/wiki/Extension:AntiSpoof', |
Index: trunk/extensions/TorBlock/TorBlock.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | */ |
19 | 19 | |
20 | 20 | $dir = dirname(__FILE__); |
21 | | -$wgExtensionCredits['antispam'][] = array( |
| 21 | +$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array( |
22 | 22 | 'path' => __FILE__, |
23 | 23 | 'name' => 'TorBlock', |
24 | 24 | 'author' => 'Andrew Garrett', |
Index: trunk/extensions/SpamDiffTool/SpamDiffTool.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
17 | 17 | */ |
18 | 18 | |
19 | | -$wgExtensionCredits['antispam'][] = array( |
| 19 | +$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array( |
20 | 20 | 'path' => __FILE__, |
21 | 21 | 'name' => 'SpamDiffTool', |
22 | 22 | 'author' => 'Travis Derouin', |
Index: trunk/extensions/SpamBlacklist/SpamBlacklist.php |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | exit; |
9 | 9 | } |
10 | 10 | |
11 | | -$wgExtensionCredits['antispam'][] = array( |
| 11 | +$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array( |
12 | 12 | 'path' => __FILE__, |
13 | 13 | 'name' => 'SpamBlacklist', |
14 | 14 | 'author' => 'Tim Starling', |
Index: trunk/extensions/TitleBlacklist/TitleBlacklist.php |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | * @ingroup Extensions |
11 | 11 | */ |
12 | 12 | |
13 | | -$wgExtensionCredits['antispam'][] = array( |
| 13 | +$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array( |
14 | 14 | 'path' => __FILE__, |
15 | 15 | 'name' => 'Title Blacklist', |
16 | 16 | 'author' => array( 'Victor Vasiliev', 'Fran Rogers' ), |
Index: trunk/extensions/AbuseFilter/AbuseFilter.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | * @link http://www.mediawiki.org/wiki/Extension:AbuseFilter Documentation |
17 | 17 | */ |
18 | 18 | |
19 | | -$wgExtensionCredits['antispam'][] = array( |
| 19 | +$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array( |
20 | 20 | 'path' => __FILE__, |
21 | 21 | 'name' => 'Abuse Filter', |
22 | 22 | 'author' => array( 'Andrew Garrett', 'River Tarnell', 'Victor Vasiliev' ), |
Index: trunk/extensions/SimpleAntiSpam/SimpleAntiSpam.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | die(1); |
12 | 12 | } |
13 | 13 | |
14 | | -$wgExtensionCredits['antispam'][] = array( |
| 14 | +$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array( |
15 | 15 | 'path' => __FILE__, |
16 | 16 | 'name' => 'SimpleAntiSpam', |
17 | 17 | 'descriptionmsg' => 'simpleantispam-desc', |
Index: trunk/extensions/AntiBot/AntiBot.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | |
36 | 36 | /** END CONFIGURATION */ |
37 | 37 | |
38 | | -$wgExtensionCredits['antispam'][] = array( |
| 38 | +$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array( |
39 | 39 | 'path' => __FILE__, |
40 | 40 | 'name' => 'AntiBot', |
41 | 41 | 'url' => 'http://www.mediawiki.org/wiki/Extension:AntiBot', |