Revision: 43650
Author: aaron
Date: 2008-11-17 22:42:24 +0000 (Mon, 17 Nov 2008)
Log Message:
-----------
(bug 16375) 'FlaggedRevs blocks/disables Patroller Extension' fixed
Modified Paths:
--------------
trunk/extensions/FlaggedRevs/FlaggedRevs.php
Modified: trunk/extensions/FlaggedRevs/FlaggedRevs.php
===================================================================
--- trunk/extensions/FlaggedRevs/FlaggedRevs.php 2008-11-17 22:22:06 UTC
(rev 43649)
+++ trunk/extensions/FlaggedRevs/FlaggedRevs.php 2008-11-17 22:42:24 UTC
(rev 43650)
@@ -442,6 +442,12 @@
# Use RC Patrolling to check for vandalism
# When revisions are flagged, they count as patrolled
if( !empty($wgFlaggedRevsNamespaces) ) {
+ # If patrolling is already on, then we know that it
+ # was intended to have all namespaces patrollable.
+ if( $wgUseRCPatrol ) {
+ global $wgCanonicalNamespaceNames;
+ $wgFlaggedRevsPatrolNamespaces = array_keys(
$wgCanonicalNamespaceNames );
+ }
$wgUseRCPatrol = true;
}
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs