Use mw-wiki-logo class instead of inline background-image

Depends on I89e32fcd2 in mediawiki-core.

Bug: 56257
Change-Id: I890a7c3ec1531bc630aa8274f3e6ce28810d1b02
This commit is contained in:
Timo Tijhof 2014-09-22 11:04:22 -07:00 committed by Krinkle
parent 697521b042
commit 9ebb220b7f

View file

@ -187,9 +187,7 @@ class VectorTemplate extends BaseTemplate {
</div>
</div>
<div id="mw-panel">
<div id="p-logo" role="banner"><a style="background-image: url(<?php
$this->text( 'logopath' )
?>);" href="<?php
<div id="p-logo" role="banner"><a class="mw-wiki-logo" href="<?php
echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] )
?>" <?php
echo Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) )