Page MenuHomePhabricator

Use of refs within templates.
Closed, ResolvedPublic

Description

  1. Ability to use notes/refs within templates, and the actual note/ref to appear

in the article that includes the said template. (eg. see Template:Geographical
Macedonia within article Macedonia (terminology) -where "Note a" is forced
within the template, rather than in the ref section in the article. Relevant
test failed (see history of both articles).) Useful diffs:

template
http://en.wikipedia.org/w/index.php?title=Template:Geographical_Macedonia&diff=prev&oldid=55053861

article
http://en.wikipedia.org/w/index.php?title=Macedonia_%28terminology%29&diff=55053824&oldid=55053743


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/wiki/Wikipedia_talk:Footnotes#Summary_of_proposals

Details

Reference
bz6312

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:16 PM
bzimport added a project: Cite.
bzimport set Reference to bz6312.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

See current behavior at http://en.wikipedia.org/wiki/User:Simetrical/Ref_test_2.
Transcluded refs appear to behave correctly except that 1) new numbers from
transcluded refs (due to an unnamed ref or a new name) are numbered after all
numbers from local refs, and 2) transcluded refs are not reflected in
<references />.

Nikolas wrote:

Also

  1. the ref text does not appear in the template: article
  2. there is no notification in the template: article for editors who wish to place it in

another article to also include a <references/> section (for the ref-text to appear).

cpicke wrote:

I think solving this issue will enable people to have unique IDs for references
in the template namespace in Wikimedia projects. I think it's pretty clear that
this would be a fantastic thing to have, so I'm changing the priority from low
to normal.

webboy wrote:

(In reply to comment #1)

See current behavior at http://en.wikipedia.org/wiki/User:Simetrical/Ref_test_2.
Transcluded refs appear to behave correctly except that 1) new numbers from
transcluded refs (due to an unnamed ref or a new name) are numbered after all
numbers from local refs,

Is fixed.

and 2) transcluded refs are not reflected in
<references />.

Is fixed.

(In reply to comment #2)

Also

  1. the ref text does not appear in the template: article

You can use <noinclude><references /></noinclude> in the template.

  1. there is no notification in the template: article for editors who wish to place it in

another article to also include a <references/> section (for the ref-text to appear).

You can type a notification between <noinclude> and </noinclude>.

Marked as FIXED.