Steps to reproduce:
1.Load a page from http://en.m.wikipedia.beta.wmflabs.org/wiki/
2.Open the page in Edit Source mode first
3.Now go to the Settings icon and try to open the page with Mobile VE
The following error appears in the console and VE does not open, stays in Edit Source mode:
"TypeError: Cannot set property 'MWMobileContext' of undefined"