mediawiki-extensions-Visual.../modules/ve-mw/dm
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 tests: MWInternalLinkAnnotation getFragment 2017-04-27 11:21:58 -05:00
metaitems Follow-up 57a06a6: Use the same attribute name on read and on write 2017-05-02 14:42:22 -07:00
models Add basic support for Parsoid HTML5 video/audio 2017-04-28 14:08:18 +01:00
nodes Use Parsoid data for template names rather than detect from wikitext 2017-06-14 23:15:18 +00:00
ve.dm.MWWikitextSurface.js
ve.dm.MWWikitextSurfaceFragment.js MWWikitextSurfaceFragment#convertFromSource: Don't make an invalid doc 2017-03-02 05:43:03 +00:00