From bb0975708e9c59308545fa72ca403339379e3a2e Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 4 Aug 2012 16:05:21 +0200 Subject: [PATCH] Rename 'file-session-key' in api message map Follow up r92009 Change-Id: I4752d47e54f4b13101400bed097eccc525e8506e --- includes/api/ApiBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 77e1356a11..d0d0fa2a41 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1342,7 +1342,7 @@ abstract class ApiBase extends ContextSource { 'edit-already-exists' => array( 'code' => 'edit-already-exists', 'info' => "It seems the page you tried to create already exist" ), // uploadMsgs - 'invalid-session-key' => array( 'code' => 'invalid-session-key', 'info' => 'Not a valid session key' ), + 'invalid-file-key' => array( 'code' => 'invalid-file-key', 'info' => 'Not a valid file key' ), 'nouploadmodule' => array( 'code' => 'nouploadmodule', 'info' => 'No upload module set' ), 'uploaddisabled' => array( 'code' => 'uploaddisabled', 'info' => 'Uploads are not enabled. Make sure $wgEnableUploads is set to true in LocalSettings.php and the PHP ini setting file_uploads is true' ), 'copyuploaddisabled' => array( 'code' => 'copyuploaddisabled', 'info' => 'Uploads by URL is not enabled. Make sure $wgAllowCopyUploads is set to true in LocalSettings.php.' ), -- 2.20.1