Tweeki icon indicating copy to clipboard operation
Tweeki copied to clipboard

Tweeki MobileFrontend adjusting

Open michiOO opened this issue 3 years ago • 2 comments

Tweeki doesn't seem to support MobileFrontend, but if you install it, it will work. I can get it to work by adjusting the CSS, but However, there is a critical element that prevents the hamburger menu in the header from opening. Is there any way to fix just the element that prevents the hamburger menu from opening?

michiOO avatar May 23 '21 16:05 michiOO

Could you provide more details or maybe a screenshot? What is the critical element you were mentioning?

I haven't been using MobileFrontend but what I can see from the extension page on mediawiki.org it's possible to specify skin for the mobile view. What skin do you use? Is the problem that Tweeki somehow interferes with it?

thaider avatar May 27 '21 18:05 thaider

Set Tweeki as the standard skin and run MobileFrontend. Add $wgMFAutodetectMobileView = true;.

wfLoadSkin( 'MinervaNeue' ); $wgMFDefaultSkinClass = 'SkinMinerva'; Do not add

The above configuration will look like the attached capture. There is a display collapse, but this can be adjusted with CSS. However, the hamburger menu in the header does not open.

I know this is not recommended, but if we can solve the problem of the JS not opening the hamburger menu, it will be possible to use the mobile menu using Tweeki's design. I hope you will consider and verify this.

Translated with www.DeepL.com/Translator (free version) mobilefrontend

michiOO avatar May 29 '21 17:05 michiOO