From 49fbff1882fa2d252acc21d496110b93e26b7375 Mon Sep 17 00:00:00 2001 From: MatmaRex Date: Fri, 26 Jul 2013 12:16:05 +0200 Subject: [PATCH] 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 --- includes/EditPage.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = '' . -- 2.20.1