Thread:Extension talk:MobileFrontend/Suggestion for more stable device detection using Extension:MobileDetect

I may have found a more stable way to detect devices using Extension:MobileDetect instead of MobileFrontend's device detection. If not more stable in mw1.20, this does have the advantage of being compatible with MediaWiki 1.19.1 and possibly with earlier deployments.

I recommend that MF users download and install Extension:MobileDetect, comment out the contents of public function isMobileDevice of MobileFrontend/MobileContext.php (lines 100-106), and change that to "return mobiledetect;"

So this...

was changed to this...

This might be a good addition to the Extension:MobileFrontend page.