mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
Don't output an empty h1 element
Bug: T97891 Change-Id: Iad1fec58773e42b66030bff505113e43e66e807f
This commit is contained in:
parent
d32e46de60
commit
19b3bda973
|
@ -106,12 +106,14 @@ class VectorTemplate extends BaseTemplate {
|
|||
if ( is_callable( array( $this, 'getIndicators' ) ) ) {
|
||||
echo $this->getIndicators();
|
||||
}
|
||||
if ( !empty( $this->data['title'] ) ) {
|
||||
?>
|
||||
<h1 id="firstHeading" class="firstHeading" lang="<?php
|
||||
$this->data['pageLanguage'] =
|
||||
$this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode();
|
||||
$this->text( 'pageLanguage' );
|
||||
?>"><?php $this->html( 'title' ) ?></h1>
|
||||
<?php } ?>
|
||||
<?php $this->html( 'prebodyhtml' ) ?>
|
||||
<div id="bodyContent" class="mw-body-content">
|
||||
<?php
|
||||
|
|
Loading…
Reference in a new issue