Community Wishlist Survey 2022/Editing/Collect and move references to reference section on bottom of article

Collect and move references to reference section on bottom of article

  • Problem: For translation, it may be helpful if all references are coded in the reference section, not inline.
  • Proposed solution: Tool
  • Who would benefit: Editors (check duplicates) and translators. Moving all reference content to the bottom speeds up manual translation a lot and text has better readability.
  • More comments: Of course, the tool will need to be adaptable for different language conventions (e.g. English Wikipedia and German Wikipedia do it differently)
  • Phabricator tickets:
  • Proposer: Ernsts (talk) 12:09, 11 January 2022 (UTC)

Discussion

  • This would be great! References can clog the text and make it unreadable. The only advantage of having references in the text is that they can be copy-pasted together with the text. Sylvain Ribault (talk) 13:25, 11 January 2022 (UTC)
  • @Ernsts: Do you mean something like that? (copy source to the top window, clist [Spustit] and copy new source from bottom window). JAn Dudík (talk) 18:32, 11 January 2022 (UTC)
Of course. I have translated some 200 articles, mostly about viruses, from en to de. For the reason you mentioned, I meanwhile move all reference contents to the reference section at the bottom of the article, end then do the translation. Whilst the the move process is boring, the translation process is so much easier! A tool performing the moving or supporting it might ease the first part. However, chosing proper reference names might be a complication. A second problem might be sorting of the references. I personally prefer a combination of the 1st author family name and the year.This might be difficult for automation. But these names could be renamed later using the find-and-replace-tool, e.g. as provided at the right upper corner of the edit field (iPad). --Ernsts (talk) 19:31, 11 January 2022 (UTC)
It's like using the references template, with refs= parameter; and only the names are used in the body. It would mean better readings; however, we can't edit the citations in VisualEditor. Thingofme (talk) 11:41, 13 January 2022 (UTC)
@Thingofme References defined at the bottom of the article can be edited using VisualEditor, but only if you use the <references>…</references> syntax, rather than a template. Matma Rex (talk) 03:58, 22 January 2022 (UTC)
In the past, we can edit directly, but now we can't do that anymore. Thingofme (talk) 04:12, 22 January 2022 (UTC)
@Thingofme Can you share a link to a page or diff where it isn't working correctly? (I'm one of the VisualEditor developers, and we'd like to fix it if it's broken.) I just tested and I was able to edit the references here: [1]. Matma Rex (talk) 05:08, 22 January 2022 (UTC)
I don't know if there is a link yet, I only remember about the way we can do that, and it showed the {{reflist}} template in the VE. Thingofme (talk) 08:59, 22 January 2022 (UTC)
  • This exists at least on the English Wikipedia, with the References Segregator tool. According to its documentation, it can also work on any other MediaWiki project. (talk) 04:33, 13 January 2022 (UTC)
  • On the English Wikipedia we also have this user script for this purpose: en:User:Kaniivel/Reference Organizer --Matthiaspaul (talk) 16:20, 29 January 2022 (UTC)

Voting

  •   Support Arado Ar 196 (talk) 10:26, 29 January 2022 (UTC)
  •   Support Corn cheese (talk) 11:37, 29 January 2022 (UTC)
  •   Support We need to fix the {{reflist}} template problem in VE. Thingofme (talk) 15:16, 30 January 2022 (UTC)
  •   Support daSupremo   22:16, 30 January 2022 (UTC)
  •   Support MONUMENTA (talk) 01:15, 1 February 2022 (UTC)
  •   Support Es muy util Urval93 (talk) 18:19, 2 February 2022 (UTC)
  •   Neutral I think more context is needed as we have WP:CITEVAR. Having references moved to the References section is only one citation method. If you mean a way for references to be hidden within the text then I see no issue. The Grid (talk) 13:50, 3 February 2022 (UTC)
  •   Support Exilexi (talk) 18:21, 5 February 2022 (UTC)
  •   Support Ynhockey (talk) 01:09, 6 February 2022 (UTC)
  •   Support Ayumu Ozaki (talk) 05:55, 6 February 2022 (UTC)
  •   Support --Ciao • Bestoernesto 18:35, 6 February 2022 (UTC)
  •   Support Svetovid (talk) 22:04, 6 February 2022 (UTC)
  •   Support paul2520 (talk) 23:38, 6 February 2022 (UTC)
  •   Support Annablazeprobable (talk) 00:47, 7 February 2022 (UTC)
  •   Support Sanpitch (talk) 00:10, 11 February 2022 (UTC)
  •   Support Betateschter (talk) 07:07, 11 February 2022 (UTC)