Followup r70474 and r70461, drop missingparam from getPossibleErrors
authorSam Reed <reedy@users.mediawiki.org>
Wed, 4 Aug 2010 19:32:23 +0000 (19:32 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 4 Aug 2010 19:32:23 +0000 (19:32 +0000)
includes/api/ApiQueryBacklinks.php

index 04fe405..1748c2d 100644 (file)
@@ -469,7 +469,6 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase {
        public function getPossibleErrors() {
                return array_merge( parent::getPossibleErrors(), array(
                        array( 'invalidtitle', 'title' ),
-                       array( 'missingparam', 'title' ),
                        array( 'code' => 'bad_image_title', 'info' => "The title for {$this->getModuleName()} query must be an image" ),
                        array( 'code' => '_badcontinue', 'info' => 'Invalid continue param. You should pass the original value returned by the previous query' ),
                ) );