Page MenuHomePhabricator

Revert of Math extension in wmf9 causes VisualEditor to crash with "Models must be subclasses of ve.dm.Model" on every page
Closed, ResolvedPublic

Description

On https://www.mediawiki.org/wiki/Architecture_meetings/RFC_review_2014-06-11?veaction=edit I am getting this stack trace from VE:

Error: Models must be subclasses of ve.dm.Model

at VeDmModelRegistry.ve.dm.ModelRegistry.register (eval at <anonymous> (https://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&m…Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20140612T192101Z:4:670), <anonymous>:276:655)
at mw.loader.implement.math-visualeditor-mwmathinspector-title (https://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&modules=ext.math.visualEditor&skin=vector&version=20140613T004358Z&*:1:363)
at runScript (https://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&m…w.MwEmbedSupport&only=scripts&skin=vector&version=20140612T192101Z:171:201)
at checkCssHandles (https://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&m…w.MwEmbedSupport&only=scripts&skin=vector&version=20140612T192101Z:171:602)
at execute (https://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&m…w.MwEmbedSupport&only=scripts&skin=vector&version=20140612T192101Z:172:384)
at Object.mw.loader.implement (https://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&m…w.MwEmbedSupport&only=scripts&skin=vector&version=20140612T192101Z:178:208)
at https://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&modules=ext.math.visualEditor&skin=vector&version=20140613T004358Z&*:1:11

Chromium 35.0.1916.153, Linux


Version: unspecified
Severity: critical

Details

Reference
bz66566

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.
bzimport set Reference to bz66566.

I can reproduce this issue in Chrome 35.0.1916.114 and Firefox 29.0.1 on openSUSE, for any page on mediawiki.org.

Change 139429 had a related patch set uploaded by Jforrester:
Fix the VisualEditor parts of Math-wmf9 with a cherry pick of I7d5e1174

https://gerrit.wikimedia.org/r/139429

Change 139429 merged by Ori.livneh:
Fix the VisualEditor parts of Math-wmf9 with a cherry pick of I7d5e1174

https://gerrit.wikimedia.org/r/139429

Change 139445 had a related patch set uploaded by Jforrester:
Fix the VisualEditor parts of Math-wmf9 with a cherry pick of I7d5e1174

https://gerrit.wikimedia.org/r/139445

Change 139445 merged by Ori.livneh:
Fix the VisualEditor parts of Math-wmf9 with a working cherry pick of I7d5e1174

https://gerrit.wikimedia.org/r/139445

Fixed. Thank you, Ori!