summaryrefslogtreecommitdiff
path: root/skins/MonoBook/MonoBookTemplate.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2015-06-04 07:31:04 +0200
committerPierre Schmitz <pierre@archlinux.de>2015-06-04 07:58:39 +0200
commitf6d65e533c62f6deb21342d4901ece24497b433e (patch)
treef28adf0362d14bcd448f7b65a7aaf38650f923aa /skins/MonoBook/MonoBookTemplate.php
parentc27b2e832fe25651ef2410fae85b41072aae7519 (diff)
Update to MediaWiki 1.25.1
Diffstat (limited to 'skins/MonoBook/MonoBookTemplate.php')
-rw-r--r--skins/MonoBook/MonoBookTemplate.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/skins/MonoBook/MonoBookTemplate.php b/skins/MonoBook/MonoBookTemplate.php
index 8637b087..12f7016f 100644
--- a/skins/MonoBook/MonoBookTemplate.php
+++ b/skins/MonoBook/MonoBookTemplate.php
@@ -55,11 +55,12 @@ class MonoBookTemplate extends BaseTemplate {
}
?>
+ <?php echo $this->getIndicators(); ?>
<h1 id="firstHeading" class="firstHeading" lang="<?php
$this->data['pageLanguage'] =
$this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode();
$this->text( 'pageLanguage' );
- ?>"><span dir="auto"><?php $this->html( 'title' ) ?></span></h1>
+ ?>"><?php $this->html( 'title' ) ?></h1>
<div id="bodyContent" class="mw-body-content">
<div id="siteSub"><?php $this->msg( 'tagline' ) ?></div>
@@ -126,8 +127,10 @@ class MonoBookTemplate extends BaseTemplate {
<?php
echo Html::element( 'a', array(
'href' => $this->data['nav_urls']['mainpage']['href'],
- 'style' => "background-image: url({$this->data['logopath']});" )
- + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) ); ?>
+ 'class' => 'mw-wiki-logo',
+ )
+ + Linker::tooltipAndAccesskeyAttribs( 'p-logo' )
+ ); ?>
</div>
<?php
@@ -183,6 +186,7 @@ class MonoBookTemplate extends BaseTemplate {
$this->printTrail();
echo Html::closeElement( 'body' );
echo Html::closeElement( 'html' );
+ echo "\n";
wfRestoreWarnings();
} // end of execute() method