Module:Footnotes/whitelist

--[[--< T E M P L A T E _ N A M E S >--

This table holds the names of templates and the names of their redirects. Template names must be written exactly as they are named at their templatespace page. This same also applies to redirects.

The indexes in this table are not critical but should be short and concise.

]]

local template_names = { ['al-Tabari'] = {'The History of al-Tabari', 'The History of Al-Tabari', 'The History of al-Ṭabarī'}, ['Butt_Stations'] = {'Butt-Stations', 'Butt-stations'}, ['Cam_Hist_Iran'] = {'Cambridge History of Iran', 'The Cambridge History of Iran'}, ['DNB'] = {'Cite DNB', 'DNB', 'DNB Cite', 'Cite DNBSupp', 'Cite DNB12', 'Cite DNBIE', 'DNB12', 'DNBIE'}, ['EB1911'] = {'EB1911', 'Cite EB1911', '1911'}, ['ODLA'] = {'ODLA', 'Oxford Dictionary of Late Antiquity'} }

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

Lua patterns. These are scanned sequentially which costs time and processing far and above the time and processing needed to index into whitelist{}. Do not create a pattern here if a normal whitelist entry or entries can be created.

]]

local special_patterns = { 'CITEREFHistoric_England%d+',												-- & }

--[[--< D N B _ S P E C I A L _ P A T T E R N S >--

Lua patterns. Note at special_patterns applies. These for the DNB templates only; these will be tried only when there is a DNB template in the article.

Pretty much any author name during the period 1885–1900 inclusive.

]]

local DNB_special_patterns = { 'CITEREF%a[%a%-_\']*188[5-9]',		-- 1885–1889 'CITEREF%a[%a%-_\']*189%d',		-- 1890–1899 'CITEREF%a[%a%-_\']*190[0-1]',		-- 1900–1901 'CITEREF%a[%a%-_\']*1912',		-- 1912 supplement }

--[[--< W H I T E L I S T >

This is a list of anchor IDs known to be associated with specific wrapper templates. The anchor ID serves as an index into the table. The assigned value is another table that lists the associate template and any redirects.

Except for year disambiguators, anchor IDs must have the same form as the anchor creator makes; must be the anchor-encoded form. Remove the year disambiguator.

Template names must be written exactly as they are named at their templatespace page. This same also applies to redirects. Module:Footnotes reads the template names left to right so most-commonly-used template or redirect name should appear first. When there are more than one name and when those templates have various anchor IDs the template namelist should be added to the template_names{} table.

Note that references to Template:EB1911 are listed under "E" in the alphabetical list below to keep them organized.

]]

local whitelist = { --< A >-- ['CITEREFAdamson1878'] = {'Cite EB9'}, ['CITEREFATOC2009'] = {'ATOCConnectingCommunitiesReportS10'}, ['CITEREFAvdoyan2018'] = template_names['ODLA'], ['CITEREFAwdry1990'] = {'Awdry-RailCo'},

--< B >-- ['CITEREFBaynes1878'] = {'Cite EB9'}, ['CITEREFBivar1983'] = template_names['Cam_Hist_Iran'], ['CITEREFBosworth1975'] = template_names['Cam_Hist_Iran'], ['CITEREFBosworth1991'] = template_names['al-Tabari'], ['CITEREFBradshaw1985'] = {'Bradshaw-1922July'}, ['CITEREFBoddyFryHenniganHoole1990'] = {'RCTS-LocosLNER-10B'}, ['CITEREFBody1989'] = {'Body-Railways-Vol2'}, ['CITEREFBoyd1975'] = {'Boyd-FR1'}, ['CITEREFBoyd1986'] = {'Boyd-NCaerns3Dinorwic'}, ['CITEREFBoyd1988'] = {'Boyd-SCaerns1'}, ['CITEREFBoyd1989'] = {'Boyd-SCaerns2'}, ['CITEREFBoyd1990'] = {'Boyd-NCaerns1'}, ['CITEREFBradshaw1968'] = {'Bradshaw-1910April'}, ['CITEREFBrunner1975'] = template_names['Cam_Hist_Iran'], ['CITEREFBrunner1975'] = template_names['Cam_Hist_Iran'], ['CITEREFBrunner1983'] = template_names['Cam_Hist_Iran'], ['CITEREFButt1995'] = template_names['Butt_Stations'],

--< C >-- ['CITEREFCasserley1968'] = {'Casserley-joint'}, ['CITEREFChurchman_&amp;_Hurst2001'] = {'Churchman & Hurst Railways of New Zealand'}, ['CITEREFChurella2013'] = {'Churella-PRR-1'}, ['CITEREFClinker1978'] = {'Clinker-Stations'}, ['CITEREFClinker1988'] = {'Clinker-Stations'}, ['CITEREFConolly1998'] = {'IanAllan-PreGroup-Atlas1998'}, ['CITEREFCousin1910'] = {'Cite SBDEL'}, ['CITEREFCox1967'] = {'Cox-Upper Darby'}, ['CITEREFCroughtonKidnerYoung1982'] = {'Croughton-PrivateStations'}, ['CITEREFCudahy2002'] = {'Cudahy-Hudson'},

--< D >-- ['CITEREFDanielsDench1963'] = {'Daniels-NoMore'}, ['CITEREFDanielsDench1973'] = {'Daniels-NoMore'}, ['CITEREFDaviesFirthLuckingThomas1966'] = {'RCTS-LocosGWR-10'}, ['CITEREFDickens2018'] = template_names['ODLA'], ['CITEREFDonohue2003'] = {'The Buwayhid Dynasty in Iraq'}, ['CITEREFDow1962'] = {'Dow-GC2'}, ['CITEREFDow1965'] = {'Dow-GC3'}, ['CITEREFDow1985'] = {'Dow-GC1'},

--< DNB and Cite DNB >--

-- replaced by pattern search above --

--< E >--

--< EB1911 and EB 1922 >-- Please do not add CITEREFEB1911. It should be corrected instead, typically to Chisholm 1911.

['CITEREFAbrahams1911'] = template_names['EB1911'], ['CITEREFAdamsonMitchell1911'] = template_names['EB1911'], ['CITEREFAlphandéry1911'] = template_names['EB1911'], ['CITEREFAnchel1911'] = template_names['EB1911'], ['CITEREFAnonymous1911'] = template_names['EB1911'], ['CITEREFArcher1911'] = template_names['EB1911'], ['CITEREFAshby1911'] = template_names['EB1911'], ['CITEREFAtkinson1911'] = template_names['EB1911'], ['CITEREFBain1911'] = template_names['EB1911'], ['CITEREFBarclay1911'] = template_names['EB1911'], ['CITEREFBarker1911'] = template_names['EB1911'], ['CITEREFBarron1911'] = template_names['EB1911'], ['CITEREFBateson1911'] = template_names['EB1911'], ['CITEREFBealby1911'] = template_names['EB1911'], ['CITEREFBeazley1911'] = template_names['EB1911'], ['CITEREFBeck1911'] = template_names['EB1911'], ['CITEREFBecke1911'] = template_names['EB1911'], ['CITEREFBhownagree1911'] = template_names['EB1911'], ['CITEREFBlunt1911'] = template_names['EB1911'], ['CITEREFBourchier1911'] = template_names['EB1911'], ['CITEREFBousset1911'] = template_names['EB1911'], ['CITEREFBrandin1911'] = template_names['EB1911'], ['CITEREFBraun1911'] = template_names['EB1911'], ['CITEREFBryant1911'] = template_names['EB1911'], ['CITEREFBunburyCaspariGardner1911'] = template_names['EB1911'], ['CITEREFBury1911'] = template_names['EB1911'], ['CITEREFButler1911'] = template_names['EB1911'], ['CITEREFBémont1911'] = template_names['EB1911'], ['CITEREFCana1911'] = template_names['EB1911'], ['CITEREFCantor1911'] = template_names['EB1911'], ['CITEREFCaspari1911'] = template_names['EB1911'], ['CITEREFCastle1911'] = template_names['EB1911'], ['CITEREFChadwick1911'] = template_names['EB1911'], ['CITEREFChapman1911'] = template_names['EB1911'], ['CITEREFCharles1911'] = template_names['EB1911'], ['CITEREFChisholm1911'] = template_names['EB1911'], ['CITEREFChurch1911'] = template_names['EB1911'], ['CITEREFClerke1911'] = template_names['EB1911'], ['CITEREFColvin1911'] = template_names['EB1911'], ['CITEREFConway1911'] = template_names['EB1911'], ['CITEREFConybeare1911'] = template_names['EB1911'], ['CITEREFCoolidge1911'] = template_names['EB1911'], ['CITEREFDarlow1911'] = template_names['EB1911'], ['CITEREFDavis1911'] = template_names['EB1911'], ['CITEREFDelehaye1911'] = template_names['EB1911'], ['CITEREFDobson1911'] = template_names['EB1911'], ['CITEREFDoughty1911'] = template_names['EB1911'], ['CITEREFDumrath1911'] = template_names['EB1911'], ['CITEREFErskine_Holland1911'] = template_names['EB1911'], ['CITEREFEsmein1911'] = template_names['EB1911'], ['CITEREFFilon1911'] = template_names['EB1911'], ['CITEREFFitzmaurice-Kelly1911'] = template_names['EB1911'], ['CITEREFFlett1911'] = template_names['EB1911'], ['CITEREFFoster1911'] = template_names['EB1911'], ['CITEREFFowlerMitchell1911'] = template_names['EB1911'], ['CITEREFFrantz1911'] = template_names['EB1911'], ['CITEREFFreese1911'] = template_names['EB1911'], ['CITEREFGardner1911'] = template_names['EB1911'], ['CITEREFGarnett1911'] = template_names['EB1911'], ['CITEREFGaster1911'] = template_names['EB1911'], ['CITEREFGibson1911'] = template_names['EB1911'], ['CITEREFGiles1911'] = template_names['EB1911'], ['CITEREFGilrayMacfadyen1911'] = template_names['EB1911'], ['CITEREFGordon1911'] = template_names['EB1911'], ['CITEREFGosse1911'] = template_names['EB1911'], ['CITEREFGriffith1911'] = template_names['EB1911'], ['CITEREFHalphen1911'] = template_names['EB1911'], ['CITEREFHannay1911'] = template_names['EB1911'], ['CITEREFHashagen1911'] = template_names['EB1911'], ['CITEREFHayes1911'] = template_names['EB1911'], ['CITEREFHeadlam1911'] = template_names['EB1911'], ['CITEREFHeath1911'] = template_names['EB1911'], ['CITEREFHodgkin1911'] = template_names['EB1911'], ['CITEREFHogarth1911'] = template_names['EB1911'], ['CITEREFHogg1911'] = template_names['EB1911'], ['CITEREFHoldich1911'] = template_names['EB1911'], ['CITEREFHolland1911'] = template_names['EB1911'], ['CITEREFHoughton1911'] = template_names['EB1911'], ['CITEREFIngram1911'] = template_names['EB1911'], ['CITEREFIsaac1911'] = template_names['EB1911'], ['CITEREFJastrow1911'] = template_names['EB1911'], ['CITEREFJones1911'] = template_names['EB1911'], ['CITEREFKeltie1911'] = template_names['EB1911'], ['CITEREFKingsford1911'] = template_names['EB1911'], ['CITEREFKitchin1911'] = template_names['EB1911'], ['CITEREFKnox1911'] = template_names['EB1911'], ['CITEREFKropotkin1911'] = template_names['EB1911'], ['CITEREFLake1911'] = template_names['EB1911'], ['CITEREFLang1911'] = template_names['EB1911'], ['CITEREFLankester1911'] = template_names['EB1911'], ['CITEREFLaughton1911'] = template_names['EB1911'], ['CITEREFLayard1911'] = template_names['EB1911'], ['CITEREFLeach1911'] = template_names['EB1911'], ['CITEREFLejay1911'] = template_names['EB1911'], ['CITEREFLias1911'] = template_names['EB1911'], ['CITEREFLow1911'] = template_names['EB1911'], ['CITEREFLydekker1911'] = template_names['EB1911'], ['CITEREFLöffler1911'] = template_names['EB1911'], ['CITEREFMacfadyen1911'] = template_names['EB1911'], ['CITEREFMarzials1911'] = template_names['EB1911'], ['CITEREFMaude1911'] = template_names['EB1911'], ['CITEREFMaus1911'] = template_names['EB1911'], ['CITEREFMcLean1911'] = template_names['EB1911'], ['CITEREFMcNeill1911'] = template_names['EB1911'], ['CITEREFMeyer1911'] = template_names['EB1911'], ['CITEREFMijatovich1911'] = template_names['EB1911'], ['CITEREFMinns1911'] = template_names['EB1911'], ['CITEREFMitchell1911'] = template_names['EB1911'], ['CITEREFMorley1911'] = template_names['EB1911'], ['CITEREFMullinger1911'] = template_names['EB1911'], ['CITEREFNicholsonYule1911'] = template_names['EB1911'], ['CITEREFNorthcote1911'] = template_names['EB1911'], ['CITEREFOelsner1911'] = template_names['EB1911'], ['CITEREFPeters1911'] = template_names['EB1911'], ['CITEREFPhillimore1911'] = template_names['EB1911'], ['CITEREFPhillip1911'] = template_names['EB1911'], ['CITEREFPhillips1911'] = template_names['EB1911'], ['CITEREFPhillipsAtkinson1911'] = template_names['EB1911'], ['CITEREFPlummer1911'] = template_names['EB1911'], ['CITEREFPollard1911'] = template_names['EB1911'], ['CITEREFPostgate1911'] = template_names['EB1911'], ['CITEREFPrestage1911'] = template_names['EB1911'], ['CITEREFPrinet1911'] = template_names['EB1911'], ['CITEREFRambaut1911'] = template_names['EB1911'], ['CITEREFReid1911'] = template_names['EB1911'], ['CITEREFRenton1911'] = template_names['EB1911'], ['CITEREFRichardson1911'] = template_names['EB1911'], ['CITEREFRobertson1911'] = template_names['EB1911'], ['CITEREFRobertsonShotwell1911'] = template_names['EB1911'], ['CITEREFRobinson1911'] = template_names['EB1911'], ['CITEREFRockwell1911'] = template_names['EB1911'], ['CITEREFRose1911'] = template_names['EB1911'], ['CITEREFRossetti1911'] = template_names['EB1911'], ['CITEREFRossettiJones1911'] = template_names['EB1911'], ['CITEREFRound1911'] = template_names['EB1911'], ['CITEREFRudler1911'] = template_names['EB1911'], ['CITEREFSaintsbury1911'] = template_names['EB1911'], ['CITEREFSandys1911'] = template_names['EB1911'], ['CITEREFSchlesinger1911'] = template_names['EB1911'], ['CITEREFScott1911'] = template_names['EB1911'], ['CITEREFSeccombe1911'] = template_names['EB1911'], ['CITEREFShedden-Ralston1911'] = template_names['EB1911'], ['CITEREFSmith_Reid1911'] = template_names['EB1911'], ['CITEREFSpencer1911'] = template_names['EB1911'], ['CITEREFSpiers1911'] = template_names['EB1911'], ['CITEREFSquire1911'] = template_names['EB1911'], ['CITEREFStebbing1911'] = template_names['EB1911'], ['CITEREFSteed1911'] = template_names['EB1911'], ['CITEREFSturt1911'] = template_names['EB1911'], ['CITEREFSwinburne1911'] = template_names['EB1911'], ['CITEREFSymonds1911'] = template_names['EB1911'], ['CITEREFTedder1911'] = template_names['EB1911'], ['CITEREFThatcher1911'] = template_names['EB1911'], ['CITEREFTilley1911'] = template_names['EB1911'], ['CITEREFTod1911'] = template_names['EB1911'], ['CITEREFTout1911'] = template_names['EB1911'], ['CITEREFTozer1911'] = template_names['EB1911'], ['CITEREFValois1911'] = template_names['EB1911'], ['CITEREFVenables1911'] = template_names['EB1911'], ['CITEREFViard1911'] = template_names['EB1911'], ['CITEREFVillari1911'] = template_names['EB1911'], ['CITEREFWalker1911'] = template_names['EB1911'], ['CITEREFWallace1911'] = template_names['EB1911'], ['CITEREFWalton1911'] = template_names['EB1911'], ['CITEREFWard1911'] = template_names['EB1911'], ['CITEREFWarren1911'] = template_names['EB1911'], ['CITEREFWaugh1911'] = template_names['EB1911'], ['CITEREFWebster1911'] = template_names['EB1911'], ['CITEREFWestcott1911'] = template_names['EB1911'], ['CITEREFWilliamson1911'] = template_names['EB1911'], ['CITEREFWolff1911'] = template_names['EB1911'], ['CITEREFWoodward1911'] = template_names['EB1911'], ['CITEREFYork1911'] = template_names['EB1911'], ['CITEREFYorke1911'] = template_names['EB1911'], ['CITEREFvon_Hügel1911'] = template_names['EB1911'],

['CITEREFChisholm1922'] = {'EB1922'},

--< F >-- ['CITEREFFrye1983'] = template_names['Cam_Hist_Iran'],

--< G >-- ['CITEREFGillham2001'] = {'Gillham-Waterloo-City'}, ['CITEREFGriffithsSmith1999'] = {'Griffiths-Sheds1'}, ['CITEREFGriffithsSmith2000'] = {'Griffiths-Sheds2'}, ['GuWAGRSt'] = {'Gunzburg-History WAGR Steam'},

--< H >-- ['CITEREFHiltonDue1960'] = {'Hilton-Interurban'}, ['CITEREFHistoric_Environment_ScotlandLB33744'] = {'Historic Environment Scotland'}, ['CITEREFHistoric_Environment_ScotlandLB50114'] = {'Historic Environment Scotland'},

--< I >--

--< J >-- ['CITEREFJoslen2003'] = {'Joslen-OOB'}, ['CITEREFJowett1989'] = {'Jowett-Atlas'}, ['CITEREFJowett2000'] = {'Jowett-Nationalised'},

--< K >-- ['CITEREFKennedy2004'] = {'The Prophet and the Age of the Caliphates'},

--< L >-- ['CITEREFLadefogedMaddieson1996'] = {'SOWL'}, ['CITEREFLaërtius1925'] = {'Cite Lives of the Eminent Philosophers', 'Cite LotEP'}, --	['CITEREFLaërtius1925a'] = {'Cite Lives of the Eminent Philosophers', 'Cite LotEP'}, --	['CITEREFLaërtius1925b'] = {'Cite Lives of the Eminent Philosophers', 'Cite LotEP'}, --	['CITEREFLaërtius1925c'] = {'Cite Lives of the Eminent Philosophers', 'Cite LotEP'}, ['CITEREFle_Fleming1953'] = {'RCTS-LocosGWR-8'}, ['CITEREFle_Fleming1960'] = {'RCTS-LocosGWR-8'}, ['CITEREFLe_Strange1905'] = {'Lands of the Eastern Caliphate'},

--< M >-- ['CITEREFMadelung1975'] = template_names['Cam_Hist_Iran'], ['CITEREFMiddleton2001'] = {'Middleton-Electrified-2nd'}, ['CITEREFMillar2011'] = {'NZR Steam Locomotive'}, ['CITEREFMiller1908'] = {'The Latins in the Levant'},

--< N >-- ['CITEREFNersessian2018'] = {'ODLA'}, ['CITEREFNock1974'] = {'Nock-EustonGlasgow'},

--< O >-- ['CITEREFODB'] = {'Oxford Dictionary of Byzantium'}, ['CITEREFODLA'] = template_names['ODLA'],

--< P >-- ['CITEREFPalmer_&amp;_Stewart1965'] = {'Palmer & Stewart'},

--< Q >-- ['CITEREFQuick2009'] = {'Quick-Stations'},

--< R >-- ['CITEREFReed1953'] = {'RCTS-LocosGWR-2'},

--< S >-- ['CITEREFSellwood1983'] = template_names['Cam_Hist_Iran'], ['CITEREFSetton1976'] = {'The Papacy and the Levant'}, ['CITEREFSpringirth2016'] = {'Springirth-Philadelphia'}, ['CITEREFStewart1974'] = {'When Steam Was King'}, ['CITEREFStreckDuri1960'] = {'EI2'},

--< T >-- ['CITEREFTaberTaber1980'] = {'Taber-DLW-20th-1'}, ['CITEREFThomas1971'] = {'Thomas-History-VI'}, ['CITEREFTonks1988'] = {'Tonks ironstone'},

--< U >--

--< V >-- --< W >-- ['CITEREFWeinrebHibbertKeayKeay2008'] = {'London encyclopedia'}, ['CITEREFWells1982'] = {'Accents of English'}, ['CITEREFWham1997'] = {'Wham-Ayrshire'}, ['CITEREFWiesehöfer2018'] = template_names['ODLA'], ['CITEREFWilliams1998'] = {'Williams-Philadelphia'}, ['CITEREFWood1907'] = {'Nuttall'}, --< X >--

--< Y >-- ['CITEREFYonge2002'] = {'Quail-5'}, ['CITEREFYongePadgettSzwenk2013'] = {'Quail-4-Paper-3rdEd'},

--< Z >-- }

----< E X P O R T E D  T A B L E S >

return { DNB_special_patterns = DNB_special_patterns, special_patterns = special_patterns, whitelist = whitelist, }