VisualEditor: Wikitext warning not triggered by <references />, <i>, etc.
Closed, DeclinedPublic

Description

en.wp user Fram reports:
"When I add something that VE decides needs "nowiki", it usually gives the warning "Wikitext markup detected". However, when I add <references/> to the bottom of a page, he wraps it in "nowiki"s, but no warning appears (while it does work with e.g. {{reflist}})"

My testing at https://en.wikipedia.org/w/index.php?title=User%3AThryduulf%2Fsandbox2&diff=571756019&oldid=570197356 shows that <i> and <small> also get nowikied without triggering the warning.

<!-- --> neither triggers the warning nor gets nowikied. I am about to start a discussion about whether that is desired or not.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=56213

bzimport set Reference to bz53839.
Thryduulf created this task.Via LegacySep 6 2013, 9:13 AM
Jdforrester-WMF added a comment.Via ConduitNov 6 2013, 5:21 PM

This is intentional; adding a complete set of wikitext detection would be very burdensome (i.e. slow VE down for users) without adding a lot of value.

People who know complex things like HTML or advanced wikitext like <references /> will quickly learn that it doesn't work; this functionality is an aide-memoire for newbies and rare users.

Marking as WONTFIX, but happy to discuss.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.