From: MatmaRex Date: Fri, 26 Jul 2013 10:16:05 +0000 (+0200) Subject: EditPage: Wrap the pipe between "Cancel" and "Editing help" links in a X-Git-Tag: 1.31.0-rc.0~18964^2 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=49fbff1882fa2d252acc21d496110b93e26b7375;p=lhc%2Fweb%2Fwiklou.git EditPage: Wrap the pipe between "Cancel" and "Editing help" links in a This will make it possible to hide or style it without nasty hacks like the one Vector extension's ext.vector.footerCleanup module uses. Bug: 43689 Change-Id: Id9269876939d3453c53473f7e3650c375f6fdd22 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 22cf79533d..f8788b7c23 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2881,7 +2881,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 = '' .