mediawiki-extensions-Visual.../modules/ve-mw/dm/nodes
Bartosz Dziewoński 624211a60f Use Parsoid data for template names rather than detect from wikitext
We were incorrectly handling transclusions with trailing
newlines after the template name.

This also improves handling of non-template transclusions,
e.g. parser functions like `{{int:mainpage}}`, which are
no longer mangled as if they were page names.

ve.dm.MWTransclusionNode#isSingleTemplate will now match
a template even if it's name is itself template-generated.

Logic for turning Parsoid's hrefs into page names stolen
from ve.dm.MWImageNode.prototype.getFilename.

Bug: T167613
Change-Id: Ibecf71338eb37bb3da81a7372e4ed41140a9af57
2017-06-14 23:15:18 +00:00
..
ve.dm.MWAlienExtensionNode.js
ve.dm.MWBlockImageNode.js Fix minor lint errors and typos 2017-04-29 12:36:17 +01:00
ve.dm.MWEntityNode.js
ve.dm.MWExtensionNode.js Allow extension nodes to convert to a specified type of dataElement 2017-05-19 16:08:01 +02:00
ve.dm.MWGalleryNode.js
ve.dm.MWHeadingNode.js Allow headings in divs 2017-05-04 12:43:36 +01:00
ve.dm.MWImageCaptionNode.js
ve.dm.MWImageNode.js Add basic support for Parsoid HTML5 video/audio 2017-04-28 14:08:18 +01:00
ve.dm.MWInlineImageNode.js Fix minor lint errors and typos 2017-04-29 12:36:17 +01:00
ve.dm.MWMagicLinkNode.js
ve.dm.MWNumberedExternalLinkNode.js
ve.dm.MWPreformattedNode.js Document usages of ve.dm.Node.static.suggestedParentNodeTypes 2017-03-02 00:11:54 +01:00
ve.dm.MWPreNode.js Update <pre> support for Parsoid changes 2017-03-14 14:08:50 -07:00
ve.dm.MWSignatureNode.js
ve.dm.MWTableNode.js Specify suggested parent node types for tables 2017-05-04 14:50:49 +00:00
ve.dm.MWTransclusionNode.js Use Parsoid data for template names rather than detect from wikitext 2017-06-14 23:15:18 +00:00