From e404ff710869aa9dc0b4df5e1952724aa329e3e5 Mon Sep 17 00:00:00 2001 From: Rob Moen Date: Tue, 28 Aug 2012 18:50:15 -0700 Subject: [PATCH] Move copyright warning to directly above buttons. Please see: http://www.mediawiki.org/wiki/Micro_Design_Improvements Change-Id: Ida02149880aae00f790cb414ae3d632aac351651 --- includes/EditPage.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 038916861e..48ac32bc93 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1886,10 +1886,6 @@ class EditPage { $wgOut->addHTML( $this->editFormTextAfterContent ); - $wgOut->addWikiText( $this->getCopywarn() ); - - $wgOut->addHTML( $this->editFormTextAfterWarn ); - $this->showStandardInputs(); $this->showFormAfterText(); @@ -2478,6 +2474,11 @@ HTML $checkboxes = $this->getCheckboxes( $tabindex, array( 'minor' => $this->minoredit, 'watch' => $this->watchthis ) ); $wgOut->addHTML( "
" . implode( $checkboxes, "\n" ) . "
\n" ); + + // Show copyright warning. + $wgOut->addWikiText( $this->getCopywarn() ); + $wgOut->addHTML( $this->editFormTextAfterWarn ); + $wgOut->addHTML( "
\n" ); $wgOut->addHTML( implode( $this->getEditButtons( $tabindex ), "\n" ) . "\n" ); -- 2.20.1