mediawiki-extensions-Visual.../modules/ve-mw/dm/nodes
Roan Kattouw a15fa5a17c Make citation tools' compatibility check use normalized titles
Greatly enhance the functionality of ve.dm.MWTransclusionNode#isSingleTemplate
and actually use it places.

Use mw.Title to normalize titles, accounting for case differences and
spaces vs underscores. Also allow an array of template names to
be specified.

Use isSingleTemplate() in the transclusion and citation dialog tools,
which were duplicating this logic. Also document the .static.template
properties.

Without this, the citation tool will appear for a reference using
{{Cite news}}, but not for one using {{cite news}} or {{Cite_news}}.

Change-Id: I18d2bb1b22a5ab269694ad0818b1bb326ef8d1fd
2014-05-10 21:10:09 +02:00
..
ve.dm.MWAlienExtensionNode.js Remove the math inspector code 2014-03-19 19:27:25 -07:00
ve.dm.MWBlockImageNode.js Enforce width-only default size only on larger images 2014-03-10 19:05:14 +00:00
ve.dm.MWEntityNode.js Simplify toDataElement in MW 2014-01-27 18:43:36 -08:00
ve.dm.MWExtensionNode.js Add tagName to ve.dm.MWGalleryNode 2014-01-27 14:28:16 -08:00
ve.dm.MWGalleryNode.js Add tagName to ve.dm.MWGalleryNode 2014-01-27 14:28:16 -08:00
ve.dm.MWHeadingNode.js Simplify toDataElement in MW 2014-01-27 18:43:36 -08:00
ve.dm.MWHieroNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.dm.MWImageCaptionNode.js Simplify toDataElement in MW 2014-01-27 18:43:36 -08:00
ve.dm.MWImageNode.js Cache image scalable promises by filename 2014-05-09 11:17:06 +02:00
ve.dm.MWInlineImageNode.js Ensure we use our references to certain native or upstream methods 2014-02-20 22:30:29 +01:00
ve.dm.MWNumberedExternalLinkNode.js Simplify toDataElement in MW 2014-01-27 18:43:36 -08:00
ve.dm.MWPreformattedNode.js Simplify toDataElement in MW 2014-01-27 18:43:36 -08:00
ve.dm.MWReferenceListNode.js Bump copyright like it's 2014 2014-01-05 20:06:50 +08:00
ve.dm.MWReferenceNode.js Remove unnecessary strangely written range clone 2014-01-21 17:35:45 +00:00
ve.dm.MWTransclusionNode.js Make citation tools' compatibility check use normalized titles 2014-05-10 21:10:09 +02:00