Move cancel link out of editHelp span and wrap in 'cancelLink' span.
authorRob Moen <rmoen@wikimedia.org>
Wed, 29 Aug 2012 21:20:02 +0000 (14:20 -0700)
committerRob Moen <rmoen@wikimedia.org>
Wed, 29 Aug 2012 21:20:02 +0000 (14:20 -0700)
Change-Id: I203a3eaf2f171bba81e11806e3632c2bc012458c

includes/EditPage.php

index 48ac32b..f9bba19 100644 (file)
@@ -2490,7 +2490,8 @@ HTML
                $edithelp = '<a target="helpwindow" href="' . $edithelpurl . '">' .
                        wfMessage( 'edithelp' )->escaped() . '</a> ' .
                        wfMessage( 'newwindow' )->escaped();
-               $wgOut->addHTML( "      <span class='editHelp'>{$cancel}{$edithelp}</span>\n" );
+               $wgOut->addHTML( "      <span class='cancelLink'>{$cancel}</span>\n" );
+               $wgOut->addHTML( "      <span class='editHelp'>{$edithelp}</span>\n" );
                $wgOut->addHTML( "</div><!-- editButtons -->\n</div><!-- editOptions -->\n" );
        }