Last modified: 2007-06-24 02:49:36 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 T12343, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10343 - References in templates
References in templates
Status: RESOLVED DUPLICATE of bug 8693
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-23 17:52 UTC by John
Modified: 2007-06-24 02:49 UTC (History)
0 users

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


Attachments

Description John 2007-06-23 17:52:22 UTC
A template that includes references does not show up in the page that includes the template.

For example a template called "foo":

    Foo 

    <ref>www.bar.com</ref>

The page:

    {{foo}}

    <references/>

The page should render this:

    Foo 
    
    www.bar.com

However, it actually render this (missing the reference):

    Foo
Comment 1 John 2007-06-23 18:01:56 UTC
A template that includes references does not show up in the page that includes
the template.

For example a template called "Foo":

    Foo <ref>www.bar.com</ref>

The page:

    {{foo}} <ref>www.baz.com</ref>

    <references/>

The page should render this:

    Foo [1] [2]

    1. www.bar.com
    2. www.baz.com

However, it actually render this (missing the www.bar.com template):

    Foo [1] [1]
    
    1. www.baz.com
Comment 2 John 2007-06-23 20:36:57 UTC
A template that includes references does not show up in the page that includes
the template.

For example a template called "Foo":

    Foo <ref>www.bar.com</ref>

The page:

    {{foo}} <ref>www.baz.com</ref>

    <references/>

The page should render this:

    Foo [1] [2]

        1. ^www.bar.com
        2. ^www.baz.com

However, it actually render this (missing the www.bar.com template):

    Foo [2] [1]

        1. ^www.baz.com
Comment 3 John 2007-06-23 20:41:05 UTC
A template that includes references does not show up in the page that includes
the template.

For example a template called "foo_template":

    Foo <ref>www.bar.com</ref>

The page:

    {{foo_template}} <ref>www.baz.com</ref>

    <references/>

The page should render this:

    Foo [1] [2]

        1. ^ www.bar.com
        2. ^ www.baz.com

However, it actually render this (missing the www.bar.com template):

    Foo [2] [1]

        1. ^ www.baz.com
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-06-24 02:49:36 UTC

*** This bug has been marked as a duplicate of bug 8693 ***

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


Navigation
Links