Cite: If there's no <references /> block on the page for grouped references, maybe show them in some way
OpenPublic

Description

Bug 66860 added a missing reference list for simple references. This functionality was no implemented for references with groups. This should be added to match.


Version: master
Severity: normal

bzimport added a project: Cite.Via ConduitNov 22 2014, 3:37 AM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz67847.
Gadget850 created this task.Via LegacyJul 11 2014, 11:06 AM
Jdforrester-WMF added a comment.Via ConduitJul 11 2014, 4:05 PM

Maybe grouped references should "fall through", so if you have 3 <ref>s and 4 <ref group="foo">s and a simple <references /> (or now, none) you get 7 items in the reference list, maybe split somehow?

Krenair added a comment.Via ConduitJul 11 2014, 4:44 PM

(reverting summary change - looks like something got cut off there James :/)

Jdforrester-WMF added a comment.Via ConduitJul 11 2014, 5:56 PM

Sorry, name was meant to express the doubt about the way forward. :-)

Krenair added a comment.Via ConduitJul 17 2014, 12:13 AM

(Quoting James Forrester from comment #1)

Maybe grouped references should "fall through", so if you have 3 <ref>s and
4 <ref group="foo">s and a simple <references /> (or now, none) you get 7
items in the reference list, maybe split somehow?

Gadget850, what do you think of this idea?

Gadget850 added a comment.Via ConduitJul 17 2014, 1:12 AM

One way would be to set "MediaWiki:Cite error group refs without references" to <references group=$1 />. But you would have to suppress "MediaWiki:Cite error" and the <strong class="error mw-ext-cite-error">.

"MediaWiki:Cite error group refs without references" has been modified on the test wiki.

Krenair added a comment.Via ConduitJul 17 2014, 10:31 PM

Tthat's what I was asking about. We need to decide how to mark reference groups when we add them automatically.

Krenair added a comment.Via ConduitJul 17 2014, 10:33 PM

Trying again, because doing a quick check before hitting 'Save Changes' is hard:

That's basically what will end up happening, but we still need to decide how to mark reference *groups* when we add them automatically. Your comment does not really address that.

Add Comment