<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.slipshine.net/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AEffective_protection_expiry</id>
		<title>Module:Effective protection expiry - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.slipshine.net/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AEffective_protection_expiry"/>
		<link rel="alternate" type="text/html" href="http://wiki.slipshine.net/w/index.php?title=Module:Effective_protection_expiry&amp;action=history"/>
		<updated>2026-04-19T14:58:10Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://wiki.slipshine.net/w/index.php?title=Module:Effective_protection_expiry&amp;diff=88&amp;oldid=prev</id>
		<title>SuperHappy: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.slipshine.net/w/index.php?title=Module:Effective_protection_expiry&amp;diff=88&amp;oldid=prev"/>
				<updated>2016-01-30T14:00:35Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:00, 30 January 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>SuperHappy</name></author>	</entry>

	<entry>
		<id>http://wiki.slipshine.net/w/index.php?title=Module:Effective_protection_expiry&amp;diff=87&amp;oldid=prev</id>
		<title>Cenarium: handles special pages</title>
		<link rel="alternate" type="text/html" href="http://wiki.slipshine.net/w/index.php?title=Module:Effective_protection_expiry&amp;diff=87&amp;oldid=prev"/>
				<updated>2015-12-13T20:15:13Z</updated>
		
		<summary type="html">&lt;p&gt;handles special pages&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
-- Returns the expiry of a restriction of an action on a given title, or unknown if it cannot be known.&lt;br /&gt;
-- If no title is specified, the title of the page being displayed is used.&lt;br /&gt;
function p._main(action, pagename)&lt;br /&gt;
	local title&lt;br /&gt;
	if type(pagename) == 'table' and pagename.prefixedText then&lt;br /&gt;
		title = pagename&lt;br /&gt;
	elseif pagename then&lt;br /&gt;
		title = mw.title.new(pagename)&lt;br /&gt;
	else&lt;br /&gt;
		title = mw.title.getCurrentTitle()&lt;br /&gt;
	end&lt;br /&gt;
	pagename = title.prefixedText&lt;br /&gt;
	if action == 'autoreview' then&lt;br /&gt;
		return 'unknown'&lt;br /&gt;
	elseif action ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' then&lt;br /&gt;
		error( 'First parameter must be one of edit, move, create, upload, autoreview', 2 )&lt;br /&gt;
	end&lt;br /&gt;
	local rawExpiry = mw.getCurrentFrame():callParserFunction('PROTECTIONEXPIRY', action, pagename)&lt;br /&gt;
	if rawExpiry == 'infinity' then&lt;br /&gt;
		return 'infinity'&lt;br /&gt;
	elseif rawExpiry == '' then&lt;br /&gt;
		return 'unknown'&lt;br /&gt;
	else&lt;br /&gt;
		local year = mw.ustring.sub( rawExpiry, 1, 4 )&lt;br /&gt;
		local month = mw.ustring.sub( rawExpiry, 5, 6 )&lt;br /&gt;
		local day = mw.ustring.sub( rawExpiry, 7, 8 )&lt;br /&gt;
		return year .. '-' .. month .. '-' .. day&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
setmetatable(p, { __index = function(t, k)&lt;br /&gt;
	return function(frame)&lt;br /&gt;
		return t._main(k, frame.args[1])&lt;br /&gt;
	end&lt;br /&gt;
end })&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Cenarium</name></author>	</entry>

	</feed>