Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -89,10 +89,6 @@ |
90 | 90 | $skin = $wgUser->getSkin(); |
91 | 91 | |
92 | 92 | $action = $wgRequest->getVal( 'action', 'view' ); |
93 | | - # Do not clutter up diffs any further... |
94 | | - if( $wgRequest->getVal('diff') || $wgRequest->getVal('oldid') ) { |
95 | | - return true; |
96 | | - } |
97 | 93 | # For unreviewable pages, allow for basic patrolling |
98 | 94 | if( !FlaggedRevs::isPageReviewable( $article->getTitle() ) ) { |
99 | 95 | # If we have been passed an &rcid= parameter, we want to give the user a |
— | — | @@ -110,6 +106,10 @@ |
111 | 107 | } |
112 | 108 | return true; |
113 | 109 | } |
| 110 | + # Do not clutter up diffs any further... |
| 111 | + if( $wgRequest->getVal('diff') || $wgRequest->getVal('oldid') ) { |
| 112 | + return true; |
| 113 | + } |
114 | 114 | # Only trigger on article view for content pages, not for protect/delete/hist |
115 | 115 | if( ($action !='view' && $action !='purge') || !$article || !$article->exists() ) |
116 | 116 | return true; |