Last modified: 2013-11-25 15:56:48 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 T53938, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51938 - VisualEditor: Deleting last use of reference should remove the entry from <references>..</references>
VisualEditor: Deleting last use of reference should remove the entry from <re...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Unprioritized normal
: VE-deploy-2013-08-29
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-24 09:21 UTC by John Mark Vandenberg
Modified: 2013-11-25 15:56 UTC (History)
5 users (show)

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


Attachments

Description John Mark Vandenberg 2013-07-24 09:21:16 UTC
This is related to Bug 51741, which is about adding support for <references>...</references>

If the page already has <references>..</references>, and the last use of a named reference is removed, the entry inside <references>..</references> needs to be removed otherwise an error is generated after save.

Steps to reproduce:
1. https://de.wikipedia.org/wiki/This_Is_War?veaction=edit
2. Delete one of the named references, e.g. [16] at present
3. Save & Review your changes.

Expected results:
The reference is removed from the content and the references list.

Actual results:
The reference is removed from the content, but it remains in the references list, and if saved the error is:
"Cite error: <ref> tag with name "rockspot_1" defined in <references> is not used in prior text."
Comment 1 James Forrester 2013-11-25 15:56:48 UTC
This was done some time 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