r102988 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102987‎ | r102988 | r102989 >
Date:14:40, 14 November 2011
Author:catrope
Status:ok
Tags:
Comment:
Followup r99224: add message to ApiBase::$messageMap too
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -1179,6 +1179,7 @@
11801180 'copyuploaddisabled' => array( 'code' => 'copyuploaddisabled', 'info' => 'Uploads by URL is not enabled. Make sure $wgAllowCopyUploads is set to true in LocalSettings.php.' ),
11811181
11821182 'filename-tooshort' => array( 'code' => 'filename-tooshort', 'info' => 'The filename is too short' ),
 1183+ 'filename-toolong' => array( 'code' => 'filename-toolong', 'info' => 'The filename is too long' ),
11831184 'illegal-filename' => array( 'code' => 'illegal-filename', 'info' => 'The filename is not allowed' ),
11841185 'filetype-missing' => array( 'code' => 'filetype-missing', 'info' => 'The file is missing an extension' ),
11851186 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99224Follow-up r98430, use dedicated error message for filename too long error. Ad...btongminh18:20, 7 October 2011

Status & tagging log