Page MenuHomePhabricator

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

Details

Reference
bz60842

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:54 AM
bzimport set Reference to bz60842.

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

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

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