r73462 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73461‎ | r73462 | r73463 >
Date:17:08, 21 September 2010
Author:bharris
Status:ok
Tags:
Comment:
Also don't display for diffs.
Modified paths:
  • /trunk/extensions/ArticleAssessmentPilot/ArticleAssessmentPilot.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleAssessmentPilot/ArticleAssessmentPilot.hooks.php
@@ -66,6 +66,8 @@
6767 // Only show for view actions.
6868 if ( $wgRequest->getVal( 'action' ) !== null && $wgRequest->getVal( 'action' ) !== 'view' ) {
6969 return true;
 70+ } else if ( $wgRequest->getVal( 'diff' ) !== null) {
 71+ return true;
7072 }
7173
7274 global $wgArticleAssessmentCategory;

Status & tagging log