mediawiki-extensions-Visual.../modules/ve-mw/ce/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.ce.MWAlienExtensionNode.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ce.MWBlockImageNode.js Add basic support for Parsoid HTML5 video/audio 2017-04-28 14:08:18 +01:00
ve.ce.MWEntityNode.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ce.MWExtensionNode.js Give extensions a fallback icon when invisible 2017-06-07 22:29:19 +01:00
ve.ce.MWGalleryNode.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ce.MWHeadingNode.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ce.MWImageCaptionNode.js ImageCaptionNode: correct documentation typo 2017-03-22 21:10:47 +00:00
ve.ce.MWImageNode.js doc: Tag mixin inheritance hacks with bug 2017-04-13 11:00:17 -07:00
ve.ce.MWInlineImageNode.js doc: Tag mixin inheritance hacks with bug 2017-04-13 11:00:17 -07:00
ve.ce.MWMagicLinkNode.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ce.MWNumberedExternalLinkNode.js Comment Parsoid hacks as such 2017-03-03 22:41:36 +00:00
ve.ce.MWPreformattedNode.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ce.MWPreNode.js Update <pre> support for Parsoid changes 2017-03-14 14:08:50 -07:00
ve.ce.MWSignatureNode.js MWSignatureNode/Tool: Avoid global variables 2017-04-29 12:37:28 +01:00
ve.ce.MWTableNode.js ve.ce.MWTableNode: Provide preview of sortable table styling 2017-02-13 21:36:43 +00:00
ve.ce.MWTransclusionNode.js Use Parsoid data for template names rather than detect from wikitext 2017-06-14 23:15:18 +00:00