Nischayn22 has uploaded a new change for review. https://gerrit.wikimedia.org/r/49501
Change subject: (bug 44065) [Draft] fix incompatibility with PageTriage. ...................................................................... (bug 44065) [Draft] fix incompatibility with PageTriage. Drafting as I know this is not the right way to do this :p Please suggest what to do as I have no idea. Change-Id: I5512d3bad5b7cdcd8c2cfd2c9c92ebb99cadba13 --- M backend/FlaggedRevs.hooks.php 1 file changed, 0 insertions(+), 8 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/FlaggedRevs refs/changes/01/49501/1 diff --git a/backend/FlaggedRevs.hooks.php b/backend/FlaggedRevs.hooks.php index 98b656f..c75d1d2 100644 --- a/backend/FlaggedRevs.hooks.php +++ b/backend/FlaggedRevs.hooks.php @@ -320,14 +320,6 @@ $result = false; return false; } - # Don't let users patrol reviewable pages (where reviewed <=> patrolled) - } elseif ( $action === 'patrol' || $action === 'autopatrol' ) { - $flaggedArticle = FlaggableWikiPage::getTitleInstance( $title ); - # For a page to be patrollable it must not be reviewable. - if ( $flaggedArticle->isReviewable() ) { - $result = false; - return false; // patrol by "accepting" - } # Enforce autoreview/review restrictions } elseif ( $action === 'autoreview' || $action === 'review' ) { # Get autoreview restriction settings... -- To view, visit https://gerrit.wikimedia.org/r/49501 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5512d3bad5b7cdcd8c2cfd2c9c92ebb99cadba13 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/FlaggedRevs Gerrit-Branch: master Gerrit-Owner: Nischayn22 <nischay...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits