diff --git a/VectorTemplate.php b/VectorTemplate.php index 031e6f0..110d902 100644 --- a/VectorTemplate.php +++ b/VectorTemplate.php @@ -61,30 +61,40 @@ class VectorTemplate extends BaseTemplate { data['sitenotice'] ) { - ?> -
html( 'sitenotice' ) ?>
- 'mw-body-content' ], + // Raw HTML + $this->get( 'sitenotice' ) + ); } - ?> - getIndicators(); } // Loose comparison with '!=' is intentional, to catch null and false too, but not '0' if ( $this->data['title'] != '' ) { + echo Html::rawElement( 'h1', + [ + 'id' => 'firstHeading', + 'class' => 'firstHeading', + 'lang' => $this->get( 'pageLanguage' ), + ], + // Raw HTML + $this->get( 'title' ) + ); + } + + $this->html( 'prebodyhtml' ); ?> -

html( 'title' ) - ?>

- - html( 'prebodyhtml' ) ?>
data['isarticle'] ) { - ?> -
msg( 'tagline' ) ?>
- 'siteSub', + 'class' => 'noprint', + ], + $this->getMsg( 'tagline' )->text() + ); } ?>
html( 'userlangattributes' ) ?>>
data['undelete'] ) { - ?> -
html( 'undelete' ) ?>
- 'contentSub2' ], + // Raw HTML + $this->get( 'undelete' ) + ); } - ?> - data['newtalk'] ) { - ?> -
html( 'newtalk' ) ?>
- 'usermessage' ], + // Raw HTML + $this->get( 'newtalk' ) + ); } ?>