Last modified: 2014-06-26 00:40:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63503, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61503 - VisualEditor: Automatically remove empty ref tags (and refuse to insert new ones)
VisualEditor: Automatically remove empty ref tags (and refuse to insert new o...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Alex Monk
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-18 18:07 UTC by WhatamIdoing
Modified: 2014-06-26 00:40 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description WhatamIdoing 2014-02-18 18:07:56 UTC
If you add an empty, unnamed reference in wikitext ("<ref />"), then you get an empty, invalid reference.

If you add an empty, unnamed reference in VisualEditor (Insert>Reference, then "Add reference" without typing anything), then you get an empty, invalid reference.

VisualEditor should do better than wikitext:  it should detect empty, unnamed ref tags and refuse to insert them.
Comment 1 James Forrester 2014-06-26 00:40:00 UTC
We fixed this a while ago. Sorry for the slow triage!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links