Last modified: 2008-08-11 18:05:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8312, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6312 - Use of refs within templates.
Use of refs within templates.
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
unspecified
All All
: Normal enhancement with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Wikipedi...
:
Depends on:
Blocks: 8167
  Show dependency treegraph
 
Reported: 2006-06-14 21:28 UTC by Francis Tyers
Modified: 2008-08-11 18:05 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Francis Tyers 2006-06-14 21:28:54 UTC
5. 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
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-06-14 22:53:13 UTC
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 />.
Comment 2 NikoSilver 2006-06-14 23:05:34 UTC
Also

3) the ref text does not appear in the template: article
4) 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).
Comment 3 Chris Pickett 2006-12-05 21:53:54 UTC
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.
Comment 4 Jelte (WebBoy) 2008-08-11 18:05:14 UTC
(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
> 
> 3) the ref text does not appear in the template: article

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

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


Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links