mediawiki-extensions-Visual.../modules/ve-mw/dm
James D. Forrester 6fd475e8ec MWWikitextSurfaceFragment#convertFromSource: Don't make an invalid doc
Though neat, this hack to get the internal list doesn't seem to be used
and creates an invalid document (just an internal list with no content,
so the internal list is at the start and the default selection position
is inside it). Instead, use the ve.dm.Document.static.newBlankDocument()
utility function that was made for this use case.

Bug: T153509
Change-Id: Iba5931cb5e3f939a803c1d59fa0d8f30a0513f84
2017-03-02 05:43:03 +00:00
..
annotations Merge "Fix MWInternalLinkAnnotation.getTargetDataFromHref's behaviour with URLs containing query parts" 2017-01-05 15:08:33 +00:00
metaitems build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
models Cache generated content request when inserting templates 2017-02-22 04:00:38 +00:00
nodes Document usages of ve.dm.Node.static.suggestedParentNodeTypes 2017-03-02 00:11:54 +01:00
ve.dm.MWWikitextSurface.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.dm.MWWikitextSurfaceFragment.js MWWikitextSurfaceFragment#convertFromSource: Don't make an invalid doc 2017-03-02 05:43:03 +00:00