Merge "Correctly fall back to $wgLogos['icon'] when not using timeless' speshul junk"

isekai
jenkins-bot 4 years ago committed by Gerrit Code Review
commit 7d9d9fb4ff

@ -523,7 +523,7 @@ class TimelessTemplate extends BaseTemplate {
} }
if ( $part !== 'text' ) { if ( $part !== 'text' ) {
$logoImage = $this->getLogoImage( $config->get( 'TimelessLogo' ) ); $logoImage = $this->getLogoImage( $config->get( 'TimelessLogo' ) );
if ( $logoImage === null && isset( $logos['icon'] ) ) { if ( $logoImage === false && isset( $logos['icon'] ) ) {
$logoSrc = $logos['icon']; $logoSrc = $logos['icon'];
$logoImage = Html::element( 'img', [ $logoImage = Html::element( 'img', [
'src' => $logoSrc, 'src' => $logoSrc,

@ -187,6 +187,12 @@ div.mw-notification-area {
&.timeless-logo { &.timeless-logo {
background-image: none; background-image: none;
img {
max-width: 156px;
height: auto;
margin: 0.75em 0 0.5em;
}
} }
} }

Loading…
Cancel
Save