--- Comment #5 from Reedy <> 2011-03-04 14:15:08 UTC ---
(In reply to comment #4)
> May I *strongly* suggest that you do not use JavaScript to perform the
> redirection.  Any device detection should be done server-side.
> Many mobile phones - especially those in the developing world - don't have
> JavaScript, or have non-compliant implementations, or have it switched off for
> performance reasons.
> Even if a device does use JS, it still has to load the entire page of HTML
> which for many people will be a slow and costly experience.  If people are
> paying per MB on a GPRS connection, they will not get a great experience.
> Best practice would be to use a service like DeviceAtlas
> ( or WURFL ( to parse
> User Agent strings on the server, then 302 redirect them.
> Alternatively, an .htaccess modification would work as well.
> I don't know enough about Wikimedia architecture to know which is the best in
> this case.  What I do know is relying on client-side redirection is not safe.

See bug 24859

Configure bugmail:
------- 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

Reply via email to