EditPage: Wrap the pipe between "Cancel" and "Editing help" links in a <span>
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
This commit is contained in:
parent
35c3f63cc1
commit
49fbff1882
1 changed files with 3 additions and 1 deletions
|
|
@ -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 = '<a target="helpwindow" href="' . $edithelpurl . '">' .
|
||||
|
|
|
|||
Loading…
Reference in a new issue