Content deleted Content added
Margin1522 (talk | contribs) temporarily comment out shortcuts box, until we can get a consensus to have all AGRL shortcuts point to this page |
width limit on syntaxhighlight was wrapping short lines. |
||
(10 intermediate revisions by 8 users not shown) | |||
Line 1:
<!-- {{shortcut|H:AGRL|WP:AGRL}} -->
{{information page}}
{{for|more information about footnotes and reference lists|Help:Footnotes}}
{{shortcut|HELP:AGRL|WP:AGRL}} <!-- Note: Shortcuts "Wikipedia:AGRL" and "H:AGRL" also exist. They were edited to point to here, to keep all AGRL shortcuts together. -->
A page with {{tag|ref|o}} 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.
Line 6 ⟶ 8:
==When is an AGRL displayed?==
An AGRL is displayed whenever a page contains "reference markup" but no "reference list markup".
As shown in the following table, "reference markup" includes {{tag|ref}} tags and templates containing information meant to be displayed in a reference list (footnote section) near the bottom of the page.<br>"Reference list markup" is either a {{tag|references|single}} tag or a {{tl|reflist}} template, both of which indicate the position on the page where the reference list should be displayed.
Line 37 ⟶ 39:
==What to do if an AGRL is displayed==
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.
<syntaxhighlight lang="wikitext">
==References==
{{reflist}}
</syntaxhighlight>
On talk pages, the {{tl|reflist-talk}} template can be used to add a reference list to a specific discussion.
Line 46 ⟶ 49:
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.
<syntaxhighlight lang="wikitext">
==Section 2==
▲<nowiki>{{reflist-talk}}</nowiki>
</syntaxhighlight>
==Bugs==
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.
* No tracking category is added. {{
* {{tag|ref|o}} tags that include groups will still show an error if the reference list markup is missing. {{
* Markup before the AGRL can cause it to be displayed as an unordered list with bullets instead of numbers. {{
* There is no ability to detect the namespace, unlike the older behavior. {{
* If a closing {{tag|ref|c}} tag is missing before properly included reference list markup then the reference list markup is exposed. {{
* Articles that are exported to wikis with older software will not show the AGRL.
▲* If a closing {{tag|ref|c}} tag is missing before properly included reference list markup then the reference list markup is exposed. {{bug|15712}}
==See also==
*[[User:GreenC bot/Job 8|Reftalk]], a bot that adds {{tlx|reflist-talk}} to candidate talk page sections
[[Category:Wikipedia citation administration]]
|