r70476 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70475‎ | r70476 | r70477 >
Date:19:32, 4 August 2010
Author:reedy
Status:ok
Tags:
Comment:
Followup r70474 and r70461, drop missingparam from getPossibleErrors
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryBacklinks.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryBacklinks.php
@@ -469,7 +469,6 @@
470470 public function getPossibleErrors() {
471471 return array_merge( parent::getPossibleErrors(), array(
472472 array( 'invalidtitle', 'title' ),
473 - array( 'missingparam', 'title' ),
474473 array( 'code' => 'bad_image_title', 'info' => "The title for {$this->getModuleName()} query must be an image" ),
475474 array( 'code' => '_badcontinue', 'info' => 'Invalid continue param. You should pass the original value returned by the previous query' ),
476475 ) );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r70461Followup to r70460: Committed wrong version of ApiBase.php, convert all core ...soxred9314:15, 4 August 2010
r70474Followup r70461 if PARAM_REQUIRED is set, use for missing param in getPossibl...reedy19:20, 4 August 2010

Status & tagging log