r110453 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110452‎ | r110453 | r110454 >
Date:00:31, 1 February 2012
Author:gregchiasson
Status:ok
Tags:aft 
Comment:
AFT5: Per Oliver, the editors feedback help should be shown to logged in users who aren't in the hider or deleter groups.
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/SpecialArticleFeedbackv5.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/SpecialArticleFeedbackv5.php
@@ -124,6 +124,8 @@
125125 $helpPage = 'Article_Feedback_Tool/Version_5/Help/Feedback_page_Oversighters';
126126 } elseif( $wgUser->isAllowed( 'aftv5-hide-feedback' ) ) {
127127 $helpPage = 'Article_Feedback_Tool/Version_5/Help/Feedback_page_Hiders';
 128+ } elseif( !$wgUser->isAnon() ) {
 129+ $helpPage = 'Article_Feedback_Tool/Version_5/Help/Feedback_page_Editors';
128130 }
129131
130132 $helpTitle = Title::newFromText( $helpPage, 'Wikipedia' );

Status & tagging log