Merge "EditPage: Wrap the pipe between "Cancel" and "Editing help" links in a <span>"
authorTheDJ <hartman.wiki@gmail.com>
Thu, 15 Aug 2013 18:31:43 +0000 (18:31 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 15 Aug 2013 18:31:43 +0000 (18:31 +0000)
includes/EditPage.php

index 6281589..59b7480 100644 (file)
@@ -2937,7 +2937,9 @@ HTML
 
                $cancel = $this->getCancelLink();
                if ( $cancel !== '' ) {
-                       $cancel .= wfMessage( 'pipe-separator' )->text();
+                       $cancel .= Html::element( 'span',
+                               array( 'class' => 'mw-editButtons-pipe-separator' ),
+                               wfMessage( 'pipe-separator' )->text() );
                }
                $edithelpurl = Skin::makeInternalOrExternalUrl( wfMessage( 'edithelppage' )->inContentLanguage()->text() );
                $edithelp = '<a target="helpwindow" href="' . $edithelpurl . '">' .