currently, MobileFrontend does not support to add a logo (like $wgLogo for the
"desktop" site/Vector skin). In an ideal world, there would be support for it,
and ideally it would simply share the "wgLogo" configuration parameter (like the
desktop site). In a more ideal world (:P), $wgLogo would allow you to set different sizes
of the logo (like big, medium, small or something else), so that MobileFrontend does not
use the "big", but the "small" logo if one is defined to fit better to
smaller screens. But, like I said, this is the ideal world, and we currently don't
life in it.
The best option you have (for a logo that is different to different urls, instead of
installations) is to modify the MobileFrontend code, which you should avoid for any price!
Would you like to open a task in phabricator (https://phabricator.wikimedia.org
requests support for a logo in MobileFrontend? If you do that, would you like to send the
task number (TXXXX) back to this list as an answer to this mail? :)
Von: Mobile-l [mailto:firstname.lastname@example.org] Im Auftrag von Yellow Dog
Gesendet: Samstag, 10. September 2016 11:14
Betreff: [WikimediaMobile] Logo option in pull out drawer?
Near line 29 of menu.mustache I can drop in an an <img
src="path/to/my_logo.png"> src tag for it to appear just below the Log in or
log out button of MobileFrontend, although placing an image here is not a builtin option
as far as I know.
Ideally I would like to have the option of adding a logo in this place via LocalSettings,
as my wiki installation along with the MobileFrontend skin is used for more than one wiki,
but the logo needs to be different for each wiki instance.
Alternatively, I can add a site-specific logo option depending on a
$_SERVER["SERVER_NAME"] variable somewhere in the skin's PHP code.
Does anyone here happen know how and in which file(s) this may best be done?
Mobile-l mailing list