r92627 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92626‎ | r92627 | r92628 >
Date:11:46, 20 July 2011
Author:reedy
Status:ok
Tags:
Comment:
Remove @return void documentation

Add missing error to getPossibleErrors
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryQueryPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryQueryPage.php
@@ -73,7 +73,6 @@
7474
7575 /**
7676 * @param $resultPageSet ApiPageSet
77 - * @return void
7877 */
7978 public function run( $resultPageSet = null ) {
8079 global $wgUser;
@@ -178,6 +177,7 @@
179178
180179 public function getPossibleErrors() {
181180 return array_merge( parent::getPossibleErrors(), array(
 181+ array( 'specialpage-cantexecute' )
182182 ) );
183183 }
184184

Status & tagging log