When you go to http://en.m.wikipedia.org/w/index.php?title=Special:MobileOptions&mobileaction=stable while not logged in, it gives you the following JS error which seems to be thrown from the mobile.watchstar module:
TypeError: M.getCurrentPage is not a function
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Don't pull in watchstar code | mediawiki/extensions/MobileFrontend | master | +0 -7 |
Related Objects
Event Timeline
Cannot reproduce on Beta Labs or locally, even with older versions of MobileFrontend. RL dependencies seem to be correct for mobile.watchlist module.
Actually, I can reproduce on Beta Labs, but only in stable mode. Still can't reproduce locally.
@kaldari I think that watchstar init.js was split recently, in there it is the TypeError: M.getCurrentPage is not a function that is being called, line 23.
It is weird because in the mobileoptions page mw.mobileFrontend.getCurrentPage() actually exists and works.
It has to be a RL dependencies problem with how mobile.watchstar.init is being included.
Pretty hard to debug since it is loaded via ajax and evaluated via eval...
I have a feeling that this bug is gone because load.php version in beta is 8 days old as you can see in the URL.
Change 205455 had a related patch set uploaded (by Jdlrobson):
Don't pull in watchstar code
As I said on your patch, let's see if this fixes the bug as the bug is hard (impossible?) to reproduce locally.
Nope. It's difficult to reproduce locally and should only impact special pages where javascript is loaded at top of the page. It doesn't break any functionality.