ve.dm.MWIncludesNode: Change label for includeonly nodes per feedback

<includeonly /> is not valid wikitext markup, which is distracting.
Let's use <includeonly>…</includeonly> instead.

Bug: T250937
Change-Id: I9eac8b265eca16118d390da2628e0da7ca409ed8
This commit is contained in:
Bartosz Dziewoński 2020-06-09 21:37:10 +02:00
parent 7a51cc14be
commit 89b6a8d71c

View file

@ -95,7 +95,7 @@ ve.dm.MWIncludesNode.prototype.getWikitextTag = function () {
'mw:Includes/NoInclude/End': '</noinclude>',
'mw:Includes/OnlyInclude': '<onlyinclude>',
'mw:Includes/OnlyInclude/End': '</onlyinclude>',
'mw:Includes/IncludeOnly': '<includeonly />'
'mw:Includes/IncludeOnly': '<includeonly>…</includeonly>'
};
return map[ this.getAttribute( 'type' ) ];
};