Jump to content

မေႃႇၵျူး:Footnotes/whitelist/sandbox

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး
Documentation icon ၽိုၼ်ၵႅမ်မိုဝ်းမေႃႇၵျူး[သၢင်ႈ]
--[[--------------------------< W R A P P E R _ T E M P L A T E _ D E F A U L T S >----------------------------

A list of wrapper templates by their canonical names – spelling and capitalization is important.  Each wrapper
template has a table of two values: [1] is the wrapper's default name-list as it is used in an anchor ID; [2] is
the default year.  This table is indexed indirectly through the wrapper_templates table.

This table is not available externally.

]]

local wrapper_template_defaults = {												-- keys are canonical template names
	['Cite EB1911'] = {'Chisholm', '1911'},										-- tables with default name and default year
	['EB1911'] = {'Chisholm', '1911'},
	}


--[[--------------------------< W R A P P E R _ T E M P L A T E _ D E F A U L T S _ V O L >--------------------

For wrapper templates that use |volume= to specify default name (often editor names) and year.  Wrapper templates
are indexed by their canonical names – spelling and capitalization is important.  Each wrapper template has a table
of values for every volume.  Volumes may be indexed by Arabic or Roman numerals.  Each volume index has a table of
twp values" [1] is the wrapper's default name-list as it is used in an anchor ID; [2] is the default year.  Each
wrapper template in this table must have a ['default'] key for those occasions when |volume= is omitted or empty.
This table is indexed indirectly through the wrapper_templates table.

This table is not available externally.

]]

local wrapper_template_defaults_vol = {											-- primary keys are canonical template names; TODO: do these keys have to be canonical template names?
	['Cite Catholic Encyclopedia'] = {											-- secondary keys are volume
		['1'] = {'Herbermann', '1907'},
		['2'] = {'Herbermann', '1907'},
		['3'] = {'Herbermann', '1908'},
		['4'] = {'Herbermann', '1908'},
		['5'] = {'Herbermann', '1909'},
		['6'] = {'Herbermann', '1909'},
		['7'] = {'Herbermann', '1910'},
		['8'] = {'Herbermann', '1910'},
		['9'] = {'Herbermann', '1910'},
		['10'] = {'Herbermann', '1911'},
		['11'] = {'Herbermann', '1911'},
		['12'] = {'Herbermann', '1911'},
		['13'] = {'Herbermann', '1912'},
		['14'] = {'Herbermann', '1912'},
		['15'] = {'Herbermann', '1912'},
		['default'] = {'Herbermann', '1913'},
		},

	['Cite EB9'] = {
		['1'] = {'Baynes', '1878'},			['I'] = {'Baynes', '1878'},
		['2'] = {'Baynes', '1878'},			['II'] = {'Baynes', '1878'},
		['3'] = {'Baynes', '1878'},			['III'] = {'Baynes', '1878'},
		['4'] = {'Baynes', '1878'},			['IV'] = {'Baynes', '1878'},
		['5'] = {'Baynes', '1878'},			['V'] = {'Baynes', '1878'},
		['6'] = {'Baynes', '1878'},			['VI'] = {'Baynes', '1878'},
		['7'] = {'Baynes', '1878'},			['VII'] = {'Baynes', '1878'},
		['8'] = {'Baynes', '1878'},			['VIII'] = {'Baynes', '1878'},
		['9'] = {'Baynes', '1879'},			['IX'] = {'Baynes', '1879'},
		['10'] = {'Baynes', '1879'},		['X'] = {'Baynes', '1879'},
		['11'] = {'BaynesSmith', '1880'},	['XI'] = {'BaynesSmith', '1880'},
		['12'] = {'BaynesSmith', '1881'},	['XII'] = {'BaynesSmith', '1881'},
		['13'] = {'BaynesSmith', '1881'},	['XIII'] = {'BaynesSmith', '1881'},
		['14'] = {'BaynesSmith', '1882'},	['XIV'] = {'BaynesSmith', '1882'},
		['15'] = {'BaynesSmith', '1883'},	['XV'] = {'BaynesSmith', '1883'},
		['16'] = {'BaynesSmith', '1883'},	['XVI'] = {'BaynesSmith', '1883'},
		['17'] = {'BaynesSmith', '1884'},	['XVII'] = {'BaynesSmith', '1884'},
		['18'] = {'BaynesSmith', '1885'},	['XVIII'] = {'BaynesSmith', '1885'},
		['19'] = {'BaynesSmith', '1885'},	['XIX'] = {'BaynesSmith', '1885'},
		['20'] = {'BaynesSmith', '1886'},	['XX'] = {'BaynesSmith', '1886'},
		['21'] = {'BaynesSmith', '1886'},	['XXI'] = {'BaynesSmith', '1886'},
		['22'] = {'BaynesSmith', '1887'},	['XXII'] = {'BaynesSmith', '1887'},
		['23'] = {'BaynesSmith', '1888'},	['XXIII'] = {'BaynesSmith', '1888'},
		['24'] = {'BaynesSmith', '1888'},	['XXIV'] = {'BaynesSmith', '1888'},
		['default'] = {'Baynes', '1875–1889'},
		},

	['Encyclopaedia of Islam, New Edition'] = {
		['1'] = {'GibbKramersLévi-ProvençalSchacht', '1960'},
		['2'] = {'LewisPellatSchacht', '1965'},
		['3'] = {'LewisMénagePellatSchacht', '1971'},
		['4'] = {'van_DonzelLewisPellatBosworth', '1978'},
		['5'] = {'Bosworthvan_DonzelLewisPellat', '1986'},
		['6'] = {'Bosworthvan_DonzelPellat', '1991'},
		['7'] = {'Bosworthvan_DonzelHeinrichsPellat', '1993'},
		['8'] = {'Bosworthvan_DonzelHeinrichsLecomte', '1995'},
		['9'] = {'Bosworthvan_DonzelHeinrichsLecomte', '1997'},
		['10'] = {'BearmanBianquisBosworthvan_Donzel', '2000'},
		['11'] = {'BearmanBianquisBosworthvan_Donzel', '2002'},
		['12'] = {'BearmanBianquisBosworthvan_Donzel', '2004'},
		['atlas'] = {'Brice', '1981'},
		['abridged'] = {'van_Donzel', '1994'},
		['default'] = {' BearmanBianquisBosworthvan_Donzel', '1960–2005'},
		},

	['The History of al-Tabari'] = {
		['1'] = {'Rosenthal', '1989'},
		['2'] = {'Brinner', '1986'},
		['3'] = {'Brinner', '1991'},
		['4'] = {'Perlmann', '1987'},
		['5'] = {'Bosworth', '1999'},
		['6'] = {'WattMcDonald', '1989'},
		['7'] = {'McDonald', '1987'},
		['8'] = {'Fishbein', '1997'},
		['9'] = {'Poonawala', '1990'},
		['10'] = {'Donner', '1993'},
		['11'] = {'Blankinship', '1993'},
		['12'] = {'Friedmann', '1992'},
		['13'] = {'Juynboll', '1989'},
		['14'] = {'Smith', '1994'},
		['15'] = {'Humphreys', '1990'},
		['16'] = {'Brockett', '1997'},
		['17'] = {'Hawting', '1996'},
		['18'] = {'Morony', '1987'},
		['19'] = {'Howard', '1990'},
		['20'] = {'Hawting', '1989'},
		['21'] = {'Fishbein', '1990'},
		['22'] = {'Rowson', '1989'},
		['23'] = {'Hinds', '1990'},
		['24'] = {'Powers', '1989'},
		['25'] = {'Blankinship', '1989'},
		['26'] = {'Hillenbrand', '1989'},
		['27'] = {'Williams', '1985'},
		['28'] = {'McAuliffe', '1995'},
		['29'] = {'Kennedy', '1990'},
		['30'] = {'Bosworth', '1989'},
		['31'] = {'Fishbein', '1992'},
		['32'] = {'Bosworth', '1987'},
		['33'] = {'Bosworth', '1991'},
		['34'] = {'Kraemer', '1989'},
		['35'] = {'Saliba', '1985'},
		['36'] = {'Waines', '1992'},
		['37'] = {'Fields', '1987'},
		['38'] = {'Rosenthal', '1985'},
		['39'] = {'Landau-Tasseron', '1998'},
		['40'] = {'Popovkin', '2007'},
		['default'] = {'Yarshater', '1985–2007'},
		},
	}


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

