From: Alexandre Emsenhuber Date: Sat, 19 Nov 2011 08:29:49 +0000 (+0000) Subject: Follow-up r103332: fix "invalidoldimage" error message to say "oldimage" instead... X-Git-Tag: 1.31.0-rc.0~26429 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=2c4d6b6992f4fd4a5e57fc0b8a325a623cf1d6cc;p=lhc%2Fweb%2Fwiklou.git Follow-up r103332: fix "invalidoldimage" error message to say "oldimage" instead of "oldid" --- diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index c747b3f806..2627b357f7 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1148,7 +1148,7 @@ abstract class ApiBase extends ContextSource { 'mustbeposted' => array( 'code' => 'mustbeposted', 'info' => "The \$1 module requires a POST request" ), 'show' => array( 'code' => 'show', 'info' => 'Incorrect parameter - mutually exclusive values may not be supplied' ), 'specialpage-cantexecute' => array( 'code' => 'specialpage-cantexecute', 'info' => "You don't have permission to view the results of this special page" ), - 'invalidoldimage' => array( 'code' => 'invalidoldimage', 'info' => 'The oldid parameter has invalid format' ), + 'invalidoldimage' => array( 'code' => 'invalidoldimage', 'info' => 'The oldimage parameter has invalid format' ), 'nodeleteablefile' => array( 'code' => 'nodeleteablefile', 'info' => 'No such old version of the file' ), // ApiEditPage messages