$wgMobileFrontendLogo is used for a standalone icon. It should make use of wgLogos
Soon as part of T246170 we will be adding an icon field pointing to the project standalone logo. and will be converted to an SVG
In preparation for that I suggest we replace usages of $wgMobileFrontendLogo with ResourceLoaderSkinModule::getAvailableLogos( $config )['icon']
Acceptance criteria
- Update config to add icon field to wgLogos and to map to $wgMobileFrontendLogo
- Update MobileFrontend to use wgLogos
[x ] Drop $wgMobileFrontendLogo config (https://gerrit.wikimedia.org/r/c/584734)
QA
- Visit login page on https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:UserLogin
- Confirm it shows a W logo.
- Visit https://en.m.wikivoyage.beta.wmflabs.org/wiki/Special:UserLogin and confirm logo matches the wikivoyage logo.
- Visit https://en.m.wikisource.beta.wmflabs.org/wiki/Special:UserLogin and confirm logo matches the wikisource logo
- Visit https://commons.m.wikimedia.beta.wmflabs.org/w/index.php?title=Special:UserLogin&returnto=Main+Page&returntoquery=mobileaction%3Dtoggle_view_mobile and confirm the commons logo matches.
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T248500#6023446 |
2 | ✅ | T248500#6023446 |
3 | ✅ | T248500#6023446 |
4 | ✅ | T248500#6023446 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T248500#6023487 |
2 | ✅ | T248500#6023487 |
3 | ✅ | T248500#6023487 |
4 | ✅ | T248500#6023487 |