* (bug 18116) 'edittools' is now output identically on edit and upload pages
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 23 Mar 2009 19:05:28 +0000 (19:05 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 23 Mar 2009 19:05:28 +0000 (19:05 +0000)
RELEASE-NOTES
includes/specials/SpecialUpload.php

index 4bda39e..ab11533 100644 (file)
@@ -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
index 7d28a38..ab81e4f 100644 (file)
@@ -1261,7 +1261,9 @@ wgUploadAutoFill = {$autofill};
                                <td></td>
                                <td class='mw-input'>"
                );
-               $wgOut->addWikiText( wfMsgForContent( 'edittools' ) );
+               $wgOut->addHTML( '<div class="mw-editTools">' );
+               $wgOut->addWikiMsgArray( 'edittools', array(), array( 'content' ) );
+               $wgOut->addHTML( '</div>' );
                $wgOut->addHTML( "
                                </td>
                        </tr>" .