r111369 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111368‎ | r111369 | r111370 >
Date:14:06, 13 February 2012
Author:reedy
Status:ok
Tags:
Comment:
Swap

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

for

'antispam'
Modified paths:
  • /trunk/extensions/AbuseFilter/AbuseFilter.php (modified) (history)
  • /trunk/extensions/AntiBot/AntiBot.php (modified) (history)
  • /trunk/extensions/SimpleAntiSpam/SimpleAntiSpam.php (modified) (history)
  • /trunk/extensions/SpamBlacklist/SpamBlacklist.php (modified) (history)
  • /trunk/extensions/SpamDiffTool/SpamDiffTool.php (modified) (history)
  • /trunk/extensions/TitleBlacklist/TitleBlacklist.php (modified) (history)
  • /trunk/extensions/TorBlock/TorBlock.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TorBlock/TorBlock.php
@@ -17,7 +17,7 @@
1818 */
1919
2020 $dir = dirname(__FILE__);
21 -$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array(
 21+$wgExtensionCredits['antispam'][] = array(
2222 'path' => __FILE__,
2323 'name' => 'TorBlock',
2424 'author' => 'Andrew Garrett',
Index: trunk/extensions/SpamBlacklist/SpamBlacklist.php
@@ -7,7 +7,7 @@
88 exit;
99 }
1010
11 -$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array(
 11+$wgExtensionCredits['antispam'][] = array(
1212 'path' => __FILE__,
1313 'name' => 'SpamBlacklist',
1414 'author' => array( 'Tim Starling', 'John Du Hart' ),
Index: trunk/extensions/TitleBlacklist/TitleBlacklist.php
@@ -9,7 +9,7 @@
1010 * @ingroup Extensions
1111 */
1212
13 -$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array(
 13+$wgExtensionCredits['antispam'][] = array(
1414 'path' => __FILE__,
1515 'name' => 'Title Blacklist',
1616 'author' => array( 'Victor Vasiliev', 'Fran Rogers' ),
Index: trunk/extensions/SimpleAntiSpam/SimpleAntiSpam.php
@@ -10,7 +10,7 @@
1111 die(1);
1212 }
1313
14 -$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array(
 14+$wgExtensionCredits['antispam'][] = array(
1515 'path' => __FILE__,
1616 'name' => 'SimpleAntiSpam',
1717 'descriptionmsg' => 'simpleantispam-desc',
Index: trunk/extensions/SpamDiffTool/SpamDiffTool.php
@@ -15,7 +15,7 @@
1616 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
1717 */
1818
19 -$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array(
 19+$wgExtensionCredits['antispam'][] = array(
2020 'path' => __FILE__,
2121 'name' => 'SpamDiffTool',
2222 'author' => 'Travis Derouin',
Index: trunk/extensions/AbuseFilter/AbuseFilter.php
@@ -15,7 +15,7 @@
1616 * @link http://www.mediawiki.org/wiki/Extension:AbuseFilter Documentation
1717 */
1818
19 -$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array(
 19+$wgExtensionCredits['antispam'][] = array(
2020 'path' => __FILE__,
2121 'name' => 'Abuse Filter',
2222 'author' => array( 'Andrew Garrett', 'River Tarnell', 'Victor Vasiliev' ),
Index: trunk/extensions/AntiBot/AntiBot.php
@@ -34,7 +34,7 @@
3535
3636 /** END CONFIGURATION */
3737
38 -$wgExtensionCredits[version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'][] = array(
 38+$wgExtensionCredits['antispam'][] = array(
3939 'path' => __FILE__,
4040 'name' => 'AntiBot',
4141 'url' => 'https://www.mediawiki.org/wiki/Extension:AntiBot',

Status & tagging log