Page MenuHomePhabricator

References shouldn't show up in the reflist unless they've been unstripped
Open, LowPublicFeature

Description

Suppose Template:X contained the string "{{#if:{{{1|}}}|1 was set|1 wasn't set}}". If {{X|foo<ref>bar</ref>}} is used, the reference to bar shouldn't show up in <references />, but it currently does (along with a broken backlink). The far more common case of this happening is on the English Wikipedia, where infobox labels contain a reference that should only appear if data for the label exists. Hacks in lua have been written to avoid looking at parameters to work around this problem. A much cleaner solution would be to only display references in the reference list if they've been unstripped during the page's parsing (or some equivalent way of checking that).


Version: unspecified
Severity: enhancement

Details

Reference
bz61248

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:03 AM
bzimport added a project: Cite.
bzimport set Reference to bz61248.
bzimport added a subscriber: Unknown Object (MLST).
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM
Aklapper removed subscribers: GWicke, wikibugs-l-list.