Last modified: 2013-12-12 20:33:38 UTC
Created attachment 13981 [details] Screenshot of the error Steps to reproduce: Still Unknown.Will update once I get it. Mostly it occurred to me when I reload an open editor after an idle time or switch from Edit Source to VE it does not the editor and shows the following error: TypeError:Cannot read property 'Element' of undefined >TypeError See the screenshot attached
Test Environment: production Browser: Chrome Version 26.0.1410.65 OS: MAC OS X 10. 8. 5 Example Page:http://en.wikipedia.beta.wmflabs.org/w/index.php?title=User:RYasmeen_(WMF)&veaction=edit
The environment in my previous comment will be betalabs. The error occured again while creating a new page on Betalabs. ypeError: Cannot read property 'Element' of undefined TypeError {} load.php:145 log load.php:145 runScript load.php:154 checkCssHandles load.php:155 (anonymous function) load.php:155 fire load.php:12 self.fireWith load.php:14 self.fire load.php:14 addEmbeddedCSS load.php:149 (anonymous function) load.php:149
Created attachment 13983 [details] Screenshot of the error
From VE, switched to Edit source then again switching back to VE gave this error this time and VE did not load Uncaught TypeError: Cannot read property 'Element' of undefined VeUiSurface (anonymous function)
Created attachment 13984 [details] Screenshot of the error
Somehow OO.ui becomes undefined. I have no idea why.
One way it is always reproducible is: while creating a new page switch to Create-Beta.
Verified the fix on betalabs:http://en.wikipedia.beta.wmflabs.org/
verified the fix in production.