Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -1006,7 +1006,9 @@ |
1007 | 1007 | */ |
1008 | 1008 | public function injectReviewDiffURLParams( $article, &$sectionanchor, &$extraq ) { |
1009 | 1009 | global $wgUser, $wgReviewChangesAfterEdit; |
1010 | | - |
| 1010 | + # Don't show this for the talk page |
| 1011 | + if( !$this->isReviewable() || $article->getTitle()->isTalkPage() ) |
| 1012 | + return true; |
1011 | 1013 | $frev = $this->getStableRev(); |
1012 | 1014 | # Was this already autoreviewed, are we allowed? |
1013 | 1015 | if( $wgReviewChangesAfterEdit && !$this->skipReviewDiff && $frev && $wgUser->isAllowed('review') ) { |