mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce Merge "Revert "Don't preserveHtmlAttributes on transclusion nodes"" 2019-01-17 12:54:58 +00:00
dm ve.dm.MWInternalLinkAnnotation: Correctly generate relative links 2019-02-04 20:08:01 +01:00
init Merge "DesktopArticleTarget: Make the progress bar into a reusable widget" 2019-02-06 22:37:28 +00:00
tests ve.dm.MWInternalLinkAnnotation: Correctly generate relative links 2019-02-04 20:08:01 +01:00
themes doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
ui Fix TypeError in MWTocWidget.initFromMetaList 2019-02-09 19:31:27 +01:00
ve.MWutils.js Fix fragment links in preview 2019-01-18 14:39:00 +00:00