r113984 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113983‎ | r113984 | r113985 >
Date:00:56, 16 March 2012
Author:bsitu
Status:ok
Tags:
Comment:
followup to -r113953 - remove misleading global variables
Modified paths:
  • /trunk/extensions/MoodBar/MoodBar.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/MoodBar.php
@@ -251,11 +251,9 @@
252252 $wgMoodBarCutoffTime = null;
253253
254254 /** Rate limit setting for moodbar **/
255 -$wgMoodBarFeedbackRateLimit = 300;
256 -$wgMoodBarResponseRateLimit = 60;
257255 $wgRateLimits += array(
258 - 'moodbar-feedback' => array( 'user' => array( 1 => $wgMoodBarFeedbackRateLimit ) ),
259 - 'moodbar-response' => array( 'user' => array( 1 => $wgMoodBarResponseRateLimit ) )
 256+ 'moodbar-feedback' => array( 'user' => array( 1 => 300 ) ),
 257+ 'moodbar-response' => array( 'user' => array( 1 => 60 ) )
260258 );
261259 /**
262260 * Turn on abuse filtering

Follow-up revisions

RevisionCommit summaryAuthorDate
r114030MFT r113953, r113955, r113984, r114018reedy19:51, 16 March 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r113953fix for bug 35245 - add rate limiter and spam filter checkbsitu20:39, 15 March 2012

Status & tagging log