A list of wrapper templates and their redirects – spelling and capitalization is important; first character is
always uppercase.  Each wrapper template gets its value from a k/v pair in the wrapper_template_defaults table.

article reader queries this table to see if template_name is a wrapper template
]]

local wrapper_templates = {														-- keys are names of wrapper templates and their redirects
	['Catholic Encyclopedia'] = wrapper_template_defaults_vol['Cite Catholic Encyclopedia'],
		['1913Catholic'] = wrapper_template_defaults_vol['Cite Catholic Encyclopedia'],
		['Catholic'] = wrapper_template_defaults_vol['Cite Catholic Encyclopedia'],
		['Catholic encyclopedia'] = wrapper_template_defaults_vol['Cite Catholic Encyclopedia'],
		['CatholicEncyclopedia'] = wrapper_template_defaults_vol['Cite Catholic Encyclopedia'],
		['CE13'] = wrapper_template_defaults_vol['Cite Catholic Encyclopedia'],
		['CE1913'] = wrapper_template_defaults_vol['Cite Catholic Encyclopedia'],

	['Cite Catholic Encyclopedia'] = wrapper_template_defaults_vol['Cite Catholic Encyclopedia'],
		['CathEncy'] = wrapper_template_defaults_vol['Cite Catholic Encyclopedia'],
		['Cite Catholic Encyclopædia'] = wrapper_template_defaults_vol['Cite Catholic Encyclopedia'],
		['Cite CE1913'] = wrapper_template_defaults_vol['Cite Catholic Encyclopedia'],

	['Cite EB1911'] = wrapper_template_defaults['Cite EB1911'],					-- canonical name
		['1911EB'] = wrapper_template_defaults['Cite EB1911'],					-- redirects
		['EB1911 cite'] = wrapper_template_defaults['Cite EB1911'],
		['Wikisource1911Enc Citation'] = wrapper_template_defaults['Cite EB1911'],
		['Wikisource1911Enc citation'] = wrapper_template_defaults['Cite EB1911'],

	['Cite EB9'] = wrapper_template_defaults_vol['Cite EB9'],					-- canonical
		['Eb9'] = wrapper_template_defaults_vol['Cite EB9'],

	['EB1911'] = wrapper_template_defaults['EB1911'],							-- canonical name; this template calls Cite EB1911
		['1911'] = wrapper_template_defaults['EB1911'],							-- redirects
		['1911s'] = wrapper_template_defaults['EB1911'],
		['Britannica 1911'] = wrapper_template_defaults['EB1911'],
		['Encyclopedia Britannica 1911'] = wrapper_template_defaults['EB1911'],
		['Encyclopædia Britannica 1911'] = wrapper_template_defaults['EB1911'],

	['EB9'] = wrapper_template_defaults_vol['Cite EB9'],						-- canonical; this template calls Cite EB9
	
	['Encyclopaedia of Islam, New Edition'] = wrapper_template_defaults_vol['Encyclopaedia of Islam, New Edition'],	-- canonical
		['EI2'] = wrapper_template_defaults_vol['Encyclopaedia of Islam, New Edition'],
	
	['The History of al-Tabari'] = wrapper_template_defaults_vol['The History of al-Tabari'],		-- canonical
		['The History of Al-Tabari'] = wrapper_template_defaults_vol['The History of al-Tabari'],	-- redirects
		['The History of al-Ṭabarī'] = wrapper_template_defaults_vol['The History of al-Tabari'],	-- redirects
	}


--[[--------------------------< 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', 'DNBSupp', 'Cite DNB12', 'Cite DNBIE', 'DNB12', 'DNBIE'},
	['ODB'] = {'ODB', 'Oxford Dictionary of Byzantium'},
	['ODLA'] = {'ODLA', 'Oxford Dictionary of Late Antiquity'},
	['ODNB'] = {'Cite ODNB', 'OBDNweb', 'Cite odnb', 'DNBweb', 'ODNB', 'ODNBref', 'ODNBweb'},
	['NDB'] = {'Cite NDB', 'NDB'},
}


--[[--------------------------< 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 = {
	'CITEREFACAD%u%u%u?%u?%d+%u%u?',											-- {{Acad}} ID appears to be 2-4 letters, then 3 numbers, then 1-2 letters
	'CITEREFAHD%d+',															-- {{Cite AHD}}
	'CITEREFHistoric_England%d+',												-- {{National Heritage List for England}} & {{PastScape}}
	'CITEREFHistoric_Environment_Scotland%u%u%u?%u?%d',							-- {{Historic Environment Scotland}} %u can be BTL, GLD, HMPA, LB, SM
	'CITEREFQHR%d+',															-- {{Cite QHR}}
	}


--[[--------------------------< 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–1901 inclusive, and 1912.

The DNBIE was published in 1903, and Template:DNBIE says that its use is deprecated, but we do not fight that battle here.

]]

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%-_\']*1903',													-- 1903 IE
	'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 >----------
	['CITEREFAGA_1884–1897'] = {'Schubert\'s compositions (references)'},
	['CITEREFATOC2009'] = {'ATOCConnectingCommunitiesReportS10'},
	['CITEREFAhrons1927'] = {'Book-Ahrons-British Steam Railway Locomotive'},
	['CITEREFAl-Imad2015'] = {'EI3'},
--	['CITEREFAl-Tabari1985–2007'] = template_names['al-Tabari'],
	['CITEREFAlbert_Schumann1886'] = {'Cite ADB'},
	['CITEREFAldrich1969'] = {'Aldrich-LocosGER7'},
	['CITEREFAllenBoddyBrownFry1970'] = {'RCTS-LocosLNER-8A'},
	['CITEREFAllenBoddyBrownFry1971'] = {'RCTS-LocosLNER-8B'},
	['CITEREFAllenBoddyBrownFry1983'] = {'RCTS-LocosLNER-8A'},
	['CITEREFAmerican_Railway_Association1922'] = {'1922 Locomotive Cyclopedia'},
	['CITEREFArrey_von_Dommer1875'] = {'Cite ADB'},
	['CITEREFAsmus1966'] =  template_names['NDB'],
	['CITEREFAvdoyan2018'] = template_names['ODLA'],
	['CITEREFAwdry1990'] = {'Awdry-RailCo', 'Carnarvonshire Railway'},

----------< B >----------
	['CITEREFBabinger1978'] = {'Mehmed the Conqueror and His Time'},
	['CITEREFBabinger1992'] = {'Mehmed the Conqueror and His Time'},
	['CITEREFBaltzer1916'] = {'Baltzer-Kolonialbahnen'},
	['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'},
	['CITEREFBezilla1980'] = {'Bezilla-PRR-Electric-Traction'},
	['CITEREFBivar1983'] = template_names['Cam_Hist_Iran'],
--	['CITEREFBlankinship1989'] = template_names['al-Tabari'],
--	['CITEREFBlankinship1993'] = template_names['al-Tabari'],
	['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'},
	['CITEREFBooth2000'] = {'Shakespeare sonnets bibliography'},
	['CITEREFBossert1914'] = {'Schaff-Herzog'},
	['CITEREFBosworth1968'] = {'Cambridge History of Iran'},
	['CITEREFBosworth1975'] = template_names['Cam_Hist_Iran'],
--	['CITEREFBosworth1987'] = template_names['al-Tabari'],
--	['CITEREFBosworth1989'] = template_names['al-Tabari'],
--	['CITEREFBosworth1991'] = template_names['al-Tabari'],
--	['CITEREFBosworth1999'] = template_names['al-Tabari'],
	['CITEREFBosworth2013'] = {'EI3'},
	['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'},
	['CITEREFBray2010'] = {'Bray-SDJR'},
	['CITEREFBrett2010'] = {'New Cambridge History of Islam'},
--	['CITEREFBrinner1986'] = template_names['al-Tabari'],
--	['CITEREFBrinner1991'] = template_names['al-Tabari'],
--	['CITEREFBrockett1997'] = template_names['al-Tabari'],
	['CITEREFBrunner1975'] = template_names['Cam_Hist_Iran'],
	['CITEREFBrunner1983'] = template_names['Cam_Hist_Iran'],
	['CITEREFBryan1886'] = {'Bryan (3rd edition)'},
	['CITEREFBurant1987'] = {'Cite DCB'},
	['CITEREFBurant1987'] = {'Cite DCB'},
	['CITEREFBurch1911'] = {'Burch Electric Traction'},
	['CITEREFBurke1866'] = {'O\'Donnell family tree'},
	['CITEREFBurrowsWallace1999'] = {'Cite gotham'},
	['CITEREFButt1995'] = template_names['Butt_Stations'],


----------< C >----------
	['CITEREFCalifornia1988'] = {'CA-Rail Passenger Development Plan-1988'},
	['CITEREFCanepa2018'] = {'ODLA'},
	['CITEREFCanny2008'] = {'O\'Donnell family tree'},
	['CITEREFCappelCutlerKazhdan1991'] = {'ODB'},
	['CITEREFCarl_von_Prantl1879'] = {'Cite ADB'},
	['CITEREFCaro1974'] = {'Cite Power Broker'},
--	['CITEREFCarruthersWard1911'] = template_names['EB1911'],
	['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'},
	['CITEREFChristides2015'] = {'EI3'},
	['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'},
	['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'},
	['CITEREFCudahy2002'] = {'Cudahy-Hudson'},
	['CITEREFCudahy2003'] = {'Cudahy-Subways'},

----------< D >----------
	['CITEREFDBI'] = {'DBI', 'Dizionario Biografico degli Italiani'},
	['CITEREFDaftary1990'] = {'Daftary-The Ismailis'},
	['CITEREFDaftary2007'] = {'Daftary-The Ismailis'},
	['CITEREFDanielsDench1963'] = {'Daniels-NoMore'},
	['CITEREFDanielsDench1973'] = {'Daniels-NoMore'},
	['CITEREFDarleyCanepa2018'] = {'Oxford Dictionary of Late Antiquity'},
	['CITEREFDaryaeeCanepa2018'] = {'ODLA'},
	['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'],
	['CITEREFDolkart1998'] = {'Cite morningside'},
--	['CITEREFDonner1993'] = template_names['al-Tabari'],
	['CITEREFDonohue2003'] = {'The Buwayhid Dynasty in Iraq'},
	['CITEREFDow1962'] = {'Dow-GC2'},
	['CITEREFDow1965'] = {'Dow-GC3'},
	['CITEREFDow1985'] = {'Dow-GC1'},
	['CITEREFDowney2007'] = {'Downey-Chicago'},
	['CITEREFDrury1985'] = {'Drury Historical Guide 1985'},
	['CITEREFDrury1993'] = {'Drury-North American Steam'},
	['CITEREFDuke1995'] = {'Duke-Santa Fe-1'},
	['CITEREFDukeKeilty1990'] = {'Duke-RDC'},
	['CITEREFDunlop1895'] = {'O\'Donnell family tree'},
	['CITEREFDunn2013'] = {'Dunn-Comeng-5'},
	['CITEREFDurrant1972'] = {'Durrant-Steam Locos Eastern Europe'},
	['CITEREFDurrant1981'] = {'Durrant-Garratt-Rev'},
	['CITEREFDurrantLewisJorgensen1981'] = {'Durrant-SteamAfrica'},

----------< DNB and Cite DNB >----------

-- replaced by pattern search above --

----------< E >----------
	['CITEREFEarle2018'] = {'Gymnosperm Database'},
	['CITEREFEI3'] = {'Encyclopaedia of Islam, THREE', 'EI3'},
	['CITEREFEl-Hibri2010'] = {'New Cambridge History of Islam'},
	['CITEREFEldredgeHorenstein2014'] = {'Cite concrete'},
	['CITEREFEuDalySchaferJessupBoyd2009'] = {'Complete Book of North American Railroading'},

----------< EB1911 and EB 1922 >----------
-- Please do not add CITEREFEB1911. It should be corrected instead, typically to Chisholm 1911.
-- EB1911 anchor ID should not be added to this module; they are handled by wrapper template defaults

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


----------< F >----------
	['CITEREFFiaccadori1991'] = {'ODB'},
--	['CITEREFFields1987'] = template_names['al-Tabari'],
	['CITEREFFine1994'] = {'The Late Medieval Balkans'},
--	['CITEREFFishbein1990'] = template_names['al-Tabari'],
--	['CITEREFFishbein1992'] = template_names['al-Tabari'],
--	['CITEREFFishbein1997'] = template_names['al-Tabari'],
	['CITEREFFletcher,_Great_Tank_Scandal'] = {'Book-Fletcher-Great Tank Scandal'},
	['CITEREFFletcher,_Universal_Tank'] = {'Book-Fletcher-Universal Tank'},
	['CITEREFFluckMarshallWilson1996'] = {'FluMarWil-LocRailCR'},
	['CITEREFFornaçon,_Siegfried1957'] = template_names['NDB'],
	['CITEREFForrestal1999'] = {'Forrestal-Wineries'},
	['CITEREFFoss1991'] = {'ODB'},
	['CITEREFFoster1996'] = {'Foster-Field Guide'},
	['CITEREFFrailey2010'] = {'Frailey-Twilight'},
	['CITEREFFranz_Schnorr_von_Carolsfeld1883'] = {'Cite ADB'},
--	['CITEREFFriedmann1992'] = template_names['al-Tabari'],
	['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'],
	['CITEREFFultonHarris1991'] = {'Fulton-Harris'},

----------< G >----------
	['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'},
	['CITEREFGlischinski1997'] = {'Glischinski-Santa Fe'},
	['CITEREFGocheleishvili2014'] = {'EI3'},
	['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'},
	['CITEREFGrete_Schemann1957'] = template_names['NDB'],
	['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é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 >----------
	['CITEREFHalliday1985'] = {'Halliday-AustWineCompend'},
	['CITEREFHalliday2008'] = {'Halliday-JHWAtlasAust2008'},
	['CITEREFHalliday2009'] = {'Halliday-AustWineEncyc'},
	['CITEREFHalpenny1990'] = {'Canadabio'},
	['CITEREFHans_Heinrich_Borcherdt1955'] = template_names['NDB'],
	['CITEREFHartshorne1977'] = {'Hartshorne AG'},
	['CITEREFHasumi2003'] = {'Hasumi-shiguehiko-ozu-2003'},
--	['CITEREFHawting1989'] = template_names['al-Tabari'],
--	['CITEREFHawting1996'] = template_names['al-Tabari'],
	['CITEREFHawting2000'] = {'The First Dynasty of Islam'},
	['CITEREFHermann_Palm1876'] = {'Cite ADB'},
	['CITEREFHerr2000'] = {'Herr-LN'},
	['CITEREFHidyHidyScottHofsummer2004'] = {'Hidy-Great Northern'},
	['CITEREFHildHellenkemper1990'] = {'Tabula Imperii Byzantini'},
	['CITEREFHildRestle1981'] = {'Tabula Imperii Byzantini'},
--	['CITEREFHillenbrand1989'] = template_names['al-Tabari'],
	['CITEREFHills,_Power_from_Steam'] = {'Book-Hills-Power from Steam'},
	['CITEREFHills1989'] = {'Book-Hills-Power from Steam'},
	['CITEREFHilton1980'] = {'Hilton-Amtrak'},
	['CITEREFHilton1990'] = {'Hilton Narrow Gauge'},
	['CITEREFHiltonDue1960'] = {'Hilton-Interurban'},
--	['CITEREFHinds1990'] = template_names['al-Tabari'],
	['CITEREFHistoric_Environment_ScotlandLB33744'] = {'Historic Environment Scotland'},
	['CITEREFHistoric_Environment_ScotlandLB50114'] = {'Historic Environment Scotland'},
	['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'},
--	['CITEREFHoward1990'] = template_names['al-Tabari'],
	['CITEREFHughes1990'] = {'Hughes-IndianLocos1'},
	['CITEREFHughes1992'] = {'Hughes-IndianLocos2'},
	['CITEREFHughes1994'] = {'Hughes-IndianLocos3'},
	['CITEREFHughes1996'] = {'Hughes-IndianLocos4'},
--	['CITEREFHumphreys1990'] = template_names['al-Tabari'],

----------< I >----------
	['CITEREFImber2002'] = {'Imber-The Ottoman Empire, 1300–1650'},
	['CITEREFIshino1998'] = {'Teishajo'},

----------< J >----------
	['CITEREFJackson1995'] = {'Cite enc-nyc'},
	['CITEREFJackson2010'] = {'Cite enc-nyc2'},
	['CITEREFJacobs1904'] = {'Cite Jewish Encyclopedia'},
	['CITEREFJacobs1904'] = {'Cite Jewish Encyclopedia'},
	['CITEREFJohnstonWelshSchafer2001'] = {'Johnston-Streamliner'},
	['CITEREFJordan2002'] = {'Jordan-WineWABest'},
	['CITEREFJoslen2003'] = {'Joslen-OOB'},
	['CITEREFJowett1989'] = {'Jowett-Atlas', 'Carnarvonshire Railway'},
	['CITEREFJowett2000'] = {'Jowett-Nationalised'},
--	['CITEREFJuynboll1989'] = template_names['al-Tabari'],

----------< K >----------
	['CITEREFKadinsky2016'] = {'Cite Hidden Waters NYC'},
	['CITEREFKaegi1991'] = {'ODB'},
	['CITEREFKarl_Frohnmeyer1953'] = template_names['NDB'],
	['CITEREFKazhdan1991'] = {'ODB', 'Oxford Dictionary of Byzantium'},
	['CITEREFKazhdanCutler1991'] = {'ODB', 'Oxford Dictionary of Byzantium'},
	['CITEREFKazhdanŠevčenko1991'] = {'ODB'},
	['CITEREFKemper2013'] = {'EI3'},
--	['CITEREFKennedy1990'] = template_names['al-Tabari'],
	['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'},
	['CITEREFKerrigan1995'] = {'Shakespeare sonnets bibliography'},
	['CITEREFKhan2012'] = {'Cite Banglapedia'},
	['CITEREFKlein2006'] = {'Klein-UP-2'},
	['CITEREFKoderHild1976'] = {'Tabula Imperii Byzantini'},
	['CITEREFKonrad_Ameln1985'] = template_names['NDB'],
--	['CITEREFKraemer1989'] = template_names['al-Tabari'],
	['CITEREFKratville1962'] = {'Kratville-SSL'},
	['CITEREFKube2009'] = {'Schubert\'s compositions (references)'},
	['CITEREFKülzer2008'] = {'Tabula Imperii Byzantini'},

----------< L >----------
	['CITEREFLadefogedMaddieson1996'] = {'SOWL'},
--	['CITEREFLandau-Tasseron1998'] = template_names['al-Tabari'],
	['CITEREFLaërtius1925'] = {'Cite Lives of the Eminent Philosophers', 'Cite LotEP'},
	['CITEREFLe_Strange1905'] = {'Lands of the Eastern Caliphate'},
	['CITEREFLee1903'] = {'Cite DNBIE'},
 	['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'},
	['CITEREFLongnon1969'] = {'Setton-A History of the Crusades'},
	['CITEREFLuttrell1975'] = {'Setton-A History of the Crusades'},
	['CITEREFLynch2005'] = {'Lynch-New Haven passenger'},
	['CITEREFle_Fleming1953'] = {'RCTS-LocosGWR-8'},
	['CITEREFle_Fleming1960'] = {'RCTS-LocosGWR-8'},
 	['CITEREFLe_Strange1900'] = {'Baghdad During the Abbasid Caliphate'},
	
----------< M >----------
	['CITEREFMadelung1975'] = template_names['Cam_Hist_Iran'],
	['CITEREFMailer2004'] ={'Mailer-Omaha Road'},
	['CITEREFManfred_Knedlik2007'] = {'BBKL'},
	['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'},
	['CITEREFMarzolph2007'] = {'EI3'},
	['CITEREFMayGray2006'] = {'MayGray-WAGRPassCar'},
--	['CITEREFMcAuliffe1995'] = template_names['al-Tabari'],
	['CITEREFMcCurdyRogers1902'] = {'Cite Jewish Encyclopedia'},
--	['CITEREFMcDonald1987'] = template_names['al-Tabari'],
	['CITEREFMcDonnell2015'] = {'McDonnell-Locomotives-2nd'},
	['CITEREFMeints2005'] = {'Meints-Lines'},
	['CITEREFMiddleton1961'] = {'Middleton-Interurban'},
	['CITEREFMiddleton2001'] = {'Middleton-Electrified-2nd'},
	['CITEREFMiddletonSmerkDiehl2007'] = {'Encyclopedia of North American Railroads'},
	['CITEREFMillar2011'] = {'NZR Steam Locomotive'},
	['CITEREFMiller1908'] = {'The Latins in the Levant', 'Latins in the Levant'},
	['CITEREFMiramar_Ship_Index'] = {'Csr', 'Cite ship register'},
	['CITEREFMittermeierKonstantHawkinsLouis2006'] = {'LoM2'},
	['CITEREFMittermeierLouisRichardsonSchwitzer2010'] = {'LoM3'},
	['CITEREFMittermeierTattersallKonstantMeyers1994'] = {'LoM1'},
--	['CITEREFMorony1987'] = template_names['al-Tabari'],
	['CITEREFMottahedeh1975'] = template_names['Cam_Hist_Iran'],
	['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'] = {'ODLA'},
	['CITEREFNicholsonCanepaDaryaee2018'] = {'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'],
	['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'],
	['CITEREFHenderson2004'] = template_names['ODNB'],
	['CITEREFHughes2004'] = template_names['ODNB'],
	['CITEREFJones2004'] = template_names['ODNB'],
	['CITEREFKeane2004'] = template_names['ODNB'],
	['CITEREFKelsey2004'] = template_names['ODNB'],
	['CITEREFLloyd2004'] = 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'],
	['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'],
	['CITEREFWright2009'] = template_names['ODNB'],
	['CITEREFvan_Houts2004'] = template_names['ODNB'],


----------< P >----------
	['CITEREFPLP'] = {'Prosopographisches Lexikon der Palaiologenzeit', 'PLP'},
	['CITEREFPalmer1875'] = {'Cite ADB'},
	['CITEREFPalmer_&amp;_Stewart1965'] = {'Palmer & Stewart'},
	['CITEREFPaxtonBourne1985'] = {'Paxton-Bourne'},
--	['CITEREFPerlmann1987'] = template_names['al-Tabari'],
	['CITEREFPinkepank1973'] = {'Pinkepank diesel spotters guide 2'},
	['CITEREFPlantlist2016'] = {'Plantlist'},
	['CITEREFPmbZ'] = {'Prosopographie der mittelbyzantinischen Zeit', 'PMBZ'},
--	['CITEREFPoonawala1990'] = template_names['al-Tabari'],
--	['CITEREFPopovkin2007'] = template_names['al-Tabari'],
--	['CITEREFPowers1989'] = template_names['al-Tabari'],
	['CITEREFPrawer1985'] = {'Setton-A History of the Crusades'},
	['CITEREFProsopographie_der_mittelbyz._Zeit'] = {'Prosopographie der mittelbyzantinischen Zeit'},

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

----------< R >----------
	['CITEREFRamaer1974'] = {'Ramaer-SteamLocosEAR'},
	['CITEREFReed1953'] = {'RCTS-LocosGWR-2'},
	['CITEREFReed1975'] = {'Reed-Streamline era'},
	['CITEREFReed1997'] = {'Schubert\'s compositions (references)'},
	['CITEREFReinhard_Tenberg1990'] = {'BBKL'},
	['CITEREFReynolds1921'] = {'Cite Collier\'s'},
	['CITEREFRines1920'] = {'Cite Americana'},
	['CITEREFRipleyDana1879'] = {'Cite AmCyc'},
	['CITEREFRoltKichenside1982'] = {'Rolt-Red'},
	['CITEREFRosenfeld1974'] = template_names['NDB'],
--	['CITEREFRosenthal1985'] = template_names['al-Tabari'],
--	['CITEREFRosenthal1989'] = template_names['al-Tabari'],
	['CITEREFRosenzweigBlackmar1992'] = {'Cite Central Park history'},
	['CITEREFRowledge1975'] = {'Rowledge-Engines of the LMS'},
	['CITEREFRowledge1993'] = {'Rowledge-Irish Steam Register'},
	['CITEREFRowlett'] = {'Cite rowlett'},
--	['CITEREFRowson1989'] = template_names['al-Tabari'],

----------< S >----------
--	['CITEREFSaliba1985'] = template_names['al-Tabari'],
	['CITEREFSanders2003'] = {'Sanders-Indiana'},
	['CITEREFSanders2006'] = {'Sanders-Heartland'},
	['CITEREFSanders2007'] = {'Sanders-Akron'},
	['CITEREFSaunders2001'] = {'Saunders-Merging Lines'},
	['CITEREFSchafer1996'] = {'Schafer-Classic-Railroads-1'},
	['CITEREFSchafer1998'] = {'Schafer-Vintage Diesel'},
	['CITEREFSchafer2000'] = {'Schafer-More-Classic'},
	['CITEREFSchafer2003'] = {'Schafer-Classic-Railroads-3'},
	['CITEREFSchaferSolomon1997'] = {'Schafer-Pennsylvania'},
	['CITEREFSchaferWelsh1997'] = {'Schafer-Classic'},
	['CITEREFSchilling1997'] = {'Schilling-pop-culture'},
	['CITEREFSchlitter2005'] = {'MSW3 Tubulidentata'},
	['CITEREFSchroeter1961'] = {'Schroeter-Eisenbahnen'},
	['CITEREFSchroeterRamaer1993'] = {'Schroeter-Ramaer-Eisenbahnen'},
	['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'},
	['CITEREFSetton1976'] = {'The Papacy and the Levant'},
	['CITEREFSetton1978'] = {'The Papacy and the Levant'},
	['CITEREFShahîd2010'] = {'EI3'},
	['CITEREFShaughnessy1997'] = {'Shaughnessy-DH'},
	['CITEREFShaw1978'] = {'Shaw-RailroadAccidents'},
	['CITEREFShindo2004'] = {'Kaneto-shindo-shinario-jinsei'},
	['CITEREFSilke2006'] = {'O\'Donnell family tree'},
	['CITEREFSimon1966'] = {'Simon-Wines Australia'},
	['CITEREFSimonWarner2011'] = {'Amtrak By the Numbers'},
	['CITEREFSkoulatos1980'] = {'Les personnages byzantins de l\'Alexiade'},
	['CITEREFSmith1870'] = {'DGRBM'},
--	['CITEREFSmith1994'] = template_names['al-Tabari'],
	['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-Electro-Motive'},
	['CITEREFSolomon2011'] = {'Solomon-Modern Diesel'},
	['CITEREFSolomon2014'] = {'Solomon-GE and EMD'},
	['CITEREFSolomonSchafer2007'] = {'Solomon-New York Central'},
	['CITEREFSoustalKoder1981'] = {'Tabula Imperii Byzantini'},
	['CITEREFSpringirth2016'] = {'Springirth-Philadelphia'},
	['CITEREFStagner1993'] = {'Stagner-Transition'},
	['CITEREFStaufer1993'] = {'Staufer-Pennsy_III'},
	['CITEREFStauferPennypacker1962'] = {'Staufer-Pennsy'},
	['CITEREFStaunton1988'] = {'Australian Dictionary of Biography'},
	['CITEREFStewart1974'] = {'When Steam Was King'},
	['CITEREFStrickland1983'] = {'Strickland Locomotive Directory'},
	['CITEREFSusanne_Schurr1992'] = {'BBKL'},
	['CITEREFSusanne_Siebert1992'] = {'BBKL'},

----------< T >----------
	['CITEREFTaber1977'] = {'Taber-DLW-19th'},
	['CITEREFTaberTaber1980'] = {'Taber-DLW-20th-1'},
	['CITEREFTaberTaber1981'] = {'Taber-DLW-20th-2'},
	['CITEREFTalbot1991'] = {'ODB'},
	['CITEREFTer-Ghewondyan1976'] = {'The Arab Emirates in Bagratid Armenia'},
	['CITEREFThomas1971'] = {'Thomas-History-VI'},
	['CITEREFTodt1996'] = {'BBKL'},
	['CITEREFTonks1988'] = {'Tonks ironstone'},
	['CITEREFTonks1992'] = {'Tonks ironstone'},
	['CITEREFTopping1975'] = {'Setton-A History of the Crusades'},
	['CITEREFTourret1995'] = {'Tourret-Allied Military Locomotives'},
	['CITEREFTreadgold1988'] = {'The Byzantine Revival, 780–842'},
	['CITEREFTreadgold1997'] = {'A History of the Byzantine State and Society'},
	['CITEREFTurim1998'] = {'Turim-oshima'},
	['CITEREFTurner2010'] = {'EI3'},
	['CITEREFTurner2013'] = {'EI3'},

----------< U >----------
	['CITEREFUwe_Eckardt2001'] = {'BBKL'},
	['CITEREFunknown_author1881'] = {'Cite ADB'},
	['CITEREFunknown_author1882'] = {'Cite ADB'},

----------< V >----------
	['CITEREFVan_Cleve1969'] = {'Setton-A History of the Crusades'},
	['CITEREFVan_Riemsdijk,_Compound_Locomotives'] = {'Book-Van Riemsdijk-Compound Locomotives'},
	['CITEREFVan_Tricht2011'] = {'The Latin Renovatio of Byzantium'},
	['CITEREFVarzos1984'] = {'Η Γενεαλογία των Κομνηνών', 'Varzos-Genealogy of the Komnenoi'},
	['CITEREFVolkmer1991'] = {'Volkmer-Pennsy-Electric'},
	['CITEREFvan_Berkel2013'] = {'EI3'},
	['CITEREFvon_Prantl1879'] = {'Cite ADB'},

----------< W >----------
--	['CITEREFWaines1992'] = template_names['al-Tabari'],
	['CITEREFWalker2011'] = {'EI3'},
	['CITEREFWalker2017'] = {'EI3'},
	['CITEREFWalter_Asmus1966'] = template_names['NDB'],
--	['CITEREFWattMcDonald1989'] = template_names['al-Tabari'],
	['CITEREFWayner1972'] = {'Wayner - Car names, numbers, consists'},
	['CITEREFWayner1973'] = {'Wayner-Spotter-2nd'},
	['CITEREFWegman2008'] = {'Wegman-Illustrated'},
	['CITEREFWeinrebHibbertKeayKeay2008'] = {'London encyclopedia'},
	['CITEREFWellhausen1927'] = {'The Arab Kingdom and its Fall'},
	['CITEREFWells1982'] = {'Accents of English'},
	['CITEREFWelsh2006'] = {'Welsh-Broadway'},
	['CITEREFWelsh2008'] = {'Welsh-UP'},
	['CITEREFWerner_Raupp2001'] = {'BBKL'},
	['CITEREFWestermayer,_Georg1882'] = {'Cite ADB'},
	['CITEREFWham1997'] = {'Wham-Ayrshire'},
	['CITEREFWharton1991'] = {'ODB'},
	['CITEREFWhite1985'] = {'White-Passenger-1985'},
	['CITEREFWhiteWillenskyLeadon2010'] = {'Cite aia5'},
	['CITEREFWhitehurst1973'] = {'Whitehurst GW Engines from 1940'},
	['CITEREFWhittow1996'] = {'The Making of Byzantium, 600–1025'},
	['CITEREFWiesehöfer2018'] = template_names['ODLA'],
--	['CITEREFWilliams1985'] = template_names['al-Tabari'],
	['CITEREFWilliams1998'] = {'Williams-Philadelphia'},
	['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'},
	['CITEREFWood1907'] = {'Cite Nuttall'},
	['CITEREFWood1907'] = {'Nuttall'},
	['CITEREFWozencraft2005'] = {'MSW3 Carnivora'},

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

----------< Y >----------
--	['CITEREFYarshater1985–2007'] = {'The History of al-Tabari'},
	['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 >----------
	['CITEREFZekulich2000'] = {'Zekulich-WineWA'},
	['CITEREFZimmermann2004'] = {'Zimmermann-Burlington'},
	['CITEREFZimmermann2007'] = {'Zimmermann-GrandLuxe'},
	

-------<UNSORTED>--------
	['CITEREFCaltrans1984'] = {'Countrystudy'},
	['CITEREFTalbot1991'] = {'Countrystudy'},
	['CITEREFTalbotKazhdan1991'] = {'Oxford Dictionary of Byzantium'},
	['CITEREFTonks1989'] = {'Tonks ironstone'},
	['CITEREFWhishaw1969'] = {'Whishaw-RailofGB'},
	['CITEREFPopplewell'] = {'Popplewell-Gazetteer'},
	['CITEREFLewin1925'] = {'Lewin-EarlyRail'},
	['CITEREFRobertson1983'] = {'Robertson-OriginScot'},
	['CITEREFWhishaw1842'] = {'Whishaw-RailofGB-2ndEd'},
	['CITEREFMaiken1989'] = {'Maiken-Night Trains'},
	['CITEREFWhite1993'] = {'White - American railroad freight car'},
	['CITEREFWeibel1994'] = {'Weibel IHA'},
	['CITEREFAbramowitzStegun1983'] = {'Abramowitz Stegun ref'},
	['CITEREFCarlson2010'] = {'Dlmf'},
	['CITEREFSuetin2001'] = {'Springer', 'SpringerEOM'},
	['CITEREFStauferPennypacker1968'] = {'Staufer-Pennsy Power II'},
	['CITEREFDavies1996'] = {'Davies-PLMLocoList'},
	['CITEREFHolland1972'] = {'Holland-Vol 2'},
	['CITEREFDunbar1969'] = {'Dunbar-Railroads'},
	['CITEREFMeints1992'] = {'Meints-Companies'},
	['CITEREFHaynes2011'] = {'RubberBible92nd'},
	['CITEREFColledgeWarlow2006'] = {'Colledge'},
	['CITEREFRigo2005'] = {'ODB'},
	['CITEREFBrand1991'] = {'DBI'},
	['CITEREFAhlgrimm1969'] = {'Bach\'s compositions (sources)'},
	['CITEREFBachAgricola1754'] = {'Bach\'s compositions (sources)'},
	['CITEREFBeißwenger1991'] = {'Bach\'s compositions (sources)'},
	['CITEREFBlanken2019'] = {'Bach\'s compositions (sources)'},
	['CITEREFBonporti1712'] = {'Bach\'s compositions (sources)'},
	['CITEREFDadelsen1957'] = {'Bach\'s compositions (sources)'},
	['CITEREFDaniel2010'] = {'New Cambridge History of Islam'},
	['CITEREFDavid1961'] = {'Bach\'s compositions (sources)'},
	['CITEREFDürrJones2006'] = {'Bach\'s compositions (sources)'},
	['CITEREFDürrKobayashi1998'] = {'Bach\'s compositions (sources)'},
	['CITEREFEichberg1976'] = {'Bach\'s compositions (sources)'},
	['CITEREFFeder1958'] = {'Bach\'s compositions (sources)'},
	['CITEREFForkelTerry1920'] = {'Bach\'s compositions (sources)'},
	['CITEREFHeinichen1728'] = {'Bach\'s compositions (sources)'},
	['CITEREFKirnberger1774'] = {'Bach\'s compositions (sources)'},
	['CITEREFKirnberger1780'] = {'Bach\'s compositions (sources)'},
	['CITEREFKobayashi1978'] = {'Bach\'s compositions (sources)'},
	['CITEREFLynch2004'] = {'Lynch-Penn Central'},
	['CITEREFMelamed1988'] = {'Bach\'s compositions (sources)'},
	['CITEREFMelamed1995'] = {'Bach\'s compositions (sources)'},
	['CITEREFPerreault2004'] = {'Bach\'s compositions (sources)'},
	['CITEREFPfau2008'] = {'Bach\'s compositions (sources)'},
	['CITEREFPlaten1976'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchicht1805'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchmieder1950'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchmieder1990'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchneider1907'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchulze1983'] = {'Bach\'s compositions (sources)'},
	['CITEREFSpitta1899'] = {'Bach\'s compositions (sources)'},
	['CITEREFThielemann2012'] = {'Bach\'s compositions (sources)'},
	['CITEREFTittel1966'] = {'Bach\'s compositions (sources)'},
	['CITEREFUS-NHub_Music_Deposit_31_(Klavierbüchlein_für_W._F._Bach)_at_Bach_Digital'] = {'Bach\'s compositions (sources)'},
	['CITEREFWilliams2003'] = {'Bach\'s compositions (sources)'},
	['CITEREFWollny2015'] = {'Bach\'s compositions (sources)'},
	['CITEREFZahn1889–1893'] = {'Bach\'s compositions (sources)'},
	['CITEREFZarrinkub1975'] = template_names['Cam_Hist_Iran'],
	['CITEREFZuccaric._1747'] = {'Bach\'s compositions (sources)'},
	['CITEREFBuhle1909'] = {'Bach\'s compositions (sources)'},
	['CITEREFDirksen1998'] = {'Bach\'s compositions (sources)'},
	['CITEREFDirksen2010'] = {'Bach\'s compositions (sources)'},
	['CITEREFDirksen2016'] = {'Bach\'s compositions (sources)'},
	['CITEREFDömlingKohlhase1971'] = {'Bach\'s compositions (sources)'},
	['CITEREFDürr1952'] = {'Bach\'s compositions (sources)'},
	['CITEREFDürr1954'] = {'Bach\'s compositions (sources)'},
	['CITEREFDürr1987'] = {'Bach\'s compositions (sources)'},
	['CITEREFEppstein1966'] = {'Bach\'s compositions (sources)'},
	['CITEREFEppstein1982'] = {'Bach\'s compositions (sources)'},
	['CITEREFGlöckner1983'] = {'Bach\'s compositions (sources)'},
	['CITEREFHellmann1965'] = {'Bach\'s compositions (sources)'},
	['CITEREFHenrici1725'] = {'Bach\'s compositions (sources)'},
	['CITEREFHoffmann1738'] = {'Bach\'s compositions (sources)'},
	['CITEREFHofmann1983'] = {'Bach\'s compositions (sources)'},
	['CITEREFHofmann1987'] = {'Bach\'s compositions (sources)'},
	['CITEREFHofmann1999'] = {'Bach\'s compositions (sources)'},
	['CITEREFKeller1937'] = {'Bach\'s compositions (sources)'},
	['CITEREFKenyon2011'] = {'Bach\'s compositions (sources)'},
	['CITEREFKoska2011'] = {'Bach\'s compositions (sources)'},
	['CITEREFKretzschmar1910'] = {'Bach\'s compositions (sources)'},
	['CITEREFLandmann1907'] = {'Bach\'s compositions (sources)'},
	['CITEREFLeisingerWollny1993'] = {'Bach\'s compositions (sources)'},
	['CITEREFMorana1993'] = {'Bach\'s compositions (sources)'},
	['CITEREFScheide1960'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchneider1912'] = {'Bach\'s compositions (sources)'},
	['CITEREFScholze1736'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchulenberg2010'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchulenberg2013'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchulze1980'] = {'Bach\'s compositions (sources)'},
	['CITEREFSchulze1984'] = {'Bach\'s compositions (sources)'},
	['CITEREFSiegele1957'] = {'Bach\'s compositions (sources)'},
	['CITEREFSpitta1894'] = {'Bach\'s compositions (sources)'},
	['CITEREFTorri2013'] = {'Bach\'s compositions (sources)'},
	['CITEREFVetter1713'] = {'Bach\'s compositions (sources)'},
	['CITEREFWright2000'] = {'Bach\'s compositions (sources)'},
	['CITEREFvan_Leyden1956'] = {'Bach\'s compositions (sources)'},
	['CITEREFMeiningen1704'] = {'Bach\'s compositions (sources)'},
	['CITEREFActa_Lipsiensium1723'] = {'Bach\'s compositions (sources)'},
	['CITEREFHarriss2004'] = template_names['ODNB'],
	['CITEREFCarpenter2004'] = template_names['ODNB'],
	['CITEREFHuffman2004'] = template_names['ODNB'],
	['CITEREFWaite2004'] = template_names['ODNB'],
	['CITEREFMatthew2004'] = template_names['ODNB'],
	['CITEREFRichards2004'] = template_names['ODNB'],
	['CITEREFLloydSeccombe2004'] = template_names['ODNB'],
	['CITEREFGash2004'] = template_names['ODNB'],
	['CITEREFRose1857'] = {'Cite Newgenbio'},
	['CITEREFLe_Strange1900'] = {'Baghdad During the Abbasid Caliphate'},
	['CITEREFLe_Strange1922'] = {'Baghdad During the Abbasid Caliphate'},
	['CITEREFNeukirch1999'] = {'Neukirch ANT'},
	['CITEREFBourbaki1994'] = {'Bourbaki EHM'},
	['CITEREFInalcik1989'] = {'Setton-A History of the Crusades'},
	['CITEREFKoderHild1976'] = {'Tabula Imperii Byzantini'},
	['CITEREFHildRestle1981'] = {'Tabula Imperii Byzantini'},
	['CITEREFSoustalKoder1981'] = {'Tabula Imperii Byzantini'},
	['CITEREFKoderHild1976'] = {'Tabula Imperii Byzantini'},
	['CITEREFBelkeRestle1984'] = {'Tabula Imperii Byzantini'},
	['CITEREFHildHellenkemper1990'] = {'Tabula Imperii Byzantini'},
	['CITEREFSoustal1991'] = {'Tabula Imperii Byzantini'},
	['CITEREFBelkeMersisch1990'] = {'Tabula Imperii Byzantini'},
	['CITEREFHildHellenkemper1994'] = {'Tabula Imperii Byzantini'},
	['CITEREFBelke1996'] = {'Tabula Imperii Byzantini'},
	['CITEREFKoderSoustalKoder1998'] = {'Tabula Imperii Byzantini'},
	['CITEREFKülzer2008'] = {'Tabula Imperii Byzantini'},
	['CITEREFTodtVest2014'] = {'Tabula Imperii Byzantini'},
	['CITEREFCIC1983'] = {'CIC1983bib'},
	['CITEREFBrand1991'] = template_names['ODB'],
	['CITEREFBartusis1991'] = template_names['ODB'],
	['CITEREFPeck1898'] = {'HDCA'},
	['CITEREFSchaff-Herzog'] = {'Schaff-Herzog'},
	['CITEREFEuDaly2009'] = {'Complete Book of North American Railroading'},
	['CITEREFHaswell-Smith2004'] = {'Haswell-Smith'},
	['CITEREFGleaves1921'] = {'Gleaves'},
	['CITEREFTrapp1991'] = template_names['ODB'],
	['CITEREFAlexiou2010'] = {'Cite flatiron'},
	['CITEREFNew_York_City_Landmarks_Preservation_CommissionDolkartPostal2009'] = {'Cite nycland'},
	['CITEREFKarnow1989'] = {'Cite-Karnow'},
	['CITEREFSetton1975'] = {'Setton-A History of the Crusades'},
	['CITEREFLuttrell1987'] = {'DBI'},
	['CITEREFMiller1921'] = {'Essays on the Latin Orient'},
	['CITEREFChurchmanHurst2001'] ={'Churchman & Hurst Railways of New Zealand'},
	['CITEREFBaldwinKazhdan1991'] =template_names['ODB'],
	['CITEREFBernards2020'] = {'EI3'},
	['CITEREFMcGhee2008'] = {'Cite McGhee 2008'},
	['CITEREFQutbuddin2018'] = {'EI3'},
	['CITEREFHistoric_Environment_Scotland1972'] = {'Historic Environment Scotland'},
	['CITEREFHistoric_Environment_Scotland1976'] = {'Historic Environment Scotland'},
	['CITEREFThe_London_Gazette1950'] = {'London Gazette'},
	['CITEREFKellyBurrage1920'] = {'Cite AMB1920'},
	['CITEREFHeinrich_Welti1890'] ={'Cite ADB'},
	['CITEREFHans_Knudsen1972'] = template_names['NDB'],
	['CITEREFChung1994'] = {'Country study'},
	['CITEREFHunter2008'] = {'Country study'},
	['CITEREFKang2008'] = {'Country study'},
	['CITEREFKim1994'] = {'Country study'},
	['CITEREFMinnich2008'] = {'Country study'},
	['CITEREFWickman1982'] = {'Country study'},
	['CITEREFWorden2008'] = {'Country study'},
	['CITEREFBorsari1964'] = {'DBI', 'Dizionario Biografico degli Italiani'},

}


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

return {
	DNB_special_patterns = DNB_special_patterns,
	DNB_template_names = template_names['DNB'],
	special_patterns = special_patterns,
	whitelist = whitelist,
	wrapper_templates = wrapper_templates,
	}