Skip to content

Commit f95d71d

Browse files
committed
WIP: fix disappeared logo bug
Bug: T413993
1 parent 3398acb commit f95d71d

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

dist-persist/wbstack/src/Settings/LocalSettings.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,13 @@
180180
// Logos
181181
$wgLogos = [
182182
"1x" => $wikiInfo->getSetting('wgLogo'),
183+
"icon" => $wikiInfo->getSetting('wgLogo'),
183184
];
184185
if( $wgLogos["1x"] === null ) {
185186
// Fallback to the mediawiki logo without the wgLogo overlay
186187
$wgLogos = [
187188
"1x" => "/w/resources/assets/wikibase_cloud.svg",
189+
"icon" => "/w/resources/assets/wikibase_cloud.svg",
188190
];
189191
}
190192

dist/wbstack/src/Settings/LocalSettings.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,13 @@
180180
// Logos
181181
$wgLogos = [
182182
"1x" => $wikiInfo->getSetting('wgLogo'),
183+
"icon" => $wikiInfo->getSetting('wgLogo'),
183184
];
184185
if( $wgLogos["1x"] === null ) {
185186
// Fallback to the mediawiki logo without the wgLogo overlay
186187
$wgLogos = [
187188
"1x" => "/w/resources/assets/wikibase_cloud.svg",
189+
"icon" => "/w/resources/assets/wikibase_cloud.svg",
188190
];
189191
}
190192

0 commit comments

Comments
 (0)