<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fa">
	<id>https://fa.wikinoor.ir/w/index.php?action=history&amp;feed=atom&amp;title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86%3AEffective_protection_expiry%2Fdoc</id>
	<title>پودمان:Effective protection expiry/doc - تاریخچهٔ نسخه‌ها</title>
	<link rel="self" type="application/atom+xml" href="https://fa.wikinoor.ir/w/index.php?action=history&amp;feed=atom&amp;title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86%3AEffective_protection_expiry%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://fa.wikinoor.ir/w/index.php?title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86:Effective_protection_expiry/doc&amp;action=history"/>
	<updated>2026-06-17T17:51:32Z</updated>
	<subtitle>تاریخچهٔ نسخه‌ها برای این صفحه در ویکی</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>https://fa.wikinoor.ir/w/index.php?title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86:Effective_protection_expiry/doc&amp;diff=614268&amp;oldid=prev</id>
		<title>Wikinoor.ir: ۱ نسخه واردشده</title>
		<link rel="alternate" type="text/html" href="https://fa.wikinoor.ir/w/index.php?title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86:Effective_protection_expiry/doc&amp;diff=614268&amp;oldid=prev"/>
		<updated>2022-11-15T14:19:06Z</updated>

		<summary type="html">&lt;p&gt;۱ نسخه واردشده&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;fa&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;→ نسخهٔ قدیمی‌تر&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;نسخهٔ ‏۱۵ نوامبر ۲۰۲۲، ساعت ۱۷:۴۹&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key fawiki:diff::1.12:old-614267:rev-614268 --&gt;
&lt;/table&gt;</summary>
		<author><name>Wikinoor.ir</name></author>
	</entry>
	<entry>
		<id>https://fa.wikinoor.ir/w/index.php?title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86:Effective_protection_expiry/doc&amp;diff=614267&amp;oldid=prev</id>
		<title>fa&gt;Wikinoor.ir: Reverted edits by 2600:387:B:9A2:0:0:0:22 (talk): page blanking (HG) (3.4.10)</title>
		<link rel="alternate" type="text/html" href="https://fa.wikinoor.ir/w/index.php?title=%D9%BE%D9%88%D8%AF%D9%85%D8%A7%D9%86:Effective_protection_expiry/doc&amp;diff=614267&amp;oldid=prev"/>
		<updated>2021-11-20T04:20:30Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/wiki/%D9%88%DB%8C%DA%98%D9%87:%D9%85%D8%B4%D8%A7%D8%B1%DA%A9%D8%AA%E2%80%8C%D9%87%D8%A7/2600:387:B:9A2:0:0:0:22&quot; title=&quot;ویژه:مشارکت‌ها/2600:387:B:9A2:0:0:0:22&quot;&gt;2600:387:B:9A2:0:0:0:22&lt;/a&gt; (&lt;a href=&quot;/w/index.php?title=%D8%A8%D8%AD%D8%AB_%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1:2600:387:B:9A2:0:0:0:22&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;بحث کاربر:2600:387:B:9A2:0:0:0:22 (صفحه وجود ندارد)&quot;&gt;talk&lt;/a&gt;): page blanking (&lt;a href=&quot;/w/index.php?title=WP:HG&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:HG (صفحه وجود ندارد)&quot;&gt;HG&lt;/a&gt;) (3.4.10)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحهٔ تازه&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating |protected &amp;lt;!-- Values:  pre-alpha • alpha • beta • release • protected  --  If a rating not needed/relevant, delete this template call --&amp;gt;}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This module provides a way to retrieve the expiry of a restriction over a given action on a page.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This module will use up to 1 expensive parser function call each time it is ran. It will not use any if [[Module:Effective protection level]] was already called.&lt;br /&gt;
&lt;br /&gt;
=== From other modules ===&lt;br /&gt;
To load this module:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local effectiveProtectionExpiry = require('Module:Effective protection expiry')._main&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The function accepts two parameters. The first is a string containing the action to check, which must be one of &amp;quot;edit&amp;quot;, &amp;quot;create&amp;quot;, &amp;quot;move&amp;quot;, &amp;quot;upload&amp;quot;, or &amp;quot;autoreview&amp;quot;. The second is optional, and can either be the name of the page to check, or a title returned from the mw.title functions. If the second parameter is omitted, the page being displayed is the one checked against.&lt;br /&gt;
&lt;br /&gt;
The return value is either a date string in &amp;lt;code&amp;gt;YY-MM-DDThh:mm:ss&amp;lt;/code&amp;gt; format, or one of the following strings:&lt;br /&gt;
* &amp;lt;code&amp;gt;infinity&amp;lt;/code&amp;gt; - for pages protected indefinitely, or pages which exist and are not protected&lt;br /&gt;
* &amp;lt;code&amp;gt;unknown&amp;lt;/code&amp;gt; - for pages where the expiry is unknown,  or pages which do not exist and are not protected&lt;br /&gt;
&lt;br /&gt;
Note that if an existing page is not protected for the requested action, this will return 'infinity'. You need to check separately with [[Module:Effective protection level]].&lt;br /&gt;
&lt;br /&gt;
=== From wikitext ===&lt;br /&gt;
The parameters are the same as when it is called directly.&lt;br /&gt;
 {{tlinv|Effective protection expiry|''action''|''title''}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Module:Effective protection level]]&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>fa&gt;Wikinoor.ir</name></author>
	</entry>
</feed>