<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ta">
	<id>https://wiki2.tamilar.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AEffective_protection_expiry</id>
	<title>Module:Effective protection expiry - திருத்த வரலாறு</title>
	<link rel="self" type="application/atom+xml" href="https://wiki2.tamilar.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AEffective_protection_expiry"/>
	<link rel="alternate" type="text/html" href="https://wiki2.tamilar.wiki/w/index.php?title=Module:Effective_protection_expiry&amp;action=history"/>
	<updated>2026-06-02T04:24:32Z</updated>
	<subtitle>விக்கியில் இப்பக்கத்துக்கான திருத்த வரலாறு</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki2.tamilar.wiki/w/index.php?title=Module:Effective_protection_expiry&amp;diff=94216&amp;oldid=prev</id>
		<title>imported&gt;Sukanthi: &quot;local p = {}  -- Returns the expiry of a restriction of an action on a given title, or unknown if it cannot be known. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) 	local title 	if type(pagename) == &#039;table&#039; and pagename.prefixedText then 		title = pagename 	elseif pagename then 		title = mw.title.new...&quot;-இப்பெயரில் புதிய பக்கம் உருவாக்கப்பட்டுள்ளது</title>
		<link rel="alternate" type="text/html" href="https://wiki2.tamilar.wiki/w/index.php?title=Module:Effective_protection_expiry&amp;diff=94216&amp;oldid=prev"/>
		<updated>2024-04-03T07:02:31Z</updated>

		<summary type="html">&lt;p&gt;&amp;quot;local p = {}  -- Returns the expiry of a restriction of an action on a given title, or unknown if it cannot be known. -- If no title is specified, the title of the page being displayed is used. function p._main(action, pagename) 	local title 	if type(pagename) == &amp;#039;table&amp;#039; and pagename.prefixedText then 		title = pagename 	elseif pagename then 		title = mw.title.new...&amp;quot;-இப்பெயரில் புதிய பக்கம் உருவாக்கப்பட்டுள்ளது&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ta&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← பழைய திருத்தம்&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;07:02, 3 ஏப்பிரல் 2024 இல் நிலவும் திருத்தம்&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ta&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(வேறுபாடு ஏதுமில்லை)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;Sukanthi</name></author>
	</entry>
	<entry>
		<id>https://wiki2.tamilar.wiki/w/index.php?title=Module:Effective_protection_expiry&amp;diff=226747&amp;oldid=prev</id>
		<title>imported&gt;Info-farmer: :en:Module:Effective_protection_expiry இலிருந்து திருத்தங்கள் இறக்குமதி செய்யப்பட்டன: மல்லிகைப் பேரின சிற்றினத்திற்காக இதனைப் பதிவிறக்குகிறேன்</title>
		<link rel="alternate" type="text/html" href="https://wiki2.tamilar.wiki/w/index.php?title=Module:Effective_protection_expiry&amp;diff=226747&amp;oldid=prev"/>
		<updated>2023-09-23T17:55:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Module:Effective_protection_expiry&quot; class=&quot;extiw&quot; title=&quot;en:Module:Effective protection expiry&quot;&gt;en:Module:Effective_protection_expiry&lt;/a&gt; இலிருந்து திருத்தங்கள் இறக்குமதி செய்யப்பட்டன: மல்லிகைப் பேரின சிற்றினத்திற்காக இதனைப் பதிவிறக்குகிறேன்&lt;/p&gt;
&lt;p&gt;&lt;b&gt;புதிய பக்கம்&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) == &amp;#039;table&amp;#039; 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 == &amp;#039;autoreview&amp;#039; then&lt;br /&gt;
		local stabilitySettings = mw.ext.FlaggedRevs.getStabilitySettings(title)&lt;br /&gt;
		return stabilitySettings and stabilitySettings.expiry or &amp;#039;unknown&amp;#039;&lt;br /&gt;
	elseif action ~= &amp;#039;edit&amp;#039; and action ~= &amp;#039;move&amp;#039; and action ~= &amp;#039;create&amp;#039; and action ~= &amp;#039;upload&amp;#039; then&lt;br /&gt;
		error( &amp;#039;First parameter must be one of edit, move, create, upload, autoreview&amp;#039;, 2 )&lt;br /&gt;
	end&lt;br /&gt;
	local rawExpiry = mw.getCurrentFrame():callParserFunction(&amp;#039;PROTECTIONEXPIRY&amp;#039;, action, pagename)&lt;br /&gt;
	if rawExpiry == &amp;#039;infinity&amp;#039; then&lt;br /&gt;
		return &amp;#039;infinity&amp;#039;&lt;br /&gt;
	elseif rawExpiry == &amp;#039;&amp;#039; then&lt;br /&gt;
		return &amp;#039;unknown&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
		local year, month, day, hour, minute, second = rawExpiry:match(&lt;br /&gt;
			&amp;#039;^(%d%d%d%d)(%d%d)(%d%d)(%d%d)(%d%d)(%d%d)$&amp;#039;&lt;br /&gt;
		)&lt;br /&gt;
		if year then&lt;br /&gt;
			return string.format(&lt;br /&gt;
				&amp;#039;%s-%s-%sT%s:%s:%s&amp;#039;,&lt;br /&gt;
				year, month, day, hour, minute, second&lt;br /&gt;
			)&lt;br /&gt;
		else&lt;br /&gt;
			error(&amp;#039;internal error in Module:Effective protection expiry; malformed expiry timestamp&amp;#039;)&lt;br /&gt;
		end&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>imported&gt;Info-farmer</name></author>
	</entry>
</feed>