From: Sam Reed Date: Sun, 20 Feb 2011 13:59:40 +0000 (+0000) Subject: Followup r82509, prefix the code for urlwidth too X-Git-Tag: 1.31.0-rc.0~31859 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=14e998aae524762f06334138970cdd4ac02b2f21;p=lhc%2Fweb%2Fwiklou.git Followup r82509, prefix the code for urlwidth too --- diff --git a/includes/api/ApiQueryImageInfo.php b/includes/api/ApiQueryImageInfo.php index cd82be5887..f0e612a56a 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -500,7 +500,7 @@ class ApiQueryImageInfo extends ApiQueryBase { public function getPossibleErrors() { $p = $this->getModulePrefix(); return array_merge( parent::getPossibleErrors(), array( - array( 'code' => 'iiurlwidth', 'info' => "{$p}urlheight cannot be used without {$p}urlwidth" ), + array( 'code' => "{$p}urlwidth", 'info' => "{$p}urlheight cannot be used without {$p}urlwidth" ), array( 'code' => 'urlparam', 'info' => "Invalid value for {$p}urlparam" ), array( 'code' => 'urlparam_no_width', 'info' => "{$p}urlparam requires {$p}urlwidth" ), array( 'code' => 'urlparam_urlwidth_mismatch', 'info' => "The width set in {$p}urlparm doesnt't " .