Page MenuHomePhabricator

Toolbar: Reference button doesn't insert <references /> tag
Closed, DeclinedPublic

Description

Author: wikibugs

Description:
Wikibabacor61227_2010-01-21_addreference.jpg

Reporting against Babaco Release. (Hosted on http://prototype.wikimedia.org)

Steps to Reproduce ::
1)Start editing a random article
2)Click on 'References' icon to add reference to article
3)Click on 'Show Preview' button to preview article with modifications
<<Error is shown instead of new references added>>

Expected Outcome ::
References shall be listed in article

Test Environment (Client) ::
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.16) Gecko/2009120208 Firefox/3.0.16

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17

Opera/9.80 (Windows NT 5.2; U; en) Presto/2.2.15 Version/10.0

Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5


Version: unspecified
Severity: major
OS: Windows XP
Platform: PC

Attached:

Wikibabacor61227_2010-01-21_addreference.jpg (870×1 px, 268 KB)

Details

Reference
bz22208

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:52 PM
bzimport set Reference to bz22208.

Changing summary, this has nothing to do with the NTOC. The error is thrown by the Cite extension because a <references /> tag needs to be present for <ref> tags for work.

It's not clear that we will ever do this. It's certainly not a bug in wikiEditor. If anything, the Cite extension should append a <references /> tag at the end automatically rather than giving the user an error.

wikibugs wrote:

Closing the defect as per comment 2