Last modified: 2009-10-08 18:19:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23028, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21028 - Use upload-file-error on SpecialUpload::showerror()
Use upload-file-error on SpecialUpload::showerror()
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.16.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Michael Dale
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-06 21:23 UTC by Platonides
Modified: 2009-10-08 18:19 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Platonides 2009-10-06 21:23:13 UTC
The text 'Internal error' on SpecialUpload::showError() should use the message upload-file-error (removed on r53282) instead of internalerror.

Index: SpecialUpload.php
===================================================================
--- SpecialUpload.php	(revision 57435)
+++ SpecialUpload.php	(working copy)
@@ -989,7 +989,7 @@
 	 */
 	function showError( $description ) {
 		global $wgOut;
-		$wgOut->setPageTitle( wfMsg( "internalerror" ) );
+		$wgOut->setPageTitle( wfMsg( "upload-file-error" ) );
 		$wgOut->setRobotPolicy( "noindex,nofollow" );
 		$wgOut->setArticleRelated( false );
 		$wgOut->enableClientCache( false );
Comment 1 Michael Dale 2009-10-08 18:19:10 UTC
* updated in r57528 ( MessageEn.php seems to have the same msg for both errors though... ) 

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links