https://bugzilla.wikimedia.org/show_bug.cgi?id=21028

           Summary: Use upload-file-error on SpecialUpload::showerror()
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: enhancement
          Priority: Normal
         Component: Internationalization
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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 );


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to