<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.cultopedia.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ACite%2Fconfig</id>
	<title>Module:Cite/config - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.cultopedia.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ACite%2Fconfig"/>
	<link rel="alternate" type="text/html" href="https://www.cultopedia.org/index.php?title=Module:Cite/config&amp;action=history"/>
	<updated>2026-04-05T22:07:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://www.cultopedia.org/index.php?title=Module:Cite/config&amp;diff=1570&amp;oldid=prev</id>
		<title>imported&gt;Trappist the monk: +TODO;</title>
		<link rel="alternate" type="text/html" href="https://www.cultopedia.org/index.php?title=Module:Cite/config&amp;diff=1570&amp;oldid=prev"/>
		<updated>2025-11-15T16:00:37Z</updated>

		<summary type="html">&lt;p&gt;+TODO;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--local cfg = mw.loadData (&amp;#039;Module:Citation/CS1/Configuration&amp;#039;);					-- TODO: in future, use this to replace current &amp;lt;known_templates_t&amp;gt; and &amp;lt;citation_classes_t&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S E T T I N G S &amp;gt;--------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
settings definitions for i18n; translate only the rvalues&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local settings_t = {&lt;br /&gt;
	err_category = &amp;#039;CS1 errors: cite module&amp;#039;,									-- name of category that lists article with Module:Cite errors&lt;br /&gt;
	help = &amp;#039;help&amp;#039;,																-- help link display text for error messages&lt;br /&gt;
	help_text_link = &amp;#039;Help:CS1 errors#module_cite&amp;#039;,								-- help text for error messages can be found on this page&lt;br /&gt;
	&lt;br /&gt;
	unknown_name = &amp;#039;unknown template name: $1&amp;#039;,									-- error message; $1 is lowercase value extracted from invoke function name&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; K N O W N _ T E M P L A T E S _ T &amp;gt;--------------------------------------------&lt;br /&gt;
&lt;br /&gt;
list of all known cs1|2 templates by their lowercase names.&lt;br /&gt;
&lt;br /&gt;
key is lowercase template name&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
--[[ TODO: in future, use this to replace current &amp;lt;known_templates_t&amp;gt; and &amp;lt;citation_classes_t&amp;gt;&lt;br /&gt;
local known_templates_t = {};													-- list of all known cs1|2 templates by their lowercase names.  key is lowercase template name&lt;br /&gt;
local citation_classes_t = {};													-- list of all known cs1|2 CitationClass values.  key is lowercase template name&lt;br /&gt;
&lt;br /&gt;
for k, v in pairs (cfg.citation_class_map_t) do&lt;br /&gt;
	local template = v:gsub (&amp;#039;cite &amp;#039;, &amp;#039;&amp;#039;):lower();								-- remove &amp;#039;cite &amp;#039; prefix, set template name to lowercase&lt;br /&gt;
	known_templates_t[template] = true;											-- add as a known template&lt;br /&gt;
	citation_classes_t[template] = k;											-- add to list of citation classes&lt;br /&gt;
end&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local known_templates_t = {&lt;br /&gt;
	[&amp;#039;arxiv&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;av media&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;av media notes&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;biorxiv&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;book&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;citation&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;citeseerx&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;conference&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;document&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;encyclopedia&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;episode&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;interview&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;journal&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;magazine&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;mailing list&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;map&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;medrxiv&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;news&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;newsgroup&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;podcast&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;press release&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;report&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;serial&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;sign&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;speech&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;ssrn&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;tech report&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;thesis&amp;#039;] = true,&lt;br /&gt;
	[&amp;#039;web&amp;#039;] = true,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C I T A T I O N _ C L A S S E S _ T &amp;gt;-----------------------------------------&lt;br /&gt;
&lt;br /&gt;
|CitationClass= in the cs1|2 templates gets the lowercase template name except for these for which the canonical&lt;br /&gt;
template name has multiple words (and the oddity that is class=&amp;quot;encyclopaedia&amp;quot; – really ought to fix that in&lt;br /&gt;
Module:Citation/CS1)&lt;br /&gt;
&lt;br /&gt;
key is lowercase canonical template name&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local citation_classes_t = {&lt;br /&gt;
	[&amp;#039;av media&amp;#039;] = &amp;#039;audio-visual&amp;#039;,&lt;br /&gt;
	[&amp;#039;av media notes&amp;#039;] = &amp;#039;AV-media-notes&amp;#039;,&lt;br /&gt;
	[&amp;#039;encyclopedia&amp;#039;] = &amp;#039;encyclopaedia&amp;#039;,&lt;br /&gt;
	[&amp;#039;mailing list&amp;#039;] = &amp;#039;mailinglist&amp;#039;,&lt;br /&gt;
	[&amp;#039;press release&amp;#039;] = &amp;#039;pressrelease&amp;#039;,&lt;br /&gt;
	[&amp;#039;tech report&amp;#039;] = &amp;#039;techreport&amp;#039;,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X P O R T S &amp;gt;----------------------------------------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	citation_classes_t = citation_classes_t,&lt;br /&gt;
	error_messages_t = error_messages_t,&lt;br /&gt;
	known_templates_t = known_templates_t,&lt;br /&gt;
	settings_t = settings_t,&lt;br /&gt;
	}&lt;/div&gt;</summary>
		<author><name>imported&gt;Trappist the monk</name></author>
	</entry>
</feed>