Last modified: 2012-02-24 02:52:20 UTC
Wikipedia pages no longer redirect to the mobile site on iPhone. Using the Wikipedia "Enable mobile version" article link does not fix the problem (https://secure.wikimedia.org/wikipedia/en/wiki/Wikipedia:Enable_mobile_version). iPhone Safari error console reports the following error: JavaScript Error on Line 13 http://bits.wikimedia.org/w/extension...ikimediaMobile/MobileRedirect.js?4.2 ReferenceError: Can't find variable: wgNamespaceNumber Note that the "?4.2" at the end of the error line may be truncated by the iPhone display width. The Wikipedia mobile pages are accessible manually by inserting "m." in the URI (e.g. "en.m.wikipedia.org").
Should be fixed with the live hack from r83579
Now I get the following error: JavaScript Error on Line 18 http://bits.wikimedia.org/w/extension...ikimediaMobile/MobileRedirect.js?5.2 SyntaxError: Parse error
(In reply to comment #2) > Now I get the following error: > > JavaScript Error on Line 18 > http://bits.wikimedia.org/w/extension...ikimediaMobile/MobileRedirect.js?5.2 > SyntaxError: Parse error Looking at the code for MobileRedirect.js, there's clearly a closing parenthesis missing from the "if" statement.
(In reply to comment #3) > (In reply to comment #2) > > Now I get the following error: > > > > JavaScript Error on Line 18 > > http://bits.wikimedia.org/w/extension...ikimediaMobile/MobileRedirect.js?5.2 > > SyntaxError: Parse error > > Looking at the code for MobileRedirect.js, there's clearly a closing > parenthesis missing from the "if" statement. Was fixed in r83584.