Topic on VisualEditor/Feedback

Issue: VisualEditor allows insertion of extension tags with empty content that later show errors

1
Summary by Elitre (WMF)
197.218.91.181 (talkcontribs)

Steps to reproduce

  1. Create a blank page with VisualEditor
  2. Insert a reference (<ref>) tag
  3. Add a space within ref tag, and insert
  4. Insert a score tag
  5. Add a space within the score tag and insert
  6. Save

Expected

VisualEditor removes the tag and leave empty space (or refuses to insert) because it doesn't contain any useful content and when saved causes errors, e.g. <ref> </ref> is output as <ref/>.

Actual

Upon saving, the both extension tags show errors with tracking categories.

Example (https://www.mediawiki.org/w/index.php?title=Project:Sandbox&oldid=2455494).