<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://arbundi.eu/index.php?action=history&amp;feed=atom&amp;title=Module%3AEffective_protection_expiry%2Fdoc</id>
	<title>Module:Effective protection expiry/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://arbundi.eu/index.php?action=history&amp;feed=atom&amp;title=Module%3AEffective_protection_expiry%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://arbundi.eu/index.php?title=Module:Effective_protection_expiry/doc&amp;action=history"/>
	<updated>2026-05-02T01:50:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://arbundi.eu/index.php?title=Module:Effective_protection_expiry/doc&amp;diff=1200&amp;oldid=prev</id>
		<title>Arbundi: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://arbundi.eu/index.php?title=Module:Effective_protection_expiry/doc&amp;diff=1200&amp;oldid=prev"/>
		<updated>2023-08-06T00:10:50Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:10, 6 August 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&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>Arbundi</name></author>
	</entry>
	<entry>
		<id>https://arbundi.eu/index.php?title=Module:Effective_protection_expiry/doc&amp;diff=1199&amp;oldid=prev</id>
		<title>wikipedia&gt;LilianaUwU: Reverted edits by 2806:2F0:A500:EE45:A532:BFF7:F7B4:8CD (talk) to last version by Adakiko</title>
		<link rel="alternate" type="text/html" href="https://arbundi.eu/index.php?title=Module:Effective_protection_expiry/doc&amp;diff=1199&amp;oldid=prev"/>
		<updated>2023-02-17T07:31:16Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/index.php?title=Special:Contributions/2806:2F0:A500:EE45:A532:BFF7:F7B4:8CD&quot; title=&quot;Special:Contributions/2806:2F0:A500:EE45:A532:BFF7:F7B4:8CD&quot;&gt;2806:2F0:A500:EE45:A532:BFF7:F7B4:8CD&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:2806:2F0:A500:EE45:A532:BFF7:F7B4:8CD&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:2806:2F0:A500:EE45:A532:BFF7:F7B4:8CD (page does not exist)&quot;&gt;talk&lt;/a&gt;) to last version by Adakiko&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&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(&amp;#039;Module:Effective protection expiry&amp;#039;)._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 &amp;#039;infinity&amp;#039;. 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|&amp;#039;&amp;#039;action&amp;#039;&amp;#039;|&amp;#039;&amp;#039;title&amp;#039;&amp;#039;}}&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>wikipedia&gt;LilianaUwU</name></author>
	</entry>
</feed>