$out->addHTML( implode( $this->getEditButtons( $tabindex ), "\n" ) . "\n" );
$cancel = $this->getCancelLink();
- if ( $cancel !== '' ) {
- $cancel .= Html::element( 'span',
- [ 'class' => 'mw-editButtons-pipe-separator' ],
- $this->context->msg( 'pipe-separator' )->text() );
- }
$message = $this->context->msg( 'edithelppage' )->inContentLanguage()->text();
$edithelpurl = Skin::makeInternalOrExternalUrl( $message );
display: inline-block;
vertical-align: middle;
}
-
- // FIXME: Remove CSS magic together with DOM element in T183672
- .mw-editButtons-pipe-separator {
- display: inline-block;
- padding-top: 0.625em;
- padding-bottom: 0.546875em;
- line-height: 1.172em;
- vertical-align: middle;
- }
}