https://bugzilla.wikimedia.org/show_bug.cgi?id=61248

       Web browser: ---
            Bug ID: 61248
           Summary: References shouldn't show up in the reflist unless
                    they've been unstripped
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Cite
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: jackmcbarn+w...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to