r57334 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57333‎ | r57334 | r57335 >
Date:18:16, 3 October 2009
Author:aaron
Status:ok
Tags:
Comment:
Added comments
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -254,6 +254,7 @@
255255 # If $wgFlaggedRevsVisible is populated, it is applied to talk pages too
256256 $wgFlaggedRevsTalkVisible = true;
257257
 258+# How long before Special:ValidationStatistics is updated
258259 $wgFlaggedRevsStatsAge = 2 * 3600; // 2 hours
259260
260261 # We may have templates that do not have stable version. Given situational
@@ -462,7 +463,7 @@
463464 $wgHooks['BeforePageDisplay'][] = 'FlaggedRevsHooks::injectStyleAndJS';
464465 $wgHooks['MakeGlobalVariablesScript'][] = 'FlaggedRevsHooks::injectGlobalJSVars';
465466
466 -# Cache updates
 467+# Extra cache updates for stable versions
467468 $wgHooks['HTMLCacheUpdate::doUpdate'][] = 'FlaggedRevsHooks::doCacheUpdate';
468469
469470 # Duplicate flagged* tables in parserTests.php

Status & tagging log