Topic on Extension talk:MobileFrontend

Skin WPtouch don't Work with MobileFrontend and MW 1.3

2
Summary by Jdlrobson

If an issue, this should be taken up with the developers of Skin:Skin WPtouch. It's likely a compatibility problem.

Shadowman30 (talkcontribs)

I'm currently testing the migration to the latest version 1.3 of Mediawiki. Unfortunately, the mobile presentation of the page does not work there. I use the Skin WPTouch and the extension MobileFrontend. Both latest versions (Skin WPTouch 1.1 (fbcc249) and MobileFrontend 2.0.0 (5ecc673)) However, the presentation is completely flawed and the images are missing as seen in this example:

https://picload.org/view/ddapdaiw/screenshot_20180102-183658.png.html

Normally it looks like this:

https://picload.org/view/ddapdail/screenshot_20180102-183742.png.html

Both screenshots show exactly the same page in the mobile presentation with the Skin WPtouch, only once (top) with MobileFrontend and once with complete conversion to WPtouch. So the skin itself can not be blamed, especially since Mediawiki 1.29 still works fine. Strangely enough, MobileFrontend apparently shatters the presentation. I set the default skin completely on WPtouch and disable MobileFrontend, it looks correct (second screenshot). Unfortunately, I have this skin on the desktop, which of course is wrong. Does anyone have an idea why that may be? Is there an alternative to using MobileFrontend to automatically show mobile on smartphones? Bye, Mike

Jdlrobson (talkcontribs)

Do you even need MobileFrontend? It looks like skin WPTouch may be a responsive skin so it might not be necessary. Is the intention to have WPTouch as your mobile skin or are you hoping to have a separate Minerva skin powered mobile site? If you can manage just the one site (rather than separate mobile/desktop sites that may be preferential). If your desktop site works nicely on a mobile phone, you probably don't need a mobile site or any kind of autodetection (I'm not sure whether that's true for WPTouch skin).

If you do need the separate mobile site, I've not got enough knowledge to know exactly what the problem is but several ideas rise to my mind:

1) You need to configured a mobile skin. By default is will use Skin:MinervaNeue so make sure that's installed! If not similar things could happen.

2) Skin you are trying to use has not been made mobile compatible but it is configured as your mobile skin If this is the case, it should be trivial to fix - https://phabricator.wikimedia.org/diffusion/SWPT/browse/master/skin.json It looks like both skins.wptouch and skins.wptouch.js both need a 'targets': ['desktop','mobile'] entry to be loadable on mobile. You'll need to raise a bug against that skin.