Page MenuHomePhabricator

VisualEditor crashes if the DefaultSummaries gadget is enabled
Closed, InvalidPublic

Description

VisualEditor crashes when you try to save if the Defaultsummaries gadget is enabled. (https://en.wikipedia.org/wiki/MediaWiki:Gadget-defaultsummaries.js ) This is new; it used to work.

Workaround: Disable the gadget.

(Might be Firefox-specific. I haven't tested it.)


Version: unspecified
Severity: minor

Details

Reference
bz67236

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:32 AM
bzimport added a project: VisualEditor.
bzimport set Reference to bz67236.

Not really a VE bug, but here you go:

The gadget is using ve.init.mw.targets[0] to access the target, which isn't supposed to be a public API yet, but hey. This was removed recently and is now accessible via ve.init.mw.target.