mediawiki-extensions-Visual.../modules/ve-mw/ce
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
..
annotations LinkCache: don't treat a link with a fragment as a selflink 2017-04-11 12:19:01 -05:00
nodes Use Parsoid data for template names rather than detect from wikitext 2017-06-14 23:15:18 +00:00
styles/nodes ve.ce.MWTableNode: Provide preview of sortable table styling 2017-02-13 21:36:43 +00:00
ve.ce.MWResizableNode.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.ce.MWWikitextSurface.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00