Last modified: 2008-02-27 03:57:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8693 - <references /> on a page doesn't list <ref> tags from included templates
<references /> on a page doesn't list <ref> tags from included templates
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
unspecified
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Wikipedi...
:
: 10343 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-18 18:16 UTC by Michael Frey
Modified: 2008-02-27 03:57 UTC (History)
3 users (show)

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


Attachments

Description Michael Frey 2007-01-18 18:16:36 UTC
On Wikibooks we use {{:Name}} for making dynanic printable versions.

It works good, but we have a problem with the references.

Example: http://de.wikibooks.org/wiki/Medizinische_Mikrobiologie:_Druckversion

It seems that included refernces don't work.
Comment 1 Paul Robinson 2007-02-15 20:17:07 UTC
A demonstration of this behavior can be seen on
http://en.wikipedia.org/wiki/Wikipedia:Reference_Bug which uses the template
Test:References.  The <ref> and </ref> tags around a reference in a transcluded
page will show as subscripted bracketed numeric links on the rendered page, but
the references and text are not generated in the <references/> section of that
page.  Also see the macro it calls,
http://en.wikipedia.org/wiki/Template:Test:Reference for the examples.
Comment 2 Paul Robinson 2007-03-28 19:32:19 UTC
There is a workaround for this.  If a parameter passed to the transcluded page
has a <ref> and </ref> on it, that will show up in the calling page.  It is only
when <ref> and </ref> are on the transcluded page that it doesn't work.
Comment 3 Jamie Hari 2007-05-27 23:55:49 UTC
Not surprisingly, if you transclude a <ref> and also include a <ref> directly, the transcluded tag shows second.

{{TranscludedRef}} <ref>Normally Cited</ref>

Would display as:
[2] [1]


Also, would this bug be dependant on Bug 4529 ?
Comment 4 Jamie Hari 2007-05-27 23:57:15 UTC
Sorry, I meant similar to Bug 4529 ...
Comment 5 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-05-28 17:47:30 UTC
Yeah, in large part it's the same issue: parser hook stuff isn't done in the same pass as curly-brace stuff.
Comment 6 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-06-24 02:49:36 UTC
*** Bug 10343 has been marked as a duplicate of this bug. ***
Comment 7 Jamie Hari 2007-09-03 19:45:50 UTC
Bug 4529 was closed as a duplicate of Bug 2257.

Bug 2257 has a patch which is awaiting review. 
That patch might help this bug as well.

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


Navigation
Links