Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 When is an AGRL displayed?  





2 Disadvantages of AGRLs  





3 What to do if an AGRL is displayed  





4 Bugs  





5 See also  














Help:Automatically generated reference list







Add links
 









Help page
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


  • WP:AGRL
  • A page with <ref> tags but no reference list markup used to display an error, except on talk and user pages. In recent versions of Wikipedia, the error no longer appears; instead an automatically generated reference list (AGRL) is displayed at the bottom of the page.

    Compared to the reference lists on properly formatted pages, an AGRL can be confusing to both readers and editors. But it is easily corrected by adding the proper reference list markup.

    When is an AGRL displayed?

    [edit]

    An AGRL is displayed whenever a page contains "reference markup" but no "reference list markup".

    As shown in the following table, "reference markup" includes <ref>...</ref> tags and templates containing information meant to be displayed in a reference list (footnote section) near the bottom of the page.
    "Reference list markup" is either a <references /> tag or a {{reflist}} template, both of which indicate the position on the page where the reference list should be displayed.

    Reference markup Reference list markup
    Tags  <ref>...</ref>

    Templates
    {{harv}}, {{harvnb}},
    {{sfn}}, {{sfnb}}, etc.

    Tag  <references />

    Template
    {{reflist}}

    If there is no reference list markup to indicate where the reference list should appear, an AGRL is generated and appears at the very bottom of the page.

    Disadvantages of AGRLs

    [edit]

    In former versions of the Wikipedia software, an error message was displayed if a page contained reference markup but no reference list markup. AGRLs are arguably an improvement, because footnotes are at least displayed somewhere on the page. However, compared to properly formatted pages, AGRLs suffer from a number of disadvantages.

    For these reasons, it is recommended that the AGRL not be relied on. Proper reference list markup should always be added.

    What to do if an AGRL is displayed

    [edit]

    In most cases, it is sufficient to add reference list markup such as the following. This will display a header and the reference list at the position where it should appear.

    ==References==
    {{reflist}}
    

    On talk pages, the {{reflist-talk}} template can be used to add a reference list to a specific discussion.

    The template should be added at the end of the section that contains the reference markup which is causing the AGRL to be displayed. The reference list will be displayed within a bordered box.

    ==Section 1==
    
    {{reflist-talk}}
    ==Section 2==
    

    Bugs

    [edit]

    AGRLs were introduced on Wikipedia with the deployment of MediaWiki 1.24wmf12 on July 10, 2014. Since then, the following bugs have been identified. They are a further reason why proper reference list markup should always be included.

    See also

    [edit]
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Help:Automatically_generated_reference_list&oldid=1155233097"

    Hidden category: 
    Wikipedia citation administration
     



    This page was last edited on 17 May 2023, at 08:03 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki