From: Roan Kattouw Date: Mon, 14 Nov 2011 14:40:55 +0000 (+0000) Subject: Followup r99224: add message to ApiBase::$messageMap too X-Git-Tag: 1.31.0-rc.0~26514 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=71461de9dee0152faa260af0d7e34195b77466c5;p=lhc%2Fweb%2Fwiklou.git Followup r99224: add message to ApiBase::$messageMap too --- diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index e84ce573f5..a0d8942221 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1179,6 +1179,7 @@ abstract class ApiBase extends ContextSource { 'copyuploaddisabled' => array( 'code' => 'copyuploaddisabled', 'info' => 'Uploads by URL is not enabled. Make sure $wgAllowCopyUploads is set to true in LocalSettings.php.' ), 'filename-tooshort' => array( 'code' => 'filename-tooshort', 'info' => 'The filename is too short' ), + 'filename-toolong' => array( 'code' => 'filename-toolong', 'info' => 'The filename is too long' ), 'illegal-filename' => array( 'code' => 'illegal-filename', 'info' => 'The filename is not allowed' ), 'filetype-missing' => array( 'code' => 'filetype-missing', 'info' => 'The file is missing an extension' ), );