From: Rob Church Date: Sat, 20 Jan 2007 20:45:52 +0000 (+0000) Subject: (bug 8671) Expose "wpDestFile" as a parameter to "uploadtext", so they can beef up... X-Git-Tag: 1.31.0-rc.0~54267 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=dec16a90a494ab906c364e6bc1ae2476af04a754;p=lhc%2Fweb%2Fwiklou.git (bug 8671) Expose "wpDestFile" as a parameter to "uploadtext", so they can beef up their Commons upload links --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7666911340..40c28e756c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/SpecialUpload.php b/includes/SpecialUpload.php index 1e6b0a2a4c..a27d7b789a 100644 --- a/includes/SpecialUpload.php +++ b/includes/SpecialUpload.php @@ -722,7 +722,7 @@ class UploadForm { "{$msg}\n" ); } $wgOut->addHTML( '
' ); - $wgOut->addWikiText( wfMsg( 'uploadtext' ) ); + $wgOut->addWikiText( wfMsgNoTrans( 'uploadtext', $this->mDestFile ) ); $wgOut->addHTML( '
' ); $sourcefilename = wfMsgHtml( 'sourcefilename' );