Last modified: 2014-04-28 15:58:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62842, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60842 - VisualEditor: Broken local Common.js causes VE not to be available on some wikis
VisualEditor: Broken local Common.js causes VE not to be available on some wikis
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal major
: VE-deploy-2014-04-24
Assigned To: James Forrester
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-04 20:06 UTC by Jeff Hall
Modified: 2014-04-28 15:58 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jeff Hall 2014-02-04 20:06:46 UTC
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

2) 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.
Comment 1 Jeff Hall 2014-02-04 20:12:48 UTC
Wikis where this problem has been seen:

http://af.wikipedia.org
http://bpy.wikipedia.org
http://cv.wikipedia.org
Comment 5 Gerrit Notification Bot 2014-04-18 21:48:56 UTC
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
Comment 6 Gerrit Notification Bot 2014-04-18 22:04:09 UTC
Change 127373 merged by jenkins-bot:
[Browser tests] Updated list of production wikis to check

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links