Page MenuHomePhabricator

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

Details

Reference
bz53839

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:55 AM
bzimport set Reference to bz53839.

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.