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

Depends on I4e6db89a688 in mediawiki-core.

Bug: 56257
Change-Id: I0f9ab45ff2da29c2aac8559b9a0fe35c1dd238de
This commit is contained in:
Timo Tijhof 2014-09-22 11:04:22 -07:00 committed by Krinkle
parent 2f6508d0a0
commit 621e6fbd22
1 changed files with 1 additions and 3 deletions

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' ) )