Page MenuHomePhabricator

cite error wrongly shows up (multiple <references/> tags in templates)
Closed, ResolvedPublic

Description

Author: spacebirdy

Description:
Dear all,

on is.wiktionary I noticed that the cite error:
"Cite error: <ref> tags exist, but no <references/> tag was found"

is incorrectly shown, while the references-tag exists, example:

http://is.wiktionary.org/wiki/akk%C3%BArat

in the template
http://is.wiktionary.org/wiki/Sni%C3%B0:heimildir
the closing tag is located.

Please compare
http://de.wiktionary.org/wiki/pittoresk

where the closing tag is in a template also:
http://de.wiktionary.org/wiki/Vorlage:Quellen

Please make this work on is.wiktionary like on de.wiktionary too.

Many thanks in advance.


Version: unspecified
Severity: minor
URL: http://is.wiktionary.org

Details

Reference
bz19631

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:37 PM
bzimport added a project: Cite.
bzimport set Reference to bz19631.
bzimport added a subscriber: Unknown Object (MLST).

spacebirdy wrote:

sorry, I made an error here, closing this

spacebirdy wrote:

reopening, the problem seems to be:

More than one template can't be added:
please compare
http://de.wiktionary.org/wiki/Benutzer:Spacebirdy/test3
http://de.wiktionary.org/wiki/Benutzer:Spacebirdy/test4

with only one it works, see:
http://de.wiktionary.org/wiki/pittoresk

Please could this be fixed for is.wiktionary and de.wiktionary.

Kind thanks in advance.

This is caused by the way cite.php parses the references. If you include any parameter, even a dummy, when you call the template, then the references will close properly. For example:

{{Quellen|close=1}}

Resolved with Bug 31834 - Add an option to disable template caching