Page MenuHomePhabricator

Multiple <references> shouldn't print same ref multiple times
Closed, ResolvedPublic

Description

I suggest to enable that references (made by < ref > can be placed on more
places on the page, e.g. in every section etc. When reference 1 and 2 in section
A, so I can recall them with < references / > here; but when I use this in the
section B (where there are references 3 and 4), so I will get all references on
the page, i.e. 1, 2, 3 and 4 (1 and 2 the second time). It would be useful that
those references, that has been recalled yet, do not appear the second time. ~~~~


Version: unspecified
Severity: enhancement

Details

Reference
bz7466

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:25 PM
bzimport added a project: Cite.
bzimport set Reference to bz7466.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of 6271 ***

ayg wrote:

I believe the idea here is somewhat different than that of bug 6271:
<references> should (without any further arguments or whatnot) only print any
<ref>s since the last <references>, not any before that. This would be handy
for something like [[Comparison of layout engines (CSS)]] (or most other enwiki
comparison pages), which tend to have per-section footnotes, although *why* they
do is a good question.

This would presumably also mean that ref numbering would be reset as well on
every <references>, although strictly that wouldn't be necessary.

Yes, the idea is something else as 6271. Every time, when I set <references>, so
the "memory" of references should be deleted; but I do not think the numbering
should be resetted - no. Say, references (footnotes) 1 to 5 will be given in the
middle of the page, the rest, 6 to 10, on the end. It can make sense in long
articles. (Please do not mind my careful professional vocabulary of a profound
developer - I am not one :-)).