Extension talk:MobileDetect/Archive
Different main pages for different devices
editIs there a way to set this up so I can have a different "Main Page" for mobile or regular browsing. I have my Main Page laid out in a manner that doesn't work well with the skin I'm using, but I want to keep it and simply have a different Main Page display for mobile devices, such as: Main Page (Mobile). Great extension BTW - really appreciate it! --67.169.112.215
- The extension now has <nomobile> and <mobileonly> tags. If you wrap with <mobileonly> tags the wikitext of the main page that you only want to show to mobile browsers, and with <nomobile> the wikitext that you only want to show to desktop browsers, you can control the looks of the main page for each case. Also, for neatness sake, you may want to have each main page in a different wiki page (maybe a subpage of the main page), and then transclude them into your main page, like so:
<nomobile>{{:Main Page/Desktop}}</nomobile><mobileonly>{{:Main Page/Mobile}}</mobileonly>
. Cheers! --Sophivorus (talk) 04:04, 29 September 2014 (UTC)
Cache
editDoes this extensions work with cache (memcached)? --84.112.40.63 09:20, 10 March 2011 (UTC)
Toggle between skins
editThis extension is working well. There is one problem, user cannot switch between that two skins. If one wants to use computer version of skin, he is unable to change it if he is coming from mobile devices. Can you fix it ? --Petrsorbo (talk) 22:16, 2 March 2015 (UTC)
<mobileonly> and <nomobile> tag are not working
editI just installed this extension but I having two problems:
- The <mobileonly> tag is never been shown, even if it is opened with a mobile device.
- The <nomobile> tag is always been shown, even if it is opened with a mobile device.
Here is a link to where I have been working on
Hope someone can help since this extension really solves my problems.
I am using: MediaWiki 1.22.15 | PHP 5.6.12 (cgi-fcgi) | MySQL 5.5.44-37.3 Link to my Version page
jupajups (talk) 21:16, 13 September 2015 (UTC)
- Thanks for the report jupajups, there was indeed some stuff missing that made the tags not work. I've fixed it now. Download the latest version and try it out! --Sophivorus (talk) 10:59, 16 September 2015 (UTC)
- Now it works perfectly, thanks a lot for your extension and your help --jupajups (talk) 11:34, 17 September 2015 (UTC)
iPad is not considered a mobile device?
editI have been very surprised to see that iPads are not considered as mobile devices. I had to modify the php code in order to make it work as I wanted. Steff-X (talk) 18:43, 5 November 2015 (UTC)
Says support for 1.15+ but doesn't work
edithas addModule functions and such which were added later. can anyone provide link to version which does support 1.15?