mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-30 18:35:44 +00:00
Don't output an empty h1 element (once more, with feeling)
Bug: T103077 Change-Id: I786fb10c5688d13b779e84b4d83efc6c0fd992d8
This commit is contained in:
parent
5787f88c8b
commit
51278f2d10
|
@ -110,7 +110,8 @@ class VectorTemplate extends BaseTemplate {
|
|||
if ( is_callable( array( $this, 'getIndicators' ) ) ) {
|
||||
echo $this->getIndicators();
|
||||
}
|
||||
if ( isset( $this->data['title'] ) ) {
|
||||
// Loose comparison with '!=' is intentional, to catch null and false too, but not '0'
|
||||
if ( $this->data['title'] != '' ) {
|
||||
?>
|
||||
<h1 id="firstHeading" class="firstHeading" lang="<?php $this->text( 'pageLanguage' ); ?>"><?php
|
||||
$this->html( 'title' )
|
||||
|
|
Loading…
Reference in a new issue