r19527 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r19526‎ | r19527 | r19528 >
Date:20:45, 20 January 2007
Author:robchurch
Status:old
Tags:
Comment:
(bug 8671) Expose "wpDestFile" as a parameter to "uploadtext", so they can beef up their Commons upload links
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialUpload.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialUpload.php
@@ -722,7 +722,7 @@
723723 "<span class='error'>{$msg}</span>\n" );
724724 }
725725 $wgOut->addHTML( '<div id="uploadtext">' );
726 - $wgOut->addWikiText( wfMsg( 'uploadtext' ) );
 726+ $wgOut->addWikiText( wfMsgNoTrans( 'uploadtext', $this->mDestFile ) );
727727 $wgOut->addHTML( '</div>' );
728728
729729 $sourcefilename = wfMsgHtml( 'sourcefilename' );
Index: trunk/phase3/RELEASE-NOTES
@@ -130,6 +130,7 @@
131131 * (bug 8703) Corrected Talk namespace name for Limburgish (li)
132132 * (bug 8712) Expose user groups as a JavaScript global
133133 * Introduce 'CustomEditor' hook; see docs/hooks.txt for more information
 134+* (bug 8671) Expose "wpDestFile" as a parameter to "uploadtext"
134135
135136 == Languages updated ==
136137