Module:Excerpt/config

MyWikiBiz, Author Your Legacy — Thursday December 26, 2024
Jump to navigationJump to search

Documentation for this module may be created at Module:Excerpt/config/doc

return {

	-- Templates that should never be transcluded
	templates = {
		'2021 United States Capitol attack', '2021 storming of the United States Capitol', 
		'[Aa]bout', '[Tt]his', '[Tt]his article is about', 
		'[Bb]roader', 
		'[Cc]ampaignbox', '[Cc]ampaign', 
		'[Cc]itations broken from PEIS limit', 
		'.*[Cc]oor.*', '[Ll]ocation', '[Ll]ocation dec', '[Cc]o-ord', -- Coordinates
		'[Cc]urrent.*', '[Ff]lux', '[Ll]ive', '[Oo]n ?going.*', '[Rr]ecent ?event', '[Rr]ecent news', '[Bb]reaking news', -- {{Current}} etc.
		'[Dd]efault ?[Ss]ort', 'DEFAULT ?SORT', 
		'[Dd]isplay ?title', 'DISPLAYTITLE', '[Ii]talic title', 
		'[Ff]eatured ?article', '[Ff]eatured', '[Ff]eaturedSmall', 'FA topicon', 
		'[Gg]ood [Aa]rticle','GA article', 'GA icon', 
		'.*[Ii]nfo ?[Bb]ox.*', '[Rr]ow', '[Tt]axobox', -- infoboxes
		'[Ll]ead ?missing', '[Ll]ede missing', '[Nn]o[ -]?[Ii]ntro', '[Nn]ointroduction', '[Nn]o[ -]?lead', '[Nn]o ?lede', '[Mm]issingintro', '[Ii]ntro[ -]?missing', '[Nn]o ?lead ?section',  '[Mm]issing lead', '[Mm]issing lede', '[Ll]ead absent', '[Ll]ede absent', '[Nn]o definition', '[Ii]ntroduction needed', '[Ii]ntroduction missing', '[Ii]ntro needed', '[Ll]ead required', '[Ll]ede required', '[Nn][Oo][Ll]', 
		'[Ll]ead too long', '[Ll]ede ?too ?long', '[Ii]ntro ?length', '[Ll]ongintro', '[Ll]ong ?lead', '[Ll]ong ?lede', '[Ii]ntro[ -]?too[ -]?long', '[Ll][2T][Ll]', '[Ll]ead long',
		'[Ll]ead[ -]?rewrite', '[Ll]ead ?section', '[Vv]agueintro', '[Cc]leanup-lead', '[Ii]ntro', '[Oo]pening', '[Ll]ead', '[Ll]ede', '[Ii]ntro-?rewrite', '[Ll]ede rewrite', 'LEAD', 'LEDE', '[Rr]ewrite lead', '[Cc]leanup lead',
		'[Ll]ead[ -]?too[ -]?short', '[Ll]ede[ -]?too[ -]?short', '[Ee]xpand ?lead', '[Ee]xpand ?lede', '[Tt]oo ?[Ss]hort', '[Ss]hort ?intro', '[Ss]hort ?lead', '[Ii]ntro[ -]?too[ -]?short', '[Bb]uild lead', '[Ii]ntro-expand', 'XL', 'TSL', '[Ll]2[Ss]', 
		'[Mm]ain[12]?', '[Mm]ain ?[Aa]rticles?', 'MAIN', '[Mm]ain page', '[Ss]ee ?main', '[Rr]eadmain', '[Ff]ull article', '[Hh]urricane main', '[Cc]omprehensive', 
		'.*[Nn]avbox.*', '[Nn]avigation', '[Nn]avigation ?[Bb]ox', '[Nn]avigation Template', '[Hh]ider hiding', '[Cc]?VG [Nn]avigation', '[Tt]ransNB', '[Nn]avtable',  -- navboxes
		'[Oo]ther ?[Uu]ses?[13]?', '[Oo]thers?', '[Oo]ther ?[Mm]eanings?', '[Dd]istinguish', '[Aa]lternateuses', '[Oo]thervalues', '[Ff]or other uses', 
		'[Pp]p%-.+',  -- {{pp-move-indef}} etc.
		'[Rr]edirect.*', '[Rr][Ee]dir', '[Rr]DR', 
		'[Ss]ee ?[Aa]lso', '[Aa]lso', '[Ll]ooking', '[Rr]elated articles?', '[Ss]ee-[Aa]lso', '[Ll]ooking for', '[Ss]ee other', 'VT', 
		'[Ss]emiprotected', 
		'[Ss]hort[ -]?desc.*', 'SHORTDESC', '[Dd]escription', '[Bb]rief description', 
		'.*[Ss]idebar.*', -- sidebars
		'[Ss]poken.*', -- Spoken Wikipedia related
		'.*TOC.*', '[Tt]oc ?[Ll]imit',  -- Table of contents related
		'[Uu]nref.*', '[Cc]itesources', '[Mm]issing references', '[Mm]issing refs', '[Nn]R', '[Nn]eeds references', '[Nn]o ?refs?', '[Nn]o ?references?', '[Nn]o ?sources', '[Nn]r', '[Rr]eferences', '[Rr]eferences needed', '[Rr]efs ?needed', 'UNREF', 'UNRF?', '[Uu]ncited[ -]?article', '[Uu]nrf?', '[Uu]nsourced', '[Uu]nverified', 
		'[Uu]se .+ English', '[Uu]se .+ spelling', '[Ee]ngvarB', -- {{Use American English}} etc.
		'[Uu]se .+ dates', -- {{Use dmy dates}} etc.
		'[Vv]ery ?long', '[Ll]ong', '[Tt]oo ?big', '[Ll]ongish', '[Ss]horten', '[Tt]oo[ -]?[Ll]ong', '2[Ll]', '2long', 'TOOLONG', '[Bb]igPage', 
		'^[Ff][Oo][Rr][12]?', '[Ff]or ?the', 
	},

	-- Map from image parameters to captions
	-- Used for extracting the file out of the infobox
	captions = {
		{'map1', {'legend1'} },
		{'map2', {'legend2'} },
		{'image', {'caption', 'description'} },
		{'logo', {'logo_caption'} },
	},

	-- Tracking categories (without the category namespace)
	categories = {
		content = 'Articles with excerpts',
		errors = 'Articles with broken excerpts',
		--[0] = 'Articles with excerpts',
	},

	-- Prefix for generating the hatnote
	hat = '{{hatnote|extraclasses=dablink|selfref=yes|1=',

	-- Title of the template styles (optional)
	styles = 'Excerpt/styles.css'
}