I have installed the MobileFrontend extension on an external wiki, and set the Minerva skin as default for mobile. The Minerva skin is loading correctly when viewing from mobile. However, I'm noticing that Mobile.js never gets loaded. I put a simple console.log('Hello World from Mobile.js')
in Mobile.js, but I never see that message in the console even viewing as mobile from the Chrome developer tools. Are there any settings that need to be set so that Mobile.js gets loaded? Here is my Mobile.js: https://en.seminaverbi.bibleget.io/wiki/MediaWiki:Mobile.js .
Topic on Extension talk:MobileFrontend/Flow
I'm also seeing that Common.js is loading always, instead of being replaced by Mobile.js. I added a console.log('Hello World from Common.js!');
to my Common.js, and I'm seeing this message in the console even when viewing as mobile from Chrome developer tools...
Yes this is the correct behaviour. MobileFrontend loads Common.js and Minerva.js now. Mobile.js is in the process of being removed.
Use Minerva.js for anything specific to the Minerva skin.