(bug 8671) Expose "wpDestFile" as a parameter to "uploadtext", so they can beef up...
authorRob Church <robchurch@users.mediawiki.org>
Sat, 20 Jan 2007 20:45:52 +0000 (20:45 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Sat, 20 Jan 2007 20:45:52 +0000 (20:45 +0000)
RELEASE-NOTES
includes/SpecialUpload.php

index 7666911..40c28e7 100644 (file)
@@ -130,6 +130,7 @@ lighter making things easier to read.
 * (bug 8703) Corrected Talk namespace name for Limburgish (li)
 * (bug 8712) Expose user groups as a JavaScript global
 * Introduce 'CustomEditor' hook; see docs/hooks.txt for more information
+* (bug 8671) Expose "wpDestFile" as a parameter to "uploadtext"
 
 == Languages updated ==
 
index 1e6b0a2..a27d7b7 100644 (file)
@@ -722,7 +722,7 @@ class UploadForm {
                          "<span class='error'>{$msg}</span>\n" );
                }
                $wgOut->addHTML( '<div id="uploadtext">' );
-               $wgOut->addWikiText( wfMsg( 'uploadtext' ) );
+               $wgOut->addWikiText( wfMsgNoTrans( 'uploadtext', $this->mDestFile ) );
                $wgOut->addHTML( '</div>' );
 
                $sourcefilename = wfMsgHtml( 'sourcefilename' );