Topic on Skin talk:Medik

Jump to navigation Jump to search

Feature request: Wiki short name for mobile

Summary by Slepi

Resolved in version 3.0.11 or later.

Kghbln (talkcontribs)

Currently it is only possible to either hide the wikis name or not. I guess it will be a great improvement if it were possible to set an alternative short name shown on mobile view only.

On Semantic MediaWiki - Sandbox the text is definitively too long for the mobile view thus being able to set "SMW - Sandbox" for mobile view will be great. Other skins like Pivot and Foreground have a feature like this.

If I set $wgMedikUseLogoWithoutText = true; the wiki's name is both hidden from classic and mobile view which is not really preferred.

Thank you for considering and keep up your work on this cool skin.

Slepi (talkcontribs)

Hi @Kghbln, that's nice idea, thanks! I'll try to do that. Should this be a short name only for mobile?

(Note: $wgMedikUseLogoWithoutText = true; was meant rather when the logo also contains the wiki's name.)

Kghbln (talkcontribs)

This will be really cool. This should be for mobile only. On wider screens the wiki's name in regular length shows and is cool.

Thanks also for your info on $wgMedikUseLogoWithoutText = true;. Indeed I just tried it to see if it could make sense.

Slepi (talkcontribs)

@Kghbln Uh, I've tried to implement this somehow. Please try version 3.0.11 and set $wgMedikMobileSitename = 'ShortWiki'; in your LocalSettings.php. Thanks for the idea! ;-)

Kghbln (talkcontribs)

Perfect!!! Just tried this. Works like charm! Much appreciated and many kudos!!