mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +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.ce.MWAlienExtensionNode.js | ||
ve.ce.MWBlockImageNode.js | ||
ve.ce.MWEntityNode.js | ||
ve.ce.MWExtensionNode.js | ||
ve.ce.MWGalleryNode.js | ||
ve.ce.MWHeadingNode.js | ||
ve.ce.MWImageCaptionNode.js | ||
ve.ce.MWImageNode.js | ||
ve.ce.MWInlineImageNode.js | ||
ve.ce.MWMagicLinkNode.js | ||
ve.ce.MWNumberedExternalLinkNode.js | ||
ve.ce.MWPreformattedNode.js | ||
ve.ce.MWPreNode.js | ||
ve.ce.MWSignatureNode.js | ||
ve.ce.MWTableNode.js | ||
ve.ce.MWTransclusionNode.js |