Manual:$wgDeviceDetectionClass

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