r110414 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110413‎ | r110414 | r110415 >
Date:18:12, 31 January 2012
Author:yonishostak
Status:ok
Tags:aft 
Comment:
AFTv5: resolve bug 34069 - noindex for special page
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/SpecialArticleFeedbackv5.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/SpecialArticleFeedbackv5.php
@@ -59,6 +59,9 @@
6060 public function execute( $param ) {
6161 global $wgArticleFeedbackv5DashboardCategory;
6262 $out = $this->getOutput();
 63+
 64+ // set robot policy
 65+ $out->setIndexPolicy('noindex');
6366
6467 if( preg_match('/^(.+)\/(\d+)$/', $param, $m ) ) {
6568 $param = $m[1];

Status & tagging log