r67681 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67680‎ | r67681 | r67682 >
Date:02:11, 9 June 2010
Author:tomasz
Status:ok
Tags:
Comment:
Adding Blackberry user agent to redirect
Modified paths:
  • /trunk/extensions/WikimediaMobile/MobileRedirect.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WikimediaMobile/MobileRedirect.js
@@ -5,7 +5,7 @@
66 *
77 * You can turn off the redirect by setting the cookie "stopMobileRedirect=true"
88 */
9 -if ( /(Android|iPhone|iPod|webOS|NetFront|Opera Mini|SEMC-Browser|PlayStation Portable|Nintendo Wii)/
 9+if ( /(Android|iPhone|iPod|webOS|NetFront|Opera Mini|SEMC-Browser|PlayStation Portable|Nintendo Wii|BlackBerry)/
1010 .test( navigator.userAgent ) )
1111 {
1212 (function () {

Follow-up revisions

RevisionCommit summaryAuthorDate
r67770merging r67681tomasz01:01, 10 June 2010

Status & tagging log