<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="hu">
	<id>https://wikisfiam.kristofgonczo.dev/index.php?action=history&amp;feed=atom&amp;title=Modul%3AEffective_protection_expiry</id>
	<title>Modul:Effective protection expiry - Laptörténet</title>
	<link rel="self" type="application/atom+xml" href="https://wikisfiam.kristofgonczo.dev/index.php?action=history&amp;feed=atom&amp;title=Modul%3AEffective_protection_expiry"/>
	<link rel="alternate" type="text/html" href="https://wikisfiam.kristofgonczo.dev/index.php?title=Modul:Effective_protection_expiry&amp;action=history"/>
	<updated>2026-04-04T16:01:05Z</updated>
	<subtitle>Az oldal laptörténete a wikiben</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wikisfiam.kristofgonczo.dev/index.php?title=Modul:Effective_protection_expiry&amp;diff=77&amp;oldid=prev</id>
		<title>KristofAdmin: 1 változat importálva</title>
		<link rel="alternate" type="text/html" href="https://wikisfiam.kristofgonczo.dev/index.php?title=Modul:Effective_protection_expiry&amp;diff=77&amp;oldid=prev"/>
		<updated>2024-01-08T19:44:24Z</updated>

		<summary type="html">&lt;p&gt;1 változat importálva&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;hu&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Régebbi változat&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;A lap 2024. január 8., 19:44-kori változata&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;hu&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Nincs különbség)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff:1.41:old-76:rev-77 --&gt;
&lt;/table&gt;</summary>
		<author><name>KristofAdmin</name></author>
	</entry>
	<entry>
		<id>https://wikisfiam.kristofgonczo.dev/index.php?title=Modul:Effective_protection_expiry&amp;diff=76&amp;oldid=prev</id>
		<title>wikipedia&gt;Xaosflux: Changed protection settings for &quot;Module:Effective protection expiry&quot;: used in the mediawiki interface / match Module:Effective protection level ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://wikisfiam.kristofgonczo.dev/index.php?title=Modul:Effective_protection_expiry&amp;diff=76&amp;oldid=prev"/>
		<updated>2022-02-23T10:59:29Z</updated>

		<summary type="html">&lt;p&gt;Changed protection settings for &amp;quot;&lt;a href=&quot;/index.php/Modul:Effective_protection_expiry&quot; title=&quot;Modul:Effective protection expiry&quot;&gt;Module:Effective protection expiry&lt;/a&gt;&amp;quot;: used in the mediawiki interface / match &lt;a href=&quot;/index.php/Modul:Effective_protection_level&quot; title=&quot;Modul:Effective protection level&quot;&gt;Module:Effective protection level&lt;/a&gt; ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Új lap&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>wikipedia&gt;Xaosflux</name></author>
	</entry>
</feed>