converting Between References Formats

This page describes procedures to convert the references from Footnotes defined in the body of the article to List-defined references where the references are defined in the reference list.

Such a conversion may be necessary in order to move text with many references from an article that uses the list-defined format to another article, or may be used to format all references in an article so that they all conform to the same format. It requires installation of the References segregator tool.

Converting from the inline to the list-defined format

  • The References segregator tool can automatically convert all references to the list-defined format.
  • Use a regular expression search-and-replace operation to replace uses of tags with the {{r}} template. To do that, search for: , and replace it with {{r\|"$1"}}, while checking the "Treat search string as a regular expression" checkbox.

Converting from the list-defined to the inline format

  1. Use a regular expression search and replace operation to replace uses of the {{r}} template with tags. To do that, search for: \{\{r\|([^}]+)\}\}, and replace it with , while checking the "Treat search string as a regular expression" checkbox.
  2. Copy and remove (cut) the entire {{reflist}} template with the list of references.
  3. Install the References segregator tool and click the "Segregate refs for editing" button.
  4. Remove all the empty tags from the lower text box.
  5. Paste the list of references into the lower text box (after its existing contents).
  6. Save the page, which merges the citation templates from the lower text box into the upper text box and removes the unused footnotes in the process.

Tags:

Help:Footnotes

🔥 Trending searches on Wiki English:

Kanye WestJohn and Lorena BobbittRule 34MS DhoniIron DomeBradley BarcolaRishi SunakNBA play-in tournamentImtiaz Ali (director)27 ClubNikola JokićWish (film)Opinion polling for the 2024 Indian general electionSingaporeFreddie MercuryBlackRockMatt BerryGame of ThronesNina Dobrev9-1-1 (TV series)Solar eclipseMargaret QualleyMax HollowayKatherine MaherKlay ThompsonRumours (album)The SympathizerKatharine BirbalsinghWashington, D.C.Leonardo DiCaprioLuka ModrićPeter SellersKaya ScodelarioNacho (footballer, born 1990)John Jacob Astor IVMurders of Chris Kyle and Chad LittlefieldHannah WaddinghamBrahim DíazFC BarcelonaChelsea F.C.List of Hindi films of 2024Edward VIIISaddam Hussein2024 Bondi Junction stabbingsList of European Cup and UEFA Champions League finalsSouth AfricaThe TearsmithSunny LeoneArizona CoyotesCosmo JarvisList of English football championsDemi MooreCloud seeding in the United Arab EmiratesMari EmmanuelNew ZealandOlivia RodrigoThe Beekeeper (2024 film)Ivana TrumpJuan MerchanList of American films of 2024Kim Soo-hyunDomantas SabonisOutlook.comStormy DanielsThierry HenryDustin PoirierThe Goat LifeBoeing 787 Dreamliner2022–23 UEFA Champions LeagueMoisés AriasMartin Luther King Jr.Michael JordanKirsten DunstQueen of Tears2024 Indian general election in Karnataka🡆 More