mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
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:
parent
7a51cc14be
commit
89b6a8d71c
|
@ -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' ) ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue