Preserve returnto when upload requires logging in
authorMatthew Flaschen <mflaschen@wikimedia.org>
Fri, 21 Jun 2013 02:13:18 +0000 (22:13 -0400)
committerBrian Wolff <bawolff+wn@gmail.com>
Thu, 27 Jun 2013 19:30:31 +0000 (19:30 +0000)
Changes link text to loginreqlink message since
OutputPage->showPermissionsErrorPage passes that in.

Change-Id: Iebde4398cdb74eb2fcc441601f074c93a7ad6073

languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php

index 8629a4f..63f0007 100644 (file)
@@ -2219,7 +2219,7 @@ Pages on [[Special:Watchlist|your watchlist]] are '''bold'''.",
 'reuploaddesc'                => 'Cancel upload and return to the upload form',
 'upload-tryagain'             => 'Submit modified file description',
 'uploadnologin'               => 'Not logged in',
-'uploadnologintext'           => 'You must be [[Special:UserLogin|logged in]] to upload files.',
+'uploadnologintext'           => 'You must $1 to upload files.',
 'upload_directory_missing'    => 'The upload directory ($1) is missing and could not be created by the webserver.',
 'upload_directory_read_only'  => 'The upload directory ($1) is not writable by the webserver.',
 'uploaderror'                 => 'Upload error',
index 9a5fc91..2a5bd46 100644 (file)
@@ -3133,7 +3133,8 @@ See also:
 * {{msg-mw|reuploaddesc|button text}}',
 'uploadnologin' => 'Used as title of the error message {{msg-mw|Uploadnologintext}}.
 {{Identical|Not logged in}}',
-'uploadnologintext' => 'Used as error message. The title for this message is {{msg-mw|Uploadnologin}}.
+'uploadnologintext' => 'Used as error message. The title for this message is {{msg-mw|Uploadnologin}}. Parameters:
+* $1 - Login link
 
 See also:
 * {{msg-mw|Whitelistedittext}}