Index: trunk/extensions/FlaggedRevs/dataclasses/FlaggedRevs.hooks.php |
— | — | @@ -304,7 +304,7 @@ |
305 | 305 | $result = false; |
306 | 306 | return false; |
307 | 307 | } |
308 | | - # Don't let users patrol pages not in $wgFlaggedRevsPatrolNamespaces |
| 308 | + # Don't let users patrol reviewable pages (where reviewed <=> patrolled) |
309 | 309 | } elseif ( $action === 'patrol' || $action === 'autopatrol' ) { |
310 | 310 | $flaggedArticle = FlaggedPage::getTitleInstance( $title ); |
311 | 311 | # For a page to be patrollable it must not be reviewable. |
Index: trunk/extensions/FlaggedRevs/dataclasses/FlaggedPage.php |
— | — | @@ -247,17 +247,6 @@ |
248 | 248 | } |
249 | 249 | |
250 | 250 | /** |
251 | | - * Is this page in patrollable? |
252 | | - * @return bool |
253 | | - */ |
254 | | - public function isPatrollable() { |
255 | | - if ( !FlaggedRevs::inPatrolNamespace( $this->mTitle ) ) { |
256 | | - return false; |
257 | | - } |
258 | | - return !$this->isReviewable(); // pages that are reviewable are not patrollable |
259 | | - } |
260 | | - |
261 | | - /** |
262 | 251 | * Get the stable revision ID |
263 | 252 | * @return int |
264 | 253 | */ |