mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
624211a60f
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 |
||
---|---|---|
.. | ||
ve.dm.MWAlienExtensionNode.js | ||
ve.dm.MWBlockImageNode.js | ||
ve.dm.MWEntityNode.js | ||
ve.dm.MWExtensionNode.js | ||
ve.dm.MWGalleryNode.js | ||
ve.dm.MWHeadingNode.js | ||
ve.dm.MWImageCaptionNode.js | ||
ve.dm.MWImageNode.js | ||
ve.dm.MWInlineImageNode.js | ||
ve.dm.MWMagicLinkNode.js | ||
ve.dm.MWNumberedExternalLinkNode.js | ||
ve.dm.MWPreformattedNode.js | ||
ve.dm.MWPreNode.js | ||
ve.dm.MWSignatureNode.js | ||
ve.dm.MWTableNode.js | ||
ve.dm.MWTransclusionNode.js |