Index: trunk/phase3/includes/api/ApiQueryImageInfo.php |
— | — | @@ -500,7 +500,7 @@ |
501 | 501 | public function getPossibleErrors() { |
502 | 502 | $p = $this->getModulePrefix(); |
503 | 503 | return array_merge( parent::getPossibleErrors(), array( |
504 | | - array( 'code' => 'iiurlwidth', 'info' => 'iiurlheight cannot be used without iiurlwidth' ), |
| 504 | + array( 'code' => 'iiurlwidth', 'info' => "{$p}urlheight cannot be used without {$p}urlwidth" ), |
505 | 505 | array( 'code' => 'urlparam', 'info' => "Invalid value for {$p}urlparam" ), |
506 | 506 | array( 'code' => 'urlparam_no_width', 'info' => "{$p}urlparam requires {$p}urlwidth" ), |
507 | 507 | array( 'code' => 'urlparam_urlwidth_mismatch', 'info' => "The width set in {$p}urlparm doesnt't " . |
Index: trunk/phase3/includes/api/ApiQueryStashImageInfo.php |
— | — | @@ -137,12 +137,6 @@ |
138 | 138 | return 'Returns image information for stashed images'; |
139 | 139 | } |
140 | 140 | |
141 | | - public function getPossibleErrors() { |
142 | | - return array_merge( parent::getPossibleErrors(), array( |
143 | | - array( 'code' => 'siiurlwidth', 'info' => 'siiurlheight cannot be used without iiurlwidth' ), |
144 | | - ) ); |
145 | | - } |
146 | | - |
147 | 141 | protected function getExamples() { |
148 | 142 | return array( |
149 | 143 | 'api.php?action=query&prop=stashimageinfo&siisessionkey=124sd34rsdf567', |