Last modified: 2014-10-29 23:24:09 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 T58806, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56806 - VisualEditor: JS parse error appears while enabling few gadgets for editors
VisualEditor: JS parse error appears while enabling few gadgets for editors
Status: RESOLVED INVALID
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-08 21:22 UTC by Rummana Yasmeen
Modified: 2014-10-29 23:24 UTC (History)
5 users (show)

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


Attachments

Description Rummana Yasmeen 2013-11-08 21:22:43 UTC
Steps to reproduce:

1.Go to Preferences>Gadgets
2.Enable few gadgets.I tried enabling all the gadgets under "improved navigation" , Interface : Editing and uploads and Interface:Files and Categories

3.Now load the editor

Observed Result:
The following js error appears:

Error: JavaScript parse error: Parse error: Illegal token in file 'MediaWiki:Gadget-popups.js' on line 1221 Error {} 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)
Comment 1 Roan Kattouw 2013-11-08 21:29:08 UTC
That sounds like a bug in the popups gadget. Which wiki was this on?
Comment 2 Rummana Yasmeen 2013-11-08 21:30:04 UTC
It was found in test2 environment
Comment 3 Andre Klapper 2013-11-10 19:20:50 UTC
https://test2.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=history is from Feb 2012.

Line 1221 is:
	/*@if (@_jscript_version >= 5)

https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=history for example is from Nov 2013 (but also contains that line).

Hence wondering if it's a "real" problem or just an ancient .js file on test2.

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


Navigation
Links