Mòideal:Footnotes/whitelist/sort

O Wiktionary

(deasbaireachd⧼tpt-languages-separator⧽deasaich⧼tpt-languages-separator⧽eachdraidh⧼tpt-languages-separator⧽ceanglaichean⧼tpt-languages-separator⧽doc⧼tpt-languages-separator⧽bogsa-gainmhich⧼tpt-languages-separator⧽cùisean deuchainn)


Ùsaid - Usage

This module reads Mòideal:Footnotes/whitelist as a text document, and then:

  • normalizes whitespace in each citeref entry
  • removes duplicate entries
  • moves citerefs from 'UNSORTED' into the correct section
  • sorts the entries in each section
    lua comments will sort to the top of the section and will be alpha sorted which may make original multi-line comments non-sensical
  • reconstructs the whole table

The result is presented in §whitelist below. Because Lua modules cannot make changes to the source document, editors must do that:

  1. purge this page to refresh the whitelist
  2. copy the content of §whitelist to your clipboard
  3. edit Mòideal:Footnotes/whitelist
  4. paste the new whitelist{} over the existing table
  5. click Show changes to make sure nothing untoward occurred
  6. click Publish changes to save

There are known limitations:

  • this tool is not clever enough to move citerefs from the UNSORTED section to the ODNB section so citerefs in UNSORTED intended for ODNB must be manually placed in ODNB else the tool will place them according to first character following 'CITEREF'


Liosta-ghil - whitelist

local whitelist = {
----------< # >----------
	['CITEREF2013_Statistical_Yearbook_of_the_Republic_of_Croatia'] = {'Croatia Yearbook 2013'},

----------< A >----------
	--	['CITEREFAl-Imad2015'] = {'EI3'},
	--	['CITEREFAnetshofer2015'] = {'EI3'},
	['CITEREFAGA_1884–1897'] = {'Schubert\'s compositions (references)'},
	['CITEREFATOC2009'] = {'ATOCConnectingCommunitiesReportS10'},
	['CITEREFAbramowitzStegun1983'] = {'Abramowitz Stegun ref'},
	['CITEREFActa_Lipsiensium1723'] = {'Bach\'s compositions (sources)'},
	['CITEREFAhlgrimm1969'] = {'Bach\'s compositions (sources)'},
	['CITEREFAhrons1927'] = {'Book-Ahrons-British Steam Railway Locomotive'},
	['CITEREFAlbert_Schumann1886'] = {'Cite ADB'},
	['CITEREFAlden1916'] = {'Shakespeare sonnets bibliography'},
	['CITEREFAldrich1969'] = {'Aldrich-LocosGER7'},
	['CITEREFAlexiou2010'] = {'Cite flatiron'},
	['CITEREFAllenBoddyBrownFry1970'] = {'RCTS-LocosLNER-8A'},
	['CITEREFAllenBoddyBrownFry1971'] = {'RCTS-LocosLNER-8B'},
	['CITEREFAllenBoddyBrownFry1983'] = {'RCTS-LocosLNER-8A'},
	['CITEREFAmerican_Railway_Association1922'] = {'1922 Locomotive Cyclopedia'},
	['CITEREFAnderson1952'] = {'Naval Wars in the Levant 1559–1853'},
	['CITEREFArrey_von_Dommer1875'] = {'Cite ADB'},
	['CITEREFAsmus1966'] = template_names['NDB'],
	['CITEREFAtkins2007'] = {'Shakespeare sonnets bibliography'},
	['CITEREFAvdoyan2018'] = template_names['ODLA'],
	['CITEREFAwdry1990'] = {'Awdry-RailCo', 'Carnarvonshire Railway'},

----------< B >----------
	--	['CITEREFBarber2008'] = template_names['ODNB'],
	--	['CITEREFBernards2020'] = {'EI3'},
	--	['CITEREFBosworth2013'] = {'EI3'},
	['CITEREFBabinger1978'] = {'Mehmed the Conqueror and His Time'},
	['CITEREFBabinger1992'] = {'Mehmed the Conqueror and His Time'},
	['CITEREFBachAgricola1754'] = {'Bach\'s compositions (sources)'},
	['CITEREFBadura-SkodaBranscombe2008'] = {'Schubert\'s compositions (references)'},
	['CITEREFBaldwinKazhdan1991'] = template_names['ODB'],
	['CITEREFBaldwinTalbot1991'] = {'Oxford Dictionary of Byzantium'},
	['CITEREFBaltzer1916'] = {'Baltzer-Kolonialbahnen'},
	['CITEREFBartusis1991'] = template_names['ODB'],
	['CITEREFBaxter1971'] = {'Baxter-BritishLocoCat1'},
	['CITEREFBaxter1977'] = {'Baxter-BritishLocoCat1'},
	['CITEREFBaxter1978'] = {'Baxter-BritishLocoCat2A'},
	['CITEREFBaxter1979'] = {'Baxter-BritishLocoCat2B'},
	['CITEREFBaxter1982'] = {'Baxter-BritishLocoCat3A', 'Baxter-BritishLocoCat3B'},
	['CITEREFBaxter1984'] = {'Baxter-BritishLocoCat4'},
	['CITEREFBaxter1986'] = {'Baxter-BritishLocoCat5A'},
	['CITEREFBaxter1988'] = {'Baxter-BritishLocoCat5B'},
	['CITEREFBaxter2012'] = {'Baxter-BritishLocoCat6'},
	['CITEREFBeißwenger1991'] = {'Bach\'s compositions (sources)'},
	['CITEREFBelke1996'] = {'Tabula Imperii Byzantini'},
	['CITEREFBelkeMersisch1990'] = {'Tabula Imperii Byzantini'},
	['CITEREFBelkeRestle1984'] = {'Tabula Imperii Byzantini'},
	['CITEREFBezilla1980'] = {'Bezilla-PRR-Electric-Traction'},
	['CITEREFBivar1983'] = template_names['Cam_Hist_Iran'],
	['CITEREFBlake1966'] = {'DisraeliRef'},
	['CITEREFBlanken2019'] = {'Bach\'s compositions (sources)'},
	['CITEREFBlankinship1994'] = {'The End of the Jihâd State', 'The End of the Jihad State'},
	['CITEREFBock1978'] = {'Audie-bock-directors'},
	['CITEREFBoddyBrownFryHennigan1968'] = {'RCTS-LocosLNER-4'},
	['CITEREFBoddyBrownFryHennigan1975'] = {'RCTS-LocosLNER-2B'},
	['CITEREFBoddyBrownFryHennigan1977'] = {'RCTS-LocosLNER-9A', 'RCTS-LocosLNER-9B'},
	['CITEREFBoddyBrownFryHennigan1979'] = {'RCTS-LocosLNER-3A'},
	['CITEREFBoddyBrownHenniganHoole1984'] = {'RCTS-LocosLNER-6C'},
	['CITEREFBoddyBrownHenniganNeve1981'] = {'RCTS-LocosLNER-3B'},
	['CITEREFBoddyBrownNeveYeadon1983'] = {'RCTS-LocosLNER-6B'},
	['CITEREFBoddyFryHenniganHoole1990'] = {'RCTS-LocosLNER-10B'},
	['CITEREFBoddyFryHenniganProud1963'] = {'RCTS-LocosLNER-1'},
	['CITEREFBoddyNeveTeeYeadon1982'] = {'RCTS-LocosLNER-6A'},
	['CITEREFBoddyNeveYeadon1973'] = {'RCTS-LocosLNER-2A'},
	['CITEREFBody1989'] = {'Body-Railways-Vol2'},
	['CITEREFBon1969'] = {'La Morée franque'},
	['CITEREFBonner2010'] = {'New Cambridge History of Islam'},
	['CITEREFBonnett2005'] = {'Bonnett Practical Rail Engineering'},
	['CITEREFBonporti1712'] = {'Bach\'s compositions (sources)'},
	['CITEREFBooth2000'] = {'Shakespeare sonnets bibliography'},
	['CITEREFBorsari1964'] = {'DBI', 'Dizionario Biografico degli Italiani'},
	['CITEREFBossert1914'] = {'Schaff-Herzog'},
	['CITEREFBosworth1968'] = {'Cambridge History of Iran'},
	['CITEREFBosworth1975'] = template_names['Cam_Hist_Iran'],
	['CITEREFBourbaki1994'] = {'Bourbaki EHM'},
	['CITEREFBoyd1970'] = {'Boyd-MidWales'},
	['CITEREFBoyd1975'] = {'Boyd-FR1'},
	['CITEREFBoyd1985'] = {'Boyd-NCaerns2Penrhyn'},
	['CITEREFBoyd1986'] = {'Boyd-NCaerns3Dinorwic'},
	['CITEREFBoyd1988'] = {'Boyd-SCaerns1'},
	['CITEREFBoyd1989'] = {'Boyd-SCaerns2'},
	['CITEREFBoyd1990'] = {'Boyd-NCaerns1'},
	['CITEREFBradshaw1968'] = {'Bradshaw-1910April'},
	['CITEREFBradshaw1985'] = {'Bradshaw-1922July'},
	['CITEREFBradshaw2011'] = {'Bradshaw-1895December'},
	['CITEREFBradshaw2012'] = {'Bradshaw-1850March'},
	['CITEREFBrand1968'] = {'Byzantium Confronts the West'},
	['CITEREFBrand1991'] = template_names['ODB'],
	['CITEREFBrand1991'] = {'DBI'},
	['CITEREFBrand1991'] = {'ODB'},
	['CITEREFBray2010'] = {'Bray-SDJR'},
	['CITEREFBrett2010'] = {'New Cambridge History of Islam'},
	['CITEREFBrunner1975'] = template_names['Cam_Hist_Iran'],
	['CITEREFBrunner1983'] = template_names['Cam_Hist_Iran'],
	['CITEREFBryan1886'] = {'Bryan (3rd edition)'},
	['CITEREFBuhle1909'] = {'Bach\'s compositions (sources)'},
	['CITEREFBurant1987'] = {'Cite DCB'},
	['CITEREFBurch1911'] = {'Burch Electric Traction'},
	['CITEREFBurke1866'] = {'O\'Donnell family tree'},
	['CITEREFBurrowsWallace1999'] = {'Cite gotham'},
	['CITEREFButt1995'] = template_names['Butt_Stations'],

----------< C >----------
	--	['CITEREFChristides2015'] = {'EI3'},
	['CITEREFCIC1983'] = {'CIC1983bib'},
	['CITEREFCalifornia1988'] = {'CA-Rail Passenger Development Plan-1988'},
	['CITEREFCaltrans1984'] = {'Countrystudy'},
	['CITEREFCanepa2018'] = template_names['ODLA'],
	['CITEREFCanny2008'] = {'O\'Donnell family tree'},
	['CITEREFCappelCutlerKazhdan1991'] = {'ODB'},
	['CITEREFCarl_von_Prantl1879'] = {'Cite ADB'},
	['CITEREFCarlson2010'] = {'Dlmf'},
	['CITEREFCaro1974'] = {'Cite Power Broker'},
	['CITEREFCarter2006'] = {'Carter-RailwaysMotivePowerArgentina'},
	['CITEREFCasserley1968'] = {'Casserley-joint'},
	['CITEREFCasserleyJohnston1966'] = {'Casserley-LocoGrouping3'},
	['CITEREFCasserleyJohnston1974'] = {'Casserley-LocoGrouping3', 'Casserley-LocoGrouping2', '0-7110-0554-0'},
	['CITEREFCasway1984'] = {'O\'Donnell family tree'},
	['CITEREFCawley2011'] = {'MLCC'},
	['CITEREFChaléardChanson-JabeurBéranger2006'] = {'Chaléard-Le cdf en Afrique'},
	['CITEREFCheyneBlack1899'] = {'Cite Biblica'},
	['CITEREFCheyneBlack1901'] = {'Cite Biblica'},
	['CITEREFCheyneBlack1902'] = {'Cite Biblica'},
	['CITEREFCheyneBlack1903'] = {'Cite Biblica'},
	['CITEREFChisholm1922'] = {'EB1922', 'Cite EB1922'},
	['CITEREFChung1994'] = {'Country study'},
	['CITEREFChurchmanHurst2001'] = {'Churchman & Hurst Railways of New Zealand'},
	['CITEREFChurchman_&amp;_Hurst2001'] = {'Churchman & Hurst Railways of New Zealand'},
	['CITEREFChurella2013'] = {'Churella-PRR-1'},
	['CITEREFClementsMcMahon2008'] = {'ClementsMcMahon-GSR Locomotives'},
	['CITEREFClinker1978'] = {'Clinker-Stations'},
	['CITEREFClinker1988'] = {'Clinker-Stations'},
	['CITEREFCoates1990'] = {'Coates-Reading'},
	['CITEREFColledgeWarlow2006'] = {'Colledge'},
	['CITEREFConolly1998'] = {'IanAllan-PreGroup-Atlas1998'},
	['CITEREFCoulthard-Clark2002'] = {'Australian Dictionary of Biography'},
	['CITEREFCousin1910'] = {'A Short Biographical Dictionary of English Literature', 'Cite SBDEL'},
	['CITEREFCox1967'] = {'Cox-Upper Darby'},
	['CITEREFCox2011'] = {'Cox-Dixie'},
	['CITEREFCrone1980'] = {'Slaves on Horses'},
	['CITEREFCroughtonKidnerYoung1982'] = {'Croughton-PrivateStations'},
	['CITEREFCruickshanks1970'] = {'HistoryofParliament'},
	['CITEREFCudahy2002'] = {'Cudahy-Hudson'},
	['CITEREFCudahy2003'] = {'Cudahy-Subways'},

----------< D >----------
	['CITEREFDBI'] = {'DBI', 'Dizionario Biografico degli Italiani'},
	['CITEREFDZS2015'] = {'Croatia Yearbook 2015'},
	['CITEREFDadelsen1957'] = {'Bach\'s compositions (sources)'},
	['CITEREFDaftary1990'] = {'Daftary-The Ismailis'},
	['CITEREFDaftary2007'] = {'Daftary-The Ismailis'},
	['CITEREFDaniel2010'] = {'New Cambridge History of Islam'},
	['CITEREFDanielsDench1963'] = {'Daniels-NoMore'},
	['CITEREFDanielsDench1973'] = {'Daniels-NoMore'},
	['CITEREFDarleyCanepa2018'] = {'Oxford Dictionary of Late Antiquity'},
	['CITEREFDaryaeeCanepa2018'] = template_names['ODLA'],
	['CITEREFDavid1961'] = {'Bach\'s compositions (sources)'},
	['CITEREFDavidson2010'] = {'HistoryofParliament'},
	['CITEREFDavidsonThrush2010'] = {'HistoryofParliament'},
	['CITEREFDavies1996'] = {'Davies-PLMLocoList'},
	['CITEREFDavies1997'] = {'Davies-NordLocoList'},
	['CITEREFDavies2001'] = {'Davies-EstLocoList3', 'Davies-ÉtatLocoList'},
	['CITEREFDavies2003'] = {'Davies-SNCFLocoList'},
	['CITEREFDaviesFirthLuckingThomas1966'] = {'RCTS-LocosGWR-10'},
	['CITEREFDeutsch1951'] = {'Schubert\'s compositions (references)'},
	['CITEREFDeutsch1978'] = {'Schubert\'s compositions (references)'},
	['CITEREFDewick2005'] = {'Dewick-Atlas'},
	['CITEREFDickens2018'] = template_names['ODLA'],
	['CITEREFDirksen1998'] = {'Bach\'s compositions (sources)'},
	['CITEREFDirksen2010'] = {'Bach\'s compositions (sources)'},
	['CITEREFDirksen2016'] = {'Bach\'s compositions (sources)'},
	['CITEREFDolkart1998'] = {'Cite morningside'},
	['CITEREFDonohue2003'] = {'The Buwayhid Dynasty in Iraq'},
	['CITEREFDow1962'] = {'Dow-GC2'},
	['CITEREFDow1965'] = {'Dow-GC3'},
	['CITEREFDow1985'] = {'Dow-GC1'},
	['CITEREFDowney2007'] = {'Downey-Chicago'},
	['CITEREFDrummond1964'] = {'HistoryofParliament'},
	['CITEREFDrury1985'] = {'Drury Historical Guide 1985'},
	['CITEREFDrury1993'] = {'Drury-North American Steam'},
	['CITEREFDuke1995'] = {'Duke-Santa Fe-1'},
	['CITEREFDukeKeilty1990'] = {'Duke-RDC'},
	['CITEREFDumbarton_Oaks_Hagiography_Database'] = {'Dumbarton Oaks Hagiography Database'},
	['CITEREFDunbar1969'] = {'Dunbar-Railroads'},
	['CITEREFDuncan-Jones2010'] = {'Shakespeare sonnets bibliography'},
	['CITEREFDunlop1895'] = {'O\'Donnell family tree'},
	['CITEREFDunn2013'] = {'Dunn-Comeng-5'},
	['CITEREFDurrant1972'] = {'Durrant-Steam Locos Eastern Europe'},
	['CITEREFDurrant1981'] = {'Durrant-Garratt-Rev'},
	['CITEREFDurrantLewisJorgensen1981'] = {'Durrant-SteamAfrica'},
	['CITEREFDömlingKohlhase1971'] = {'Bach\'s compositions (sources)'},
	['CITEREFDürr1952'] = {'Bach\'s compositions (sources)'},
	['CITEREFDürr1954'] = {'Bach\'s compositions (sources)'},
	['CITEREFDürr1987'] = {'Bach\'s compositions (sources)'},
	['CITEREFDürrJones2006'] = {'Bach\'s compositions (sources)'},
	['CITEREFDürrKobayashi1998'] = {'Bach\'s compositions (sources)'},

----------< E >----------
	--	['CITEREFEI3'] = {'Encyclopaedia of Islam, THREE', 'EI3'},
	['CITEREFEarle2018'] = {'Gymnosperm Database'},
	['CITEREFEichberg1976'] = {'Bach\'s compositions (sources)'},
	['CITEREFEl-Hibri2010'] = {'New Cambridge History of Islam'},
	['CITEREFEldredgeHorenstein2014'] = {'Cite concrete'},
	['CITEREFElsholz1982'] = {'Schubert\'s compositions (references)'},
	['CITEREFEppstein1966'] = {'Bach\'s compositions (sources)'},
	['CITEREFEppstein1982'] = {'Bach\'s compositions (sources)'},
	['CITEREFEuDaly2009'] = {'Complete Book of North American Railroading'},
	['CITEREFEuDalySchaferJessupBoyd2009'] = {'Complete Book of North American Railroading'},

----------< F >----------
	['CITEREFFang1943'] = {'Cite ECCP'},
	['CITEREFFeder1958'] = {'Bach\'s compositions (sources)'},
	['CITEREFFiaccadori1991'] = {'ODB'},
	['CITEREFFine1991'] = {'The Early Medieval Balkans'},
	['CITEREFFine1994'] = {'The Late Medieval Balkans'},
	['CITEREFFletcher,_Great_Tank_Scandal'] = {'Book-Fletcher-Great Tank Scandal'},
	['CITEREFFletcher,_Universal_Tank'] = {'Book-Fletcher-Universal Tank'},
	['CITEREFFluckMarshallWilson1996'] = {'FluMarWil-LocRailCR'},
	['CITEREFForkelTerry1920'] = {'Bach\'s compositions (sources)'},
	['CITEREFFornaçon,_Siegfried1957'] = template_names['NDB'],
	['CITEREFForrestal1999'] = {'Forrestal-Wineries'},
	['CITEREFForster1990'] = {'Cite DCB'},
	['CITEREFFoss1991'] = {'ODB'},
	['CITEREFFoster1996'] = {'Foster-Field Guide'},
	['CITEREFFrailey2010'] = {'Frailey-Twilight'},
	['CITEREFFranz_Schnorr_von_Carolsfeld1883'] = {'Cite ADB'},
	['CITEREFFriedrich_Wilhelm_Bautz1975'] = {'BBKL'},
	['CITEREFFriedrich_Wilhelm_Bautz1990'] = {'BBKL'},
	['CITEREFFry1964'] = {'RCTS-LocosLNER-7'},
	['CITEREFFry1966'] = {'RCTS-LocosLNER-5'},
	['CITEREFFrye1975'] = {'The Cambridge History of Iran'},
	['CITEREFFrye1983'] = template_names['Cam_Hist_Iran'],
	['CITEREFFudenbergTirole1991'] = {'Cite Fudenberg Tirole 1991'},
	['CITEREFFultonHarris1991'] = {'Fulton-Harris'},

----------< G >----------
	--	['CITEREFGocheleishvili2014'] = {'EI3'},
	['CITEREFGareyJohnson1979'] = {'Garey-Johnson'},
	['CITEREFGeanakoplos1959'] = {'Emperor Michael Palaeologus and the West'},
	['CITEREFGeorg_von_Dadelsen1953'] = template_names['NDB'],
	['CITEREFGibb1923'] = {'The Arab Conquests in Central Asia'},
	['CITEREFGil1997'] = {'A History of Palestine, 634-1099', 'A History of Palestine, 634–1099'},
	['CITEREFGillham2001'] = {'Gillham-Waterloo-City'},
	['CITEREFGilliland1969'] = {'Gilliland'},
	['CITEREFGilliland1994'] = {'Pop Chronicles 40s'},
	['CITEREFGilmanPeckColby1905'] = {'New International Encyclopedia', 'NIE'},
	['CITEREFGilmanPeckColby1916'] = {'New International Encyclopedia', 'NIE'},
	['CITEREFGleaves1921'] = {'Gleaves'},
	['CITEREFGlischinski1997'] = {'Glischinski-Santa Fe'},
	['CITEREFGlöckner1983'] = {'Bach\'s compositions (sources)'},
	['CITEREFGoldberg1981'] = {'Goldberg-Amtrak'},
	['CITEREFGordon2001'] = {'Gordon-The Breaking of a Thousand Swords'},
	['CITEREFGrant1994'] = {'Grant-Death'},
	['CITEREFGrant2010'] = {'Grant-Twilight'},
	['CITEREFGrant2017'] = {'Grant-RailCo'},
	['CITEREFGreenlaw2007'] = {'Greenlaw-Via Rail'},
	['CITEREFGregory1991'] = {'ODB'},
	['CITEREFGregoryŠevčenko1991'] = {'ODB'},
	['CITEREFGrete_Schemann1957'] = template_names['NDB'],
	['CITEREFGrierson1903'] = {'Cite LSI', 'LSI', 'Linguistic Survey of India'},
	['CITEREFGrierson1908'] = {'Cite LSI', 'LSI', 'Linguistic Survey of India'},
	['CITEREFGrierson1919'] = {'Cite LSI', 'LSI', 'Linguistic Survey of India'},
	['CITEREFGrierson1967'] = {'Cite LSI', 'LSI', 'Linguistic Survey of India'},
	['CITEREFGriffithsSmith1999'] = {'Griffiths-Sheds1'},
	['CITEREFGriffithsSmith2000'] = {'Griffiths-Sheds2'},
	['CITEREFGrothendieckDieudonné1960'] = {'EGA'},
	['CITEREFGrothendieckDieudonné1961'] = {'EGA'},
	['CITEREFGrothendieckDieudonné1963'] = {'EGA'},
	['CITEREFGrothendieckDieudonné1964'] = {'EGA'},
	['CITEREFGrothendieckDieudonné1965'] = {'EGA'},
	['CITEREFGrothendieckDieudonné1966'] = {'EGA'},
	['CITEREFGrothendieckDieudonné1967'] = {'EGA'},
	['CITEREFGrothendieckDieudonné1971'] = {'EGA'},
	['CITEREFGroves2005'] = {'MSW3 Primates', 'MSW3 Groves'},
	['CITEREFGulino2005'] = {'DBI', 'Dizionario Biografico degli Italiani'},
	['CITEREFGunzburg1984'] = {'Gunzburg-History WAGR Steam'},

----------< H >----------
	--	['CITEREFHathaway2019'] = {'EI3'},
	['CITEREFHaldon1999'] = {'Warfare, State and Society in the Byzantine World, 565–1204'},
	['CITEREFHalliday1985'] = {'Halliday-AustWineCompend'},
	['CITEREFHalliday2008'] = {'Halliday-JHWAtlasAust2008'},
	['CITEREFHalliday2009'] = {'Halliday-AustWineEncyc'},
	['CITEREFHalpenny1990'] = {'Canadabio'},
	['CITEREFHans_Heinrich_Borcherdt1955'] = template_names['NDB'],
	['CITEREFHans_Knudsen1972'] = template_names['NDB'],
	['CITEREFHartshorne1977'] = {'Hartshorne AG'},
	['CITEREFHasumi2003'] = {'Hasumi-shiguehiko-ozu-2003'},
	['CITEREFHaswell-Smith2004'] = {'Haswell-Smith'},
	['CITEREFHaugic1908'] = {'Schaff-Herzog'},
	['CITEREFHawting2000'] = {'The First Dynasty of Islam'},
	['CITEREFHaynes2011'] = {'RubberBible92nd'},
	['CITEREFHeinichen1728'] = {'Bach\'s compositions (sources)'},
	['CITEREFHeinrich_Welti1890'] = {'Cite ADB'},
	['CITEREFHellmann1965'] = {'Bach\'s compositions (sources)'},
	['CITEREFHenrici1725'] = {'Bach\'s compositions (sources)'},
	['CITEREFHenryOrsmond1928'] = {'Raiatea family tree'},
	['CITEREFHermann_Palm1876'] = {'Cite ADB'},
	['CITEREFHerr2000'] = {'Herr-LN'},
	['CITEREFHidyHidyScottHofsummer2004'] = {'Hidy-Great Northern'},
	['CITEREFHildHellenkemper1990'] = {'Tabula Imperii Byzantini'},
	['CITEREFHildHellenkemper1994'] = {'Tabula Imperii Byzantini'},
	['CITEREFHildRestle1981'] = {'Tabula Imperii Byzantini'},
	['CITEREFHills,_Power_from_Steam'] = {'Book-Hills-Power from Steam'},
	['CITEREFHills1989'] = {'Book-Hills-Power from Steam'},
	['CITEREFHilmarJestremski2004'] = {'Schubert\'s compositions (references)'},
	['CITEREFHilton1980'] = {'Hilton-Amtrak'},
	['CITEREFHilton1990'] = {'Hilton Narrow Gauge'},
	['CITEREFHiltonDue1960'] = {'Hilton-Interurban'},
	['CITEREFHinton1986'] = {'HistoryofParliament'},
	['CITEREFHistoric_Environment_Scotland1972'] = {'Historic Environment Scotland'},
	['CITEREFHistoric_Environment_Scotland1976'] = {'Historic Environment Scotland'},
	['CITEREFHistoric_Environment_ScotlandLB33744'] = {'Historic Environment Scotland'},
	['CITEREFHistoric_Environment_ScotlandLB50114'] = {'Historic Environment Scotland'},
	['CITEREFHob.'] = {'Schubert\'s compositions (references)'},
	['CITEREFHoffmann1738'] = {'Bach\'s compositions (sources)'},
	['CITEREFHofmann1983'] = {'Bach\'s compositions (sources)'},
	['CITEREFHofmann1987'] = {'Bach\'s compositions (sources)'},
	['CITEREFHofmann1999'] = {'Bach\'s compositions (sources)'},
	['CITEREFHolland1972'] = {'Holland-Vol 2'},
	['CITEREFHolland1988'] = {'Cite DCB'},
	['CITEREFHolland2001'] = {'Holland-Classic'},
	['CITEREFHollingsworth1980'] = {'Hollingsworth-Atlas-Rigby'},
	['CITEREFHollingsworth1991'] = {'ODB', 'Oxford Dictionary of Byzantium'},
	['CITEREFHollingsworthCutler1991'] = {'ODB', 'Oxford Dictionary of Byzantium'},
	['CITEREFHolmgren2003'] = {'EFloras'},
	['CITEREFHoltBiddle1986'] = {'Holt-NorthWest'},
	['CITEREFHolton1989'] = {'Holton-Reading-1'},
	['CITEREFHopley1983'] = {'Australian Dictionary of Biography'},
	['CITEREFHughes1990'] = {'Hughes-IndianLocos1'},
	['CITEREFHughes1992'] = {'Hughes-IndianLocos2'},
	['CITEREFHughes1994'] = {'Hughes-IndianLocos3'},
	['CITEREFHughes1996'] = {'Hughes-IndianLocos4'},
	['CITEREFHunter2008'] = {'Country study'},

----------< I >----------
	['CITEREFImber2002'] = {'Imber-The Ottoman Empire, 1300–1650'},
	['CITEREFInalcik1989'] = {'Setton-A History of the Crusades'},
	['CITEREFIshino1998'] = {'Teishajo'},

----------< J >----------
	['CITEREFJackson1908'] = {'Schaff-Herzog'},
	['CITEREFJackson1995'] = {'Cite enc-nyc'},
	['CITEREFJackson2010'] = {'Cite enc-nyc2'},
	['CITEREFJacobs1904'] = {'Cite Jewish Encyclopedia'},
	['CITEREFJohnstonWelshSchafer2001'] = {'Johnston-Streamliner'},
	['CITEREFJones2011'] = {'Cite EPD'},
	['CITEREFJordan2002'] = {'Jordan-WineWABest'},
	['CITEREFJoslen2003'] = {'Joslen-OOB'},
	['CITEREFJowett1989'] = {'Jowett-Atlas', 'Carnarvonshire Railway'},
	['CITEREFJowett2000'] = {'Jowett-Nationalised'},
	['CITEREFJupp1986'] = {'HistoryofParliament'},

----------< K >----------
	--	['CITEREFKemper2013'] = {'EI3'},
	['CITEREFK.'] = {'Schubert\'s compositions (references)'},
	['CITEREFKadinsky2016'] = {'Cite Hidden Waters NYC'},
	['CITEREFKaegi1991'] = {'ODB'},
	['CITEREFKang2008'] = {'Country study'},
	['CITEREFKarl_Frohnmeyer1953'] = template_names['NDB'],
	['CITEREFKarnow1989'] = {'Cite-Karnow'},
	['CITEREFKazhdan1991'] = {'ODB', 'Oxford Dictionary of Byzantium'},
	['CITEREFKazhdanCutler1991'] = {'ODB', 'Oxford Dictionary of Byzantium'},
	['CITEREFKazhdanŠevčenko1991'] = {'ODB'},
	['CITEREFKeefe2006'] = {'Schubert\'s compositions (references)'},
	['CITEREFKeller1937'] = {'Bach\'s compositions (sources)'},
	['CITEREFKellyBurrage1920'] = {'Cite AMB1920'},
	['CITEREFKennedy1998'] = {'Cite Kennedy 1998'},
	['CITEREFKennedy2001'] = {'Kennedy-The Armies of the Caliphs'},
	['CITEREFKennedy2004'] = {'The Prophet and the Age of the Caliphates'},
	['CITEREFKennedy2007'] = {'Kennedy-The Great Arab Conquests'},
	['CITEREFKennedy2016'] = {'The Prophet and the Age of the Caliphates'},
	['CITEREFKenyon2011'] = {'Bach\'s compositions (sources)'},
	['CITEREFKerrigan1995'] = {'Shakespeare sonnets bibliography'},
	['CITEREFKhan2012'] = {'Cite Banglapedia'},
	['CITEREFKim1994'] = {'Country study'},
	['CITEREFKirnberger1774'] = {'Bach\'s compositions (sources)'},
	['CITEREFKirnberger1780'] = {'Bach\'s compositions (sources)'},
	['CITEREFKlein2006'] = {'Klein-UP-2'},
	['CITEREFKobayashi1978'] = {'Bach\'s compositions (sources)'},
	['CITEREFKoderHild1976'] = {'Tabula Imperii Byzantini'},
	['CITEREFKoderSoustalKoder1998'] = {'Tabula Imperii Byzantini'},
	['CITEREFKolde1914'] = {'Schaff-Herzog'},
	['CITEREFKonrad_Ameln1985'] = template_names['NDB'],
	['CITEREFKoska2011'] = {'Bach\'s compositions (sources)'},
	['CITEREFKratville1962'] = {'Kratville-SSL'},
	['CITEREFKretzschmar1910'] = {'Bach\'s compositions (sources)'},
	['CITEREFKube2009'] = {'Schubert\'s compositions (references)'},
	['CITEREFKülzer2008'] = {'Tabula Imperii Byzantini'},

----------< L >----------
	--	['CITEREFLongriggLang2015'] = {'Encyclopaedia of Islam, THREE', 'EI3'},
	['CITEREFLadefogedMaddieson1996'] = {'SOWL'},
	['CITEREFLandmann1907'] = {'Bach\'s compositions (sources)'},
	['CITEREFLaërtius1925'] = {'Cite Lives of the Eminent Philosophers', 'Cite LotEP'},
	['CITEREFLe_Quien1740'] = {'Oriens Christianus'},
	['CITEREFLe_Strange1900'] = {'Baghdad During the Abbasid Caliphate'},
	['CITEREFLe_Strange1905'] = {'Lands of the Eastern Caliphate'},
	['CITEREFLe_Strange1922'] = {'Baghdad During the Abbasid Caliphate'},
	['CITEREFLee1903'] = {'Cite DNBIE'},
	['CITEREFLeisingerWollny1993'] = {'Bach\'s compositions (sources)'},
	['CITEREFLewin1925'] = {'Lewin-EarlyRail'},
	['CITEREFLewis1969'] = {'Setton-A History of the Crusades'},
	['CITEREFLewis1986'] = {'Lewis-Shortline-1986'},
	['CITEREFLewis1991'] = {'Lewis-Shortline-1991'},
	['CITEREFLewis1996'] = {'Lewis-Shortline-1996'},
	['CITEREFLiederNet_Archive'] = {'Schubert\'s compositions (references)'},
	['CITEREFLighthouses_of_Australia_Inc'] = {'Cite loa'},
	['CITEREFLind1986'] = {'Lind-Limiteds'},
	['CITEREFLongnon1969'] = {'Setton-A History of the Crusades'},
	['CITEREFLuttrell1975'] = {'Setton-A History of the Crusades'},
	['CITEREFLuttrell1987'] = {'DBI'},
	['CITEREFLynch2004'] = {'Lynch-Penn Central'},
	['CITEREFLynch2005'] = {'Lynch-New Haven passenger'},
	['CITEREFle_Fleming1953'] = {'RCTS-LocosGWR-8'},
	['CITEREFle_Fleming1960'] = {'RCTS-LocosGWR-8'},

----------< M >----------
	--	['CITEREFMallett2013'] = {'EI3'},
	--	['CITEREFMarzolph2007'] = {'EI3'},
	['CITEREFMacDermot1927'] = {'Infobox GWR'},
	['CITEREFMacDermot1931'] = {'Infobox GWR'},
	['CITEREFMadelung1975'] = template_names['Cam_Hist_Iran'],
	['CITEREFMaiken1989'] = {'Maiken-Night Trains'},
	['CITEREFMailer2004'] = {'Mailer-Omaha Road'},
	['CITEREFManfred_Knedlik2007'] = {'BBKL'},
	['CITEREFMarshall1972'] = {'Lancashire & Yorkshire Railway 3'},
	['CITEREFMarshall2001'] = {'Marshall-INGSR'},
	['CITEREFMartin_Persch1992'] = {'BBKL'},
	['CITEREFMartin_Persch1993'] = {'BBKL'},
	['CITEREFMartin_Persch1996'] = {'BBKL'},
	['CITEREFMartindale1980'] = {'Prosopography of the Later Roman Empire', 'PLRE'},
	['CITEREFMartindale1992'] = {'Prosopography of the Later Roman Empire', 'PLRE'},
	['CITEREFMartindaleJonesMorris1971'] = {'Prosopography of the Later Roman Empire', 'PLRE'},
	['CITEREFMayGray2006'] = {'MayGray-WAGRPassCar'},
	['CITEREFMcArthurMcArthur2003'] = {'Cite ogn', 'Cite Oregon Geographic Names'},
	['CITEREFMcCurdyRogers1902'] = {'Cite Jewish Encyclopedia'},
	['CITEREFMcDonnell2015'] = {'McDonnell-Locomotives-2nd'},
	['CITEREFMcGhee2008'] = {'Cite McGhee 2008'},
	['CITEREFMeiningen1704'] = {'Bach\'s compositions (sources)'},
	['CITEREFMeints1992'] = {'Meints-Companies'},
	['CITEREFMeints2005'] = {'Meints-Lines'},
	['CITEREFMelamed1988'] = {'Bach\'s compositions (sources)'},
	['CITEREFMelamed1995'] = {'Bach\'s compositions (sources)'},
	['CITEREFMiddleton1961'] = {'Middleton-Interurban'},
	['CITEREFMiddleton2001'] = {'Middleton-Electrified-2nd'},
	['CITEREFMiddleton2002'] = {'Middleton-PRR-Under-Wire'},
	['CITEREFMiddletonSmerkDiehl2007'] = {'Encyclopedia of North American Railroads'},
	['CITEREFMillar2011'] = {'NZR Steam Locomotive'},
	['CITEREFMiller1908'] = {'The Latins in the Levant', 'Latins in the Levant'},
	['CITEREFMiller1921'] = {'Essays on the Latin Orient'},
	['CITEREFMinnich2008'] = {'Country study'},
	['CITEREFMiramar_Ship_Index'] = {'Csr', 'Cite ship register'},
	['CITEREFMitchell1965'] = {'Mitchell TOC'},
	['CITEREFMittermeierKonstantHawkinsLouis2006'] = {'LoM2'},
	['CITEREFMittermeierLouisRichardsonSchwitzer2010'] = {'LoM3'},
	['CITEREFMittermeierTattersallKonstantMeyers1994'] = {'LoM1'},
	['CITEREFMorana1993'] = {'Bach\'s compositions (sources)'},
	['CITEREFMottahedeh1975'] = template_names['Cam_Hist_Iran'],
	['CITEREFMozartHaydnHaydn2008'] = {'Schubert\'s compositions (references)'},
	['CITEREFMurray2006'] = {'Murray-Illinois Central'},
	['CITEREFMüller,_Hans-Christian1966'] = template_names['NDB'],

----------< N >----------
	['CITEREFNSA_II,_15'] = {'Schubert\'s compositions (references)'},
	['CITEREFNSA_scores'] = {'Schubert\'s compositions (references)'},
	['CITEREFNSA_website'] = {'Schubert\'s compositions (references)'},
	['CITEREFNersessian2018'] = template_names['ODLA'],
	['CITEREFNeukirch1999'] = {'Neukirch ANT'},
	['CITEREFNeukirchSchmidtWingberg2000'] = {'Neukirch et al. CNF'},
	['CITEREFNew_York_City_Landmarks_Preservation_CommissionDolkartPostal2009'] = {'Cite nycland'},
	['CITEREFNewbould1999'] = {'Schubert\'s compositions (references)'},
	['CITEREFNicholsonCanepaDaryaee2018'] = template_names['ODLA'],
	['CITEREFNicol1988'] = {'Byzantium and Venice: A Study in Diplomatic and Cultural Relations'},
	['CITEREFNicol1993'] = {'The Last Centuries of Byzantium, 1261–1453', 'The Last Centuries of Byzantium'},
	['CITEREFNock1974'] = {'Nock-EustonGlasgow'},

----------< O >----------
	['CITEREFODB'] = {'Oxford Dictionary of Byzantium'},
	['CITEREFODLA'] = template_names['ODLA'],
	['CITEREFO\'ConnorRobertson2000'] = {'MacTutor Biography', 'MacTutor'},
	['CITEREFOfficial_Guide_of_the_Railways1950'] = {'Official Guide of the Railways'},
	['CITEREFOgorek2012'] = {'Ogorek-South Shore'},
	['CITEREFOikonomides1991'] = {'ODB'},

----------< ODNB >----------
	--[[	['CITEREFArmstrongLarminie2008'] = template_names['ODNB'],
	['CITEREFBennett2007'] = template_names['ODNB'],
	['CITEREFBlaikie2004'] = template_names['ODNB'],
	['CITEREFBrock2004'] = template_names['ODNB'],
	['CITEREFCarpenter2004'] = template_names['ODNB'],
	['CITEREFCranfield2006'] = template_names['ODNB'],
	['CITEREFDurston2008'] = template_names['ODNB'],
	['CITEREFFincham2008'] = template_names['ODNB'],
	['CITEREFFincham2011'] = template_names['ODNB'],
	['CITEREFFoster2004'] = template_names['ODNB'],
	['CITEREFFoster2005'] = template_names['ODNB'],
	['CITEREFGordon2004'] = template_names['ODNB'],
	['CITEREFHarriss2004'] = template_names['ODNB'],
	['CITEREFHenderson2004'] = template_names['ODNB'],
	['CITEREFHuffman2004'] = template_names['ODNB'],
	['CITEREFHughes2004'] = template_names['ODNB'],
	['CITEREFJones2004'] = template_names['ODNB'],
	['CITEREFKeane2004'] = template_names['ODNB'],
	['CITEREFKelsey2004'] = template_names['ODNB'],
	['CITEREFLloyd2004'] = template_names['ODNB'],
	['CITEREFLloydSeccombe2004'] = template_names['ODNB'],
	['CITEREFMoore2008'] = template_names['ODNB'],
	['CITEREFMorrell2004'] = template_names['ODNB'],
	['CITEREFMuir2004'] = template_names['ODNB'],
	['CITEREFQuinault2004'] = template_names['ODNB'],
	['CITEREFRanger2004'] = template_names['ODNB'],
	['CITEREFReynolds2004'] = template_names['ODNB'],
	['CITEREFRichards2004'] = template_names['ODNB'],
	['CITEREFSambrook2004'] = template_names['ODNB'],
	['CITEREFSchweizer2004'] = template_names['ODNB'],
	['CITEREFShenton2015'] = template_names['ODNB'],
	['CITEREFStrong2004'] = template_names['ODNB'],
	['CITEREFSummerson2004'] = template_names['ODNB'],
	['CITEREFSykes2004'] = template_names['ODNB'],
	['CITEREFThompson2004'] = template_names['ODNB'],
	['CITEREFThomson2008'] = template_names['ODNB'],
	['CITEREFWaite2004'] = template_names['ODNB'],
	['CITEREFWright2009'] = template_names['ODNB'],
	['CITEREFvan_Houts2004'] = template_names['ODNB'],
	]]

----------< P >----------
	--	['CITEREFPeltonen2007'] = template_names['ODNB'],
	['CITEREFPLP'] = {'Prosopographisches Lexikon der Palaiologenzeit', 'PLP'},
	['CITEREFPalmer1875'] = {'Cite ADB'},
	['CITEREFPalmer_&amp;_Stewart1965'] = {'Palmer & Stewart'},
	['CITEREFPaxtonBourne1985'] = {'Paxton-Bourne'},
	['CITEREFPeck1898'] = {'HDCA'},
	['CITEREFPerreault2004'] = {'Bach\'s compositions (sources)'},
	['CITEREFPfau2008'] = {'Bach\'s compositions (sources)'},
	['CITEREFPinkepank1973'] = {'Pinkepank diesel spotters guide 2'},
	['CITEREFPlantlist2016'] = {'Plantlist'},
	['CITEREFPlaten1976'] = {'Bach\'s compositions (sources)'},
	['CITEREFPmbZ'] = {'Prosopographie der mittelbyzantinischen Zeit', 'PMBZ'},
	['CITEREFPopplewell'] = {'Popplewell-Gazetteer'},
	['CITEREFPrawer1985'] = {'Setton-A History of the Crusades'},
	['CITEREFProsopographie_der_mittelbyz._Zeit'] = {'Prosopographie der mittelbyzantinischen Zeit'},

----------< Q >----------
	--	['CITEREFQutbuddin2018'] = {'EI3'},
	['CITEREFQuick2009'] = {'Quick-Stations'},
	['CITEREFQuick2019'] = {'Quick-stations-5'},

----------< R >----------
	--	['CITEREFRines1920'] = {'Cite Americana'},
	['CITEREFRamaer1974'] = {'Ramaer-SteamLocosEAR'},
	['CITEREFRavegnano2000'] = {'DBI'},
	['CITEREFReed1953'] = {'RCTS-LocosGWR-2'},
	['CITEREFReed1975'] = {'Reed-Streamline era'},
	['CITEREFReed1997'] = {'Schubert\'s compositions (references)'},
	['CITEREFReinhard_Tenberg1990'] = {'BBKL'},
	['CITEREFReynolds1921'] = {'Cite Collier\'s'},
	['CITEREFReynoldsOroszi2000'] = {'Reynolds-BO'},
	['CITEREFRigo2005'] = {'ODB'},
	['CITEREFRipleyDana1863'] = {'New American Cyclopedia'},
	['CITEREFRipleyDana1864'] = {'New American Cyclopedia'},
	['CITEREFRipleyDana1879'] = {'Cite AmCyc'},
	['CITEREFRistaino1988'] = {'Country study'},
	['CITEREFRobertson1983'] = {'Robertson-OriginScot'},
	['CITEREFRoltKichenside1982'] = {'Rolt-Red'},
	['CITEREFRose1857'] = {'Cite Newgenbio'},
	['CITEREFRosenfeld1974'] = template_names['NDB'],
	['CITEREFRosenzweigBlackmar1992'] = {'Cite Central Park history'},
	['CITEREFRowledge1975'] = {'Rowledge-Engines of the LMS'},
	['CITEREFRowledge1993'] = {'Rowledge-Irish Steam Register'},
	['CITEREFRowlett'] = {'Cite rowlett'},
	['CITEREFRybczynski2000'] = {'Rybczynski2000'},

----------< S >----------
	--	['CITEREFShahîd2010'] = {'EI3'},
	['CITEREFSR_staff2013'] = {'Houston family tree'},
	['CITEREFSanders2003'] = {'Sanders-Indiana'},
	['CITEREFSanders2006'] = {'Sanders-Heartland'},
	['CITEREFSanders2007'] = {'Sanders-Akron'},
	['CITEREFSaunders2001'] = {'Saunders-Merging Lines'},
	['CITEREFSaunders2013'] = {'Saunders-Giants of the Seas'},
	['CITEREFSavadaShaw1992'] = {'Country study'},
	['CITEREFSchafer1996'] = {'Schafer-Classic-Railroads-1'},
	['CITEREFSchafer1998'] = {'Schafer-Vintage Diesel'},
	['CITEREFSchafer2000'] = {'Schafer-More-Classic'},
	['CITEREFSchafer2003'] = {'Schafer-Classic-Railroads-3'},
	['CITEREFSchaferSolomon1997'] = {'Schafer-Pennsylvania'},
	['CITEREFSchaferWelsh1997'] = {'Schafer-Classic'},
	['CITEREFSchaferWelsh2002'] = {'Schafer-Streamliners'},
	['CITEREFSchaferWelshHolland2001'] = {'Schafer-American passenger train'},
	['CITEREFSchaff-Herzog'] = {'Schaff-Herzog'},
	['CITEREFScheide1960'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchicht1805'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchilling1997'] = {'Schilling-pop-culture'},
	['CITEREFSchlitter2005'] = {'MSW3 Tubulidentata'},
	['CITEREFSchmieder1950'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchmieder1990'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchneider1907'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchneider1912'] = {'Bach\'s compositions (sources)'},
	['CITEREFScholze1736'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchroeter1961'] = {'Schroeter-Eisenbahnen'},
	['CITEREFSchroeterRamaer1993'] = {'Schroeter-Ramaer-Eisenbahnen'},
	['CITEREFSchubert-online'] = {'Schubert\'s compositions (references)'},
	['CITEREFSchulenberg2010'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchulenberg2013'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchulze1980'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchulze1983'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchulze1984'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchwieterman2001'] = {'Schwieterman-Leaves-Eastern'},
	['CITEREFScottNegus2011'] = {'Scott-Negus-Cellar Door'},
	['CITEREFScribbins1970'] = {'Scribbins-Hiawatha'},
	['CITEREFScribbins2008'] = {'Scribbins-400-2008', 'Scribbins-Remembered'},
	['CITEREFSearle'] = {'Cite sslidx'},
	['CITEREFSellwood1983'] = template_names['Cam_Hist_Iran'],
	['CITEREFSemmensGoldfinch2000'] = {'Book-Semmens-Goldfinch-How Steam Locomotives Really Work'},
	['CITEREFSetton1975'] = {'Setton-A History of the Crusades'},
	['CITEREFSetton1976'] = {'The Papacy and the Levant'},
	['CITEREFSetton1978'] = {'The Papacy and the Levant'},
	['CITEREFShaughnessy1997'] = {'Shaughnessy-DH'},
	['CITEREFShaw1978'] = {'Shaw-RailroadAccidents'},
	['CITEREFShindo2004'] = {'Kaneto-shindo-shinario-jinsei'},
	['CITEREFSiegele1957'] = {'Bach\'s compositions (sources)'},
	['CITEREFSilke2006'] = {'O\'Donnell family tree'},
	['CITEREFSimon1966'] = {'Simon-Wines Australia'},
	['CITEREFSimonWarner2011'] = {'Amtrak By the Numbers'},
	['CITEREFSkoulatos1980'] = {'Les personnages byzantins de l\'Alexiade'},
	['CITEREFSmith1870'] = {'DGRBM'},
	['CITEREFSmith2010'] = {'Smith-Cruise Ships-2010'},
	['CITEREFSolomentsev2001'] = {'Springer', 'SpringerEOM'},
	['CITEREFSolomon2000'] = {'Solomon-American Diesel', 'Solomon-UP'},
	['CITEREFSolomon2003'] = {'Solomon-Masterpieces'},
	['CITEREFSolomon2004'] = {'Solomon-Amtrak'},
	['CITEREFSolomon2005'] = {'Solomon-SP-Passenger'},
	['CITEREFSolomon2006'] = {'Solomon-EMD Locomotives'},
	['CITEREFSolomon2011'] = {'Solomon-Modern Diesel'},
	['CITEREFSolomon2014'] = {'Solomon-GE and EMD'},
	['CITEREFSolomonSchafer2007'] = {'Solomon-New York Central'},
	['CITEREFSoustal1991'] = {'Tabula Imperii Byzantini'},
	['CITEREFSoustalKoder1981'] = {'Tabula Imperii Byzantini'},
	['CITEREFSpitta1894'] = {'Bach\'s compositions (sources)'},
	['CITEREFSpitta1899'] = {'Bach\'s compositions (sources)'},
	['CITEREFSpringirth2016'] = {'Springirth-Philadelphia'},
	['CITEREFStagner1993'] = {'Stagner-Transition'},
	['CITEREFStansfield1999'] = {'Stansfield-AyrRenfrew'},
	['CITEREFStatistical_Yearbook_of_the_Republic_of_Croatia_2015'] = {'Croatia Yearbook 2015'},
	['CITEREFStaufer1993'] = {'Staufer-Pennsy_III'},
	['CITEREFStauferPennypacker1962'] = {'Staufer-Pennsy'},
	['CITEREFStauferPennypacker1968'] = {'Staufer-Pennsy Power II'},
	['CITEREFStaunton1988'] = {'Australian Dictionary of Biography'},
	['CITEREFStewart1974'] = {'When Steam Was King'},
	['CITEREFStrickland1983'] = {'Strickland Locomotive Directory'},
	['CITEREFStähelin1909'] = {'Schaff-Herzog'},
	['CITEREFSuetin2001'] = {'Springer', 'SpringerEOM'},
	['CITEREFSusanne_Schurr1992'] = {'BBKL'},
	['CITEREFSusanne_Siebert1992'] = {'BBKL'},

----------< T >----------
	--	['CITEREFTurner2010'] = {'EI3'},
	--	['CITEREFTurner2013'] = {'EI3'},
	['CITEREFTaber1977'] = {'Taber-DLW-19th'},
	['CITEREFTaberTaber1980'] = {'Taber-DLW-20th-1'},
	['CITEREFTaberTaber1981'] = {'Taber-DLW-20th-2'},
	['CITEREFTalbot1991'] = {'ODB'},
	['CITEREFTalbotKazhdan1991'] = {'Oxford Dictionary of Byzantium'},
	['CITEREFTer-Ghewondyan1976'] = {'The Arab Emirates in Bagratid Armenia'},
	['CITEREFThe_London_Gazette1950'] = {'London Gazette'},
	['CITEREFThielemann2012'] = {'Bach\'s compositions (sources)'},
	['CITEREFThomas1970'] = {'HistoryofParliament'},
	['CITEREFThomas1971'] = {'Thomas-History-VI'},
	['CITEREFThrush2010'] = {'HistoryofParliament'},
	['CITEREFTittel1966'] = {'Bach\'s compositions (sources)'},
	['CITEREFTodt1996'] = {'BBKL'},
	['CITEREFTodtVest2014'] = {'Tabula Imperii Byzantini'},
	['CITEREFTonks1988'] = {'Tonks ironstone'},
	['CITEREFTonks1989'] = {'Tonks ironstone'},
	['CITEREFTonks1992'] = {'Tonks ironstone'},
	['CITEREFTopping1975'] = {'Setton-A History of the Crusades'},
	['CITEREFTorri2013'] = {'Bach\'s compositions (sources)'},
	['CITEREFTourret1995'] = {'Tourret-Allied Military Locomotives'},
	['CITEREFTrapp1991'] = template_names['ODB'],
	['CITEREFTrappBeyerSturm-Schnabl1983'] = {'Prosopographisches Lexikon der Palaiologenzeit'},
	['CITEREFTrappWaltherBeyerSturm-Schnabl1978'] = {'Prosopographisches Lexikon der Palaiologenzeit'},
	['CITEREFTreadgold1988'] = {'The Byzantine Revival, 780–842'},
	['CITEREFTreadgold1997'] = {'A History of the Byzantine State and Society'},
	['CITEREFTurim1998'] = {'Turim-oshima'},

----------< U >----------
	['CITEREFUS-NHub_Music_Deposit_31_(Klavierbüchlein_für_W._F._Bach)_at_Bach_Digital'] = {'Bach\'s compositions (sources)'},
	['CITEREFUwe_Eckardt2001'] = {'BBKL'},
	['CITEREFunknown_author1881'] = {'Cite ADB'},
	['CITEREFunknown_author1882'] = {'Cite ADB'},

----------< V >----------
	--	['CITEREFvan_Berkel2013'] = {'EI3'},
	['CITEREFVan_Cleve1969'] = {'Setton-A History of the Crusades'},
	['CITEREFVan_Hoorickx1971'] = {'Schubert\'s compositions (references)'},
	['CITEREFVan_Hoorickx_1974–1976'] = {'Schubert\'s compositions (references)'},
	['CITEREFVan_Riemsdijk,_Compound_Locomotives'] = {'Book-Van Riemsdijk-Compound Locomotives'},
	['CITEREFVan_Tricht2011'] = {'The Latin Renovatio of Byzantium'},
	['CITEREFVarzos1984'] = {'Η Γενεαλογία των Κομνηνών', 'Varzos-Genealogy of the Komnenoi'},
	['CITEREFVendler1997'] = {'Shakespeare sonnets bibliography'},
	['CITEREFVetter1713'] = {'Bach\'s compositions (sources)'},
	['CITEREFVischer1912'] = {'Schaff-Herzog'},
	['CITEREFVolkmer1991'] = {'Volkmer-Pennsy-Electric'},
	['CITEREFvan_Leyden1956'] = {'Bach\'s compositions (sources)'},
	['CITEREFvon_Prantl1879'] = {'Cite ADB'},

----------< W >----------
	--	['CITEREFWalker2011'] = {'EI3'},
	--	['CITEREFWalker2017'] = {'EI3'},
	['CITEREFWalter_Asmus1966'] = template_names['NDB'],
	['CITEREFWayner1972'] = {'Wayner - Car names, numbers, consists'},
	['CITEREFWayner1973'] = {'Wayner-Spotter-2nd'},
	['CITEREFWegman2008'] = {'Wegman-Illustrated'},
	['CITEREFWeibel1994'] = {'Weibel IHA'},
	['CITEREFWeinrebHibbertKeayKeay2008'] = {'London encyclopedia'},
	['CITEREFWellhausen1927'] = {'The Arab Kingdom and its Fall'},
	['CITEREFWells1982'] = {'Accents of English'},
	['CITEREFWells2008'] = {'Cite LPD'},
	['CITEREFWelsh2006'] = {'Welsh-Broadway'},
	['CITEREFWelsh2008'] = {'Welsh-UP'},
	['CITEREFWerner_Raupp2001'] = {'BBKL'},
	['CITEREFWestermayer,_Georg1882'] = {'Cite ADB'},
	['CITEREFWham1997'] = {'Wham-Ayrshire'},
	['CITEREFWharton1991'] = {'ODB'},
	['CITEREFWhishaw1842'] = {'Whishaw-RailofGB-2ndEd'},
	['CITEREFWhishaw1969'] = {'Whishaw-RailofGB'},
	['CITEREFWhite1985'] = {'White-Passenger-1985'},
	['CITEREFWhite1993'] = {'White - American railroad freight car'},
	['CITEREFWhiteWillenskyLeadon2010'] = {'Cite aia5'},
	['CITEREFWhitehurst1973'] = {'Whitehurst GW Engines from 1940'},
	['CITEREFWhittow1996'] = {'The Making of Byzantium, 600–1025'},
	['CITEREFWickman1982'] = {'Country study'},
	['CITEREFWiesehöfer2018'] = template_names['ODLA'],
	['CITEREFWilliams1998'] = {'Williams-Philadelphia'},
	['CITEREFWilliams2003'] = {'Bach\'s compositions (sources)'},
	['CITEREFWillis1750'] = {'Cite Notitia Parliamentaria'},
	['CITEREFWilson2017'] = {'Wilson-Guide'},
	['CITEREFWilsonFiske1891'] = {'Appletons\'', 'Cite Appletons\'', 'Appletons'},
	['CITEREFWilsonFiske1900'] = {'Appletons\'', 'Cite Appletons\'', 'Appletons'},
	['CITEREFWiltshire2000'] = {'Lloyd-Margaret River'},
	['CITEREFWinfieldLyon2004'] = {'Winfield'},
	['CITEREFWolff1969'] = {'Setton-A History of the Crusades'},
	['CITEREFWollny2015'] = {'Bach\'s compositions (sources)'},
	['CITEREFWood1907'] = {'Cite Nuttall'},
	['CITEREFWood1907'] = {'Nuttall'},
	['CITEREFWorden2008'] = {'Country study'},
	['CITEREFWozencraft2005'] = {'MSW3 Carnivora'},
	['CITEREFWright2000'] = {'Bach\'s compositions (sources)'},

----------< X >----------
	

----------< Y >----------
	['CITEREFYenne2005'] = {'Yenne-Chiefs'},
	['CITEREFYonge1990'] = {'Quail-4'},
	['CITEREFYonge1994'] = {'Quail-5'},
	['CITEREFYonge2002'] = {'Quail-5'},
	['CITEREFYonge2008'] = {'Quail-5'},
	['CITEREFYonge2016'] = {'Quail-2-2016'},
	['CITEREFYongePadgettSzwenk2013'] = {'Quail-4-Paper-3rdEd'},

----------< Z >----------
	['CITEREFZahn1889–1893'] = {'Bach\'s compositions (sources)'},
	['CITEREFZarrinkub1975'] = template_names['Cam_Hist_Iran'],
	['CITEREFZekulich2000'] = {'Zekulich-WineWA'},
	['CITEREFZimmermann2004'] = {'Zimmermann-Burlington'},
	['CITEREFZimmermann2007'] = {'Zimmermann-GrandLuxe'},
	['CITEREFZuccaric._1747'] = {'Bach\'s compositions (sources)'},

----------< UNSORTED >----------
	

	}

--[[--------------------------< U N S O R T E D _ A D D >------------------------------------------------------

add members of the unsorted list based on first character(upper or lower case) following 'CITEREF'.  If <index>
is longer than one character (ODNB, UNSORTED, whatever), return without making any additions

]]

local function unsorted_add (index, unsorted, temp)
	local pattern;

	if 1 < index:len() then														-- only add citerefs to the single-character lists
		return;
	end

	if '#' == index then
		pattern = '%[\'CITEREF%d';												-- first character is a digit
	else
		pattern = '%[\'CITEREF[' .. index .. index:lower() .. ']';
	end
	
	for k, v in pairs (unsorted) do												-- spin through the unsorted listing
		if v and k:match (pattern) then											-- if not nil and matches the pattern
			temp[k] = true;														-- add to the alpha listing
			unsorted[k] = nil;													-- and then disable this one in the unsorted listing
		end
	end
end


--[[--------------------------< L I S T _ P A R S E >----------------------------------------------------------

parse apart plain-text list of a key / value pair into a table where the plain-text k/v becomes the key in a lua
table with the assigned value true.  Do this to catch multiples of the same k/v and to support the easy insertion
of k/v pairs from the unsorted list.

also normalize k/v format

]]

local function list_parse (index, list, temp)
	for citeref in list[index]:gmatch ('\t*([^\r\n]+)') do
		citeref = mw.text.trim (citeref);
		citeref = citeref:gsub (' *%[ *\' *', '[\'');							-- normalize opening sq brackets
		citeref = citeref:gsub (' *\' *%] *', '\']');							-- normalize closing sq brackets
		citeref = citeref:gsub (' *{ *\' *', '{\'');							-- normalize opening braces
		citeref = citeref:gsub (' *\' *} *', '\'}');							-- normalize closing braces
		citeref = citeref:gsub ('([%]}]) *, *', '%1,');							-- normalize trailing comma
		citeref = citeref:gsub (' *= *', ' = ');								-- normalize assignment operator
		if not temp[citeref] then
			temp[citeref] = true;												-- a constant value so that we can know if the 'key' already exists (avoid duplication)
		end
	end
end


--[[--------------------------< W H I T E L I S T _ S O R T >--------------------------------------------------

maintenance utility for Module:Footnotes/whitelist.  The whitelist is segregated into sections according to the
section heading (single alpha character A-Z and '#').  This utility adds whitelist entries from the UNSORTED
heading to the correct alpha heading.  After appropriate unsorted entries have been added to a section, the
section is sorted and then saved.

for this to work, the unsorted header name must be: UNSORTED

this utility take no arguments from frame.  frame is provided only for expandTemplate()
]]

local function whitelist_sort(frame)
	local headers = {};															-- headings are stored here and used for loop control
	local list = {}																-- table of tables of the plain-text citerefs
	local unsorted = {};														-- table of k/v pairs where k is the unsorted citerefs and v is true or nil (after added to alpha list)
	local result = {};															-- sorted and formatted section end up here
	local temp, temp2 = {}, {};

	local content = mw.title.new('Module:Footnotes/whitelist'):getContent();	-- read the module plain text
	
	local find_pattern = '%s*local%s+whitelist%s+=%s+';							-- find the whitelist table
	local tstart, tend = content:find (find_pattern);

	content = content:match ('%b{}', tstart);									-- get the content of the whitelist table
	content = content:gsub ('^{[\r\n]+', ''):gsub ('[\r\n]+}$', '');			-- remove leading and trailing braces and newlines
	
	for header in content:gmatch ('%-+<([#%a%d%s]+)>%-+') do					-- get pseudo-headers
		table.insert (headers, mw.text.trim (header));							-- save the captures in the headers table
	end

	for i, header in ipairs (headers) do										-- separate whitelist entries into individual alpha groupings
		local pattern = '%-+<%s*' .. header .. '%s*>%-+';
		tstart, tend = content:find (pattern);									-- find this header
		if tstart and headers[1+i] then											-- if not the last header
			list[header] =  mw.text.trim (content:match ('([^<]-)%-+<', tend+1));	-- begin at end of header; +1 to leave-off the last '-' in the header
		elseif tstart then														-- must be the last header (usually UNSORTED)
			list[header] =  mw.text.trim (content:match ('.*', tend+1));		-- begin at end of header; +1 to leave-off the last '-' in the header
		else
			error ('shouldn\'t be here; header: ' .. header or '(nil or empty string)' .. '; tstart: ' .. tstart or '(nil or empty string)');
		end
	end

	list_parse ('UNSORTED', list, unsorted);									-- make a separate unsorted list
	list['UNSORTED'] = '';														-- blank the unsorted source

	for i, v in ipairs (headers) do
		temp, temp2 = {}, {};													-- reinit temp &  temp2

		list_parse (v, list, temp);												-- parse the list
		unsorted_add (v, unsorted, temp);										-- then add appropriate citerefs from the unsorted list

		for k, v in pairs (temp) do												-- get 'key' value from temp{} and make a sequence from it in temp2{} so it can be sorted
			if v then
				table.insert (temp2, k);										-- unsorted listing gets 'emptied' by setting v nil; don't add nil citerefs to temp2
			end
		end
		table.sort (temp2);														-- sort this section
		table.insert (result, '----------< ' .. v .. ' >----------\n\t' .. table.concat (temp2, '\n\t') .. '\n\n');	-- add a header, make a long string, and add to result{}
	end

	return frame:extensionTag {name="syntaxhighlight", content='local whitelist = {\n'.. table.concat (result) .. '\t}', args = {lang="lua"}};
end


--[[-------------------------< E X P O R T E D   F U N C T I O N S >------------------------------------------
]]

return {
	whitelist_sort = whitelist_sort,
	}