VisualEditor: Broken local Common.js causes VE not to be available on some wikis
Closed, ResolvedPublic

Description

Author: jhall

Description:
While developing a browser test for bug 60797, I've noticed that some production wikis where VisualEditor is expected to be available do not load VE as expected. In each case, the error message captured at the browser level is (with some variation in the specific line numbers referenced):

[Error] Error: JavaScript parse error: Parse error: Missing operand in file 'MediaWiki:Common.js' on line 125
global code (load.php, line 1)

Repro steps:

  1. Visit a production wiki where VE is expected to be available, and request a random article with a VE edit param: http://cv.wikipedia.org/wiki/Special:Random?veaction=edit
  1. In browser error console, note JavaScript error mentioned above, and note also that the VE editing surface simply never loads (although it appears to keep trying!)

I'll add list(s) of production wikis where this problem occurs as I uncover them in comments on this bug ticket.


Version: unspecified
Severity: major
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=60797

bzimport set Reference to bz60842.
bzimport created this task.Via LegacyFeb 4 2014, 8:06 PM
bzimport added a comment.Via ConduitFeb 4 2014, 8:12 PM

jhall wrote:

Wikis where this problem has been seen:

http://af.wikipedia.org
http://bpy.wikipedia.org
http://cv.wikipedia.org

gerritbot added a comment.Via ConduitApr 18 2014, 9:48 PM

Change 127373 had a related patch set uploaded by Jforrester:
[Browser tests] Updated list of production wikis to check

https://gerrit.wikimedia.org/r/127373

gerritbot added a comment.Via ConduitApr 18 2014, 10:04 PM

Change 127373 merged by jenkins-bot:
[Browser tests] Updated list of production wikis to check

https://gerrit.wikimedia.org/r/127373

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.