From 71461de9dee0152faa260af0d7e34195b77466c5 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Mon, 14 Nov 2011 14:40:55 +0000 Subject: [PATCH] Followup r99224: add message to ApiBase::$messageMap too --- includes/api/ApiBase.php | 1 + 1 file changed, 1 insertion(+) 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' ), ); -- 2.20.1