From: Brion Vibber Date: Mon, 23 Mar 2009 19:05:28 +0000 (+0000) Subject: * (bug 18116) 'edittools' is now output identically on edit and upload pages X-Git-Tag: 1.31.0-rc.0~42404 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=be4522f420017be336a79de429726046484fc888;p=lhc%2Fweb%2Fwiklou.git * (bug 18116) 'edittools' is now output identically on edit and upload pages --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4bda39ec9a..ab11533782 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -282,6 +282,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 17537) Disable bad zlib.output_compression output on HTTP 304 responses * (bug 11213) [edit] section links in printable version no longer appear when you cut-and-paste article text * (bug 17405) "Did you mean" to mirror Go/Search behavior of original request +* (bug 18116) 'edittools' is now output identically on edit and upload pages == API changes in 1.15 == * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions diff --git a/includes/specials/SpecialUpload.php b/includes/specials/SpecialUpload.php index 7d28a38c3d..ab81e4fd2e 100644 --- a/includes/specials/SpecialUpload.php +++ b/includes/specials/SpecialUpload.php @@ -1261,7 +1261,9 @@ wgUploadAutoFill = {$autofill}; " ); - $wgOut->addWikiText( wfMsgForContent( 'edittools' ) ); + $wgOut->addHTML( '
' ); + $wgOut->addWikiMsgArray( 'edittools', array(), array( 'content' ) ); + $wgOut->addHTML( '
' ); $wgOut->addHTML( " " .