Page MenuHomePhabricator

Fix Uncaught Error: Widget not found
Closed, ResolvedPublic


When I click reply on a thread, on error console I see:

Uncaught Error: Widget not found

at Object.OO.ui.Element.static.unsafeInfuse (Element.js:144)
at Object.OO.ui.Element.static.infuse (Element.js:104)
at Object.OO.ui.infuse (core.js:326)
at HTMLDocument.<anonymous> (mediawiki.action.edit.js?29a7f:23)
at mightThrow (load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=1uclx17:3583)
at process (load.php?debug=true&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=1uclx17:3651)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 5 2017, 1:07 PM
matmarex added a subscriber: matmarex.

It looks like the same kind of issue as T57463, where LiquidThreads loads the core 'mediawiki.action.edit' module on its pages. The module was changed a bit recently to match the update of edit form to OOUI (T111088) and presumably those changes were not reflected in LiquidThreads. It's LiquidThreads responsibility to keep its markup compatible with the core module. Or just stop using it – to be honest I don't see what it's even loaded for, as the module doesn't do very much.

Still happening, FWIW.

Change 575551 had a related patch set uploaded (by Bartosz Dziewoński; owner: Thiemo Kreuz (WMDE)):
[mediawiki/core@master] edit: Fix assumption #wpSummary is always there

Change 575551 merged by jenkins-bot:
[mediawiki/core@master] edit: Fix assumption #wpSummary is always there

matmarex closed this task as Resolved.Feb 28 2020, 8:15 PM
matmarex assigned this task to thiemowmde.