Topic on VisualEditor/Feedback

VE freeze in Chrome when switching to code editor

4
Goulu (talkcontribs)

After editing https://fr.wikipedia.org/wiki/Adaptation_humaine_%C3%A0_la_haute_altitude for a while, I needed to switch to code, said that I would keep my changes and nothing happened except the page became grayed and froze. Clicked the green Save button but nothing. I can see my text but cannot select/copy it. Is it lost ???

in case it helps, here is what I see in the Chrome Console

JQMIGRATE: Logging is active load.php?debug=false&lang=fr&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20140814T1…:150
mediawiki.jqueryMsg: helppage: Unknown operation "ns" load.php?debug=false&lang=fr&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20140814T1…:164
console.trace() load.php?debug=false&lang=fr&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20140814T1…:164

(repeated many times)

mw.log.log.warn load.php?debug=false&lang=fr&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20140814T1…:164
'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatwg.org/#dom-range-detach).
Discontiguous selection is not supported. Adaptation_humaine_%C3%A0_la_haute_altitude:1
Uncaught TypeError: undefined is not a function Adaptation_humaine_%C3%A0_la_haute_altitude:502
84
Uncaught TypeError: Cannot read property 'getInternalList' of null Adaptation_humaine_%C3%A0_la_haute_altitude:79
Uncaught TypeError: undefined is not a function Adaptation_humaine_%C3%A0_la_haute_altitude:435
12
Uncaught TypeError: Cannot read property 'getInternalList' of null Adaptation_humaine_%C3%A0_la_haute_altitude:79
Uncaught TypeError: undefined is not a function

TheDJ (talkcontribs)

This looks like there are a lot of broken scripts in use on French Wikipedia, or perhaps by your user account. That will bring any piece of software to it's knees. You might want to ask a local user that has knowledge of Javascript if he can assist you to clean that up, you should have a lot fewer errors with any of the tools (especially those as complex as VE), if you have no JS errors from other software.

Whatamidoing (WMF) (talkcontribs)

User:Goulu, thanks for this report. I was able to switch to the text editor in Safari on that article just now. Do you have any large or unusual gadgets or preferences set for your account? Would you mind logging out (or opening a 'private browsing' window) and trying it again?

He7d3r (talkcontribs)

I don't know if this is related but fr:MediaWiki:Gadgets-definition#Boutons shows a few gadgets which are loading the module "mediawiki.action.edit" in every page, even if not in edit mode, and even if the user didn't disable the WikiEditor toolbar or if the classical toolbar is disabled.

This post was posted by He7d3r, but signed as Helder.wiki.

Reply to "VE freeze in Chrome when switching to code editor"