Manual:$wgDeviceDetectionClass

M^^^^h

Details
Name of the class used for mobile device detection, must be inherited from IDeviceDetector.