Page MenuHomePhabricator

jquery.suggestions.js causes javascript errors in link dialog in skins other than vector
Closed, ResolvedPublic

Description

Perhaps the bug is in the core javascript, but since WikiEditor is the only component I can test this bug on I report it here:

To reproduce open any page for editing in a skin other than vector (tested: monobook, modern, simple). Click on the link dialog icon and enter anything in the textbox.

Firefox shows a javascript error:
$autoEllipseMe.autoEllipsis is not a function


Version: unspecified
Severity: normal

Details

Reference
bz29121

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:28 PM
bzimport added a project: WikiEditor.
bzimport set Reference to bz29121.

Sounds like some WikiEditor module depends on autoEllipsis but doesn't register this dependency.

(In reply to comment #1)

Sounds like some WikiEditor module depends on autoEllipsis but doesn't register
this dependency.

Turns out it was jquery.suggestions itself that called jquery.autoEllipsis but didn't list it as a dependency. Fixed in r89401.