Rename 'file-session-key' in api message map
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 4 Aug 2012 14:05:21 +0000 (16:05 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 4 Aug 2012 14:05:21 +0000 (16:05 +0200)
Follow up r92009

Change-Id: I4752d47e54f4b13101400bed097eccc525e8506e

includes/api/ApiBase.php

index 77e1356..d0d0fa2 100644 (file)
@@ -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.' ),