<?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%3ACitation_mode</id>
	<title>Module:Citation mode - 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%3ACitation_mode"/>
	<link rel="alternate" type="text/html" href="https://www.cultopedia.org/index.php?title=Module:Citation_mode&amp;action=history"/>
	<updated>2026-04-05T23:33:18Z</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:Citation_mode&amp;diff=1568&amp;oldid=prev</id>
		<title>imported&gt;Pppery: Changed protection settings for &quot;Module:Citation mode&quot;: High-risk template or module ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://www.cultopedia.org/index.php?title=Module:Citation_mode&amp;diff=1568&amp;oldid=prev"/>
		<updated>2025-08-11T23:01:42Z</updated>

		<summary type="html">&lt;p&gt;Changed protection settings for &amp;quot;&lt;a href=&quot;/index.php/Module:Citation_mode&quot; title=&quot;Module:Citation mode&quot;&gt;Module:Citation mode&lt;/a&gt;&amp;quot;: &lt;a href=&quot;https://en.wikipedia.org/wiki/WP%3AHigh-risk_templates&quot; class=&quot;extiw cultopedia-missing-wikipedia&quot; title=&quot;WP:High-risk templates on Wikipedia&quot; rel=&quot;nofollow&quot;&gt;High-risk template or module&lt;/a&gt; ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;require (&amp;#039;strict&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-- determine whether we&amp;#039;re being called from a sandbox&lt;br /&gt;
local isSandbox = mw.getCurrentFrame():getTitle():find(&amp;#039;sandbox&amp;#039;, 1, true)&lt;br /&gt;
local sandbox = isSandbox and &amp;#039;/sandbox&amp;#039; or &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
local cfg = mw.loadData (&amp;#039;Module:Citation/CS1/Configuration&amp;#039; .. sandbox)&lt;br /&gt;
&lt;br /&gt;
-- if cs1 config is set, return false, otherwise use supplied mode&lt;br /&gt;
-- this prevents putting articles into &amp;quot;overriden mode&amp;quot; tracking category&lt;br /&gt;
function p._main(mode)&lt;br /&gt;
	return not cfg.global_cs1_config_t[&amp;#039;Mode&amp;#039;] and mode&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
    return p._main(frame.args[1]) or &amp;quot;&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Pppery</name></author>
	</entry>
</feed>