From dec16a90a494ab906c364e6bc1ae2476af04a754 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sat, 20 Jan 2007 20:45:52 +0000 Subject: [PATCH] (bug 8671) Expose "wpDestFile" as a parameter to "uploadtext", so they can beef up their Commons upload links --- RELEASE-NOTES | 1 + includes/SpecialUpload.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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' ); -- 2.20.1