Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -442,6 +442,12 @@ |
443 | 443 | # Use RC Patrolling to check for vandalism |
444 | 444 | # When revisions are flagged, they count as patrolled |
445 | 445 | 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 | + } |
446 | 452 | $wgUseRCPatrol = true; |
447 | 453 | } |
448 | 454 | } |