(bug 21180) Move the old toolbar below the summary input to match the new toolbar
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 25 Apr 2011 11:35:40 +0000 (11:35 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 25 Apr 2011 11:35:40 +0000 (11:35 +0000)
includes/EditPage.php

index 89233ee..882c72b 100644 (file)
@@ -1336,7 +1336,6 @@ class EditPage {
                        // @todo move this to a cleaner conditional instead of blanking a variable
                }
                $wgOut->addHTML( <<<HTML
-{$toolbar}
 <form id="editform" name="editform" method="post" action="$action" enctype="multipart/form-data">
 HTML
 );
@@ -1390,6 +1389,8 @@ HTML
                }
 
                $wgOut->addHTML( $this->editFormTextBeforeContent );
+               
+               $wgOut->addHTML( $toolbar );
 
                if ( $this->isConflict ) {
                        // In an edit conflict bypass the overrideable content form method