Hi, I'm using the Widgets extension to embed disqus comments in articles. However in mobile view the comments disappear. I've checked the page source and in the nomal version there is some JS: pastebin. In the mobile version it is removed: pastebin
Topic on Extension talk:MobileFrontend
Currently extensions have to register themselves for mobile, which is a relatively easy code change, but also will require some extensive testing. It might be worth raising a bug in the widgets extension so we can explore the best way of doing this for mobile.
so the it's my understanding that mobilefrontend does not include common.js and common.css.
this is probably the right thing to do, as most of the stuff in those two pages is desktop specific.
however, i did not find a way to add site-specific CSS and JS on the mobile view, which does cause issues. is there an alternative for common.js and common.css for mobile? something like "Mediawiki:Mobileview.css" and "Mediawiki:Mobileview.js" which will be loaded?
leaving no per-cite customization options for the mobilefrontend is problematic, IMO.
Correct.. we have Mobile.css and Mobile.js but due to a bug these are currently broken :/
Thanks for your information. I've added this to the Widget extension google group here: https://groups.google.com/forum/#!topic/mediawiki-widgets/WXrMzG1BR_c
I have a similar problem with the ConfirmEdit extension together with Recaptcha mode.
Is there any documentation available how the extension can be registered for mobile?
Thank you, Christoph
I've started this (incomplete) page: http://www.mediawiki.org/wiki/ResourceLoader/Writing_a_MobileFrontend_Friendly_ResourceLoader_module#Making_your_modules_mobile_friendly