Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -439,13 +439,13 @@ |
440 | 440 | ######### |
441 | 441 | |
442 | 442 | function efLoadFlaggedRevs() { |
443 | | - global $wgUseRCPatrol, $wgFlaggedRevsNamespaces; |
| 443 | + global $wgUseRCPatrol, $wgUseNPPatrol, $wgFlaggedRevsNamespaces; |
444 | 444 | # Use RC Patrolling to check for vandalism |
445 | 445 | # When revisions are flagged, they count as patrolled |
446 | 446 | if( !empty($wgFlaggedRevsNamespaces) ) { |
447 | 447 | # If patrolling is already on, then we know that it |
448 | 448 | # was intended to have all namespaces patrollable. |
449 | | - if( $wgUseRCPatrol ) { |
| 449 | + if( $wgUseRCPatrol || $wgUseNPPatrol ) { |
450 | 450 | global $wgCanonicalNamespaceNames; |
451 | 451 | $wgFlaggedRevsPatrolNamespaces = array_keys( $wgCanonicalNamespaceNames ); |
452 | 452 | } |