Page MenuHomePhabricator

[Regression] VisualEditor: Page options menu doesn't open (Uncaught TypeError: undefined is not a function)
Closed, DeclinedPublic

Description

  • Latest master mediawiki-core and VisualEditor
  • Edit Worksheet page
  • Open "Options" dialog

Nothing happens, console shows:

Uncaught TypeError: undefined is not a function
> this.tableOfContents = new OO.ui.FieldLayout(new OO.ui.ButtonSelectWidget({'$': this.$}).addItems([new OO.ui.ButtonOptionWidget('mwTOCForce', {'label': ve.msg('visualeditor-dialog-meta-settings-toc-force')}), new OO.ui.ButtonOptionWidget(
VeUiMWSettingsPage
ve.ui.MWMetaDialog.initialize
oo.EventEmitter.emit
(anonymous function)
pollExternalStylesheets


Version: unspecified
Severity: critical

Details

Reference
bz61576

Event Timeline

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

(Can still reproduce on VisualEditor @ 0b97870 after todays' merges)

OO.ui.FieldLayout is undefined

This works fine for me with the current MW core. Ensure you have https://gerrit.wikimedia.org/r/#/c/113508/ .

[19:12] Krinkle Yeah, I just updated mw-core again and it works now