Template talk:Reflist
![]() | Template:Reflist is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit protected}} to notify an administrator to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
![]() | This page is used for general discussion about Template:Reflist, a Wikipedia references template, which is used on many articles. For help on adding a reference to an article, see Wikipedia:Citing sources, or ask for help on that article's talk page. |
![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||
|
![]() | Text and/or other creative content from this version of Template:Reflist was copied or moved into incubator:Template:Wp/nod/Reflist with this edit. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. |
Index 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 31, 32, 33, 34 |
This page has archives. Sections older than 60 days may be auto-archived by Lowercase sigmabot III if there are more than 4. |
Discussion at Wikipedia talk:Citing sources § New proposal: deprecate {{reflist|refs= in favor of <references>?
[edit] You are invited to join the discussion at Wikipedia talk:Citing sources § New proposal: deprecate {{reflist|refs= in favor of <references>?. Dan Leonard (talk • contribs) 03:01, 30 April 2025 (UTC)
Articles with no references
[edit]Is there a way to identify articles that include {{reflist}} but do not have any actual references? Palagianello railway station is one example. I'm trying to identify and cleanup unreferenced articles. Thanks, Mackensen (talk) 12:04, 15 August 2025 (UTC)
- Here are 2,000 articles that contain {{reflist}}, have no closing
</ref>
tags, and have "station" in their article name. There may be some false positives if articles use {{sfn}} or similar syntax, but that search should give you plenty to work on. – Jonesey95 (talk) 13:16, 15 August 2025 (UTC)- Awesome, didn't even think to try it that way. Thanks! Mackensen (talk) 16:51, 15 August 2025 (UTC)
- -hastemplate:sfn knocks another 400 out. Izno (talk) 23:09, 8 September 2025 (UTC)
French reflist scroll?
[edit]So how does the French Wikipedia do this with their reflists? When I go to French Coco Gauff article and go down to the references, they are in a nice neat scrollbox. Some of our player articles have hundreds of references and this would sure be nice to have. I can't figure out how to do it. Fyunck(click) (talk) 02:49, 6 September 2025 (UTC)
- See the CSS for how it works. I think we do not use the overflow:auto styling in article space because it interferes with accessibility. See MOS:SCROLL. If you wanted to put it in your own personal CSS, you could probably apply the French styling to .reflist or a similar class. – Jonesey95 (talk) 05:55, 6 September 2025 (UTC)
- That's too bad since these reference lists at the page bottom can get pretty long. I wonder if it is still an accessibility problem with the latest incarnation of screen readers? We have found that many things written in MOS don't really apply anymore but MOS hasn't been updated to reflect this. Maybe this is in that category? Thanks for the answer, but it sure looked nice on the French Wiki. Fyunck(click) (talk) 06:19, 6 September 2025 (UTC)
- @Fyunck(click), French Wikipedia appears to not use the scrolling on mobile. On mobile, it could create a separate accessibility issue for readers with fine motor control deficits trying to scroll either in the references or in the whole page, but getting kind of stuck in the references. (It looks like French Wikipedia editors disabled the style on mobile and print to address this.) Some readers with fine motor control issues may not be using a mouse even on desktop. Trackball and touchscreen pointing would still allow for scrolling, although it would be less convenient on the trackball (you hold a key with the opposite hand to make the trackball work as a giant scroll-wheel). As far as keyboard navigation: the Orca screen reader on Linux Mint treats those references as a standard list, and sighted keyboard navigation allows scrolling after tabbing into the scrollable section (although it is less convenient). One accessibility issue that came up in the French Wikipedia discussion about problems with scrolling references is for sighted users with poor vision. There isn't a great way to use browser zoom features to better see the references because they are locked into that box. To get MOS:SCROLL changed, I think you'd really need to get a kind of broad survey that includes each of the potential issues and multiple accessibility technologies to test out, and then give advice on how to meet those challenges. Also, outside of accessibility concerns, I see some editors over there calling for that template's deletion because they view it as a pain and an obstacle. Rjjiii (talk) 14:10, 6 September 2025 (UTC)
- Thanks for all that. Being sighted one doesn't always realize the extra difficulties it could cause. I know the latest screen readers do well in areas they didn't before so I thought maybe they had overcome this and it was why the French version had changed. Obviously not. Cheers. Fyunck(click) (talk) 17:50, 6 September 2025 (UTC)
- @Fyunck(click), French Wikipedia appears to not use the scrolling on mobile. On mobile, it could create a separate accessibility issue for readers with fine motor control deficits trying to scroll either in the references or in the whole page, but getting kind of stuck in the references. (It looks like French Wikipedia editors disabled the style on mobile and print to address this.) Some readers with fine motor control issues may not be using a mouse even on desktop. Trackball and touchscreen pointing would still allow for scrolling, although it would be less convenient on the trackball (you hold a key with the opposite hand to make the trackball work as a giant scroll-wheel). As far as keyboard navigation: the Orca screen reader on Linux Mint treats those references as a standard list, and sighted keyboard navigation allows scrolling after tabbing into the scrollable section (although it is less convenient). One accessibility issue that came up in the French Wikipedia discussion about problems with scrolling references is for sighted users with poor vision. There isn't a great way to use browser zoom features to better see the references because they are locked into that box. To get MOS:SCROLL changed, I think you'd really need to get a kind of broad survey that includes each of the potential issues and multiple accessibility technologies to test out, and then give advice on how to meet those challenges. Also, outside of accessibility concerns, I see some editors over there calling for that template's deletion because they view it as a pain and an obstacle. Rjjiii (talk) 14:10, 6 September 2025 (UTC)
- That's too bad since these reference lists at the page bottom can get pretty long. I wonder if it is still an accessibility problem with the latest incarnation of screen readers? We have found that many things written in MOS don't really apply anymore but MOS hasn't been updated to reflect this. Maybe this is in that category? Thanks for the answer, but it sure looked nice on the French Wiki. Fyunck(click) (talk) 06:19, 6 September 2025 (UTC)
Should we add a |sectiontitle= field?
[edit]For some articles such as Wikipedia space articles, it may not always be appropriate to have a proper reflist, and it may only appear if some users add such a reference. Would it be possible or worthwhile to add a |sectiontitle= field such that these articles can have a References section that auto-hides if the references are removed? Would it be worthwhile to make a separate template for such a case? guninvalid (talk) 18:06, 18 September 2025 (UTC)
- Reflist already auto-hides (displays nothing, really) if there are no references on a page, as shown below. And references auto-display at the end of the page if references are added, even without a {{reflist}} template. At this point, I think this template is more likely to go away than to have major functionality added. – Jonesey95 (talk) 19:53, 18 September 2025 (UTC)
- While I agree that adding more functionality here doesn't seem like the direction we want to go these days, you seem to have missed the point of the request. They're wanting the "References" section header to also disappear if there are no references, instead of there being an empty section on the page. OTOH, I don't think that's possible in wikitext or Lua anyway. Anomie⚔ 21:14, 18 September 2025 (UTC)