r43650 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43649‎ | r43650 | r43651 >
Date:22:42, 17 November 2008
Author:aaron
Status:deferred
Tags:
Comment:
(bug 16375) 'FlaggedRevs blocks/disables Patroller Extension' fixed
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -442,6 +442,12 @@
443443 # Use RC Patrolling to check for vandalism
444444 # When revisions are flagged, they count as patrolled
445445 if( !empty($wgFlaggedRevsNamespaces) ) {
 446+ # If patrolling is already on, then we know that it
 447+ # was intended to have all namespaces patrollable.
 448+ if( $wgUseRCPatrol ) {
 449+ global $wgCanonicalNamespaceNames;
 450+ $wgFlaggedRevsPatrolNamespaces = array_keys( $wgCanonicalNamespaceNames );
 451+ }
446452 $wgUseRCPatrol = true;
447453 }
448454 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r44552Fix for bug 16375. RC interfaces were refactored a while a back and broke thi...aaron23:58, 13 December 2008

Status & tagging log