mediawiki-extensions-Visual.../modules/ve-mw/ui
Chunliang Lyu 4774fbdf5c Fix TypeError in MWTocWidget.initFromMetaList
If a page contains __NOTOC__ magic word, it would break the VisualEditor
with "Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not
an object at VeUiMWTocWidget.ve.ui.MWTocWidget.initFromMetaList".

The issue seems to be that we removed ve.dm.MWTOCForceMetaItem and
ve.dm.MWTOCDisableMetaItem in commit 57a06a6e75,
but the code in initFromMetaList still refers to them.

Change-Id: I857cddcc7d4aa73375357ef922591ed94d760166
2019-02-09 19:31:27 +01:00
..
actions doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
commands doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
contextitems ve.ui.MWTransclusionContextItem: Use the right class name in override 2019-02-06 22:36:52 +01:00
datatransferhandlers MWMediaTransferHandler: Fix new eslint warning from unused global 2019-02-01 20:07:15 -08:00
dialogs Fix uncaught jQuery linting errors 2019-01-18 21:03:38 +00:00
elements doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
inspectors MWLinkAnnotationInspector: check field validation before submitting with enter 2019-01-24 11:17:04 -06:00
pages Merge "Fix uncaught jQuery linting errors" 2019-01-22 16:27:45 +00:00
styles Use pixel dimensions for education dots 2019-01-18 21:00:56 +00:00
tools Fix function name 2019-02-06 21:54:23 +00:00
widgets Fix TypeError in MWTocWidget.initFromMetaList 2019-02-09 19:31:27 +01:00
ve.ui.MWCommandRegistry.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ui.MWExtensionWindow.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ui.MWSequenceRegistry.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ui.MWSurface.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ui.MWWikitextCommandRegistry.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ui.MWWikitextDataTransferHandlerFactory.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ui.MWWikitextSequenceRegistry.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ve.ui.MWWikitextSurface.js build: Update eslint-config-wikimedia to 0.10.0 2019-01-08 17:00:09 +00:00
ve.ui.MWWikitextTransferRegistry.js doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00