https://bugzilla.wikimedia.org/show_bug.cgi?id=36894

--- Comment #2 from Patrick Reilly <[email protected]> 2012-05-16 21:47:32 
UTC ---
Well, we do have:
$detector = new DeviceDetection();
$userAgent = $_SERVER['HTTP_USER_AGENT'];
$acceptHeader = isset( $_SERVER["HTTP_ACCEPT"] ) ? $_SERVER["HTTP_ACCEPT"] :
'';
$formatName = $detector->detectFormatName( $userAgent, $acceptHeader );

We would just need to refactor for a non wmf mode to sent that return value as
the xdevice.

— Patrick

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to