<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nara.vindexcraft.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AEffective_protection_level%2Fdoc</id>
	<title>Module:Effective protection level/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nara.vindexcraft.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AEffective_protection_level%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://nara.vindexcraft.net/index.php?title=Module:Effective_protection_level/doc&amp;action=history"/>
	<updated>2026-10-09T10:58:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://nara.vindexcraft.net/index.php?title=Module:Effective_protection_level/doc&amp;diff=304&amp;oldid=prev</id>
		<title>Clarke: 1 revision imported: forgot this existed...</title>
		<link rel="alternate" type="text/html" href="https://nara.vindexcraft.net/index.php?title=Module:Effective_protection_level/doc&amp;diff=304&amp;oldid=prev"/>
		<updated>2023-04-19T19:03:55Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: forgot this existed...&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 14:03, 19 April 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>Clarke</name></author>
	</entry>
	<entry>
		<id>https://nara.vindexcraft.net/index.php?title=Module:Effective_protection_level/doc&amp;diff=303&amp;oldid=prev</id>
		<title>NARA&gt;Clump: Reverted edits by 189.237.102.151 (talk) to last version by Clump</title>
		<link rel="alternate" type="text/html" href="https://nara.vindexcraft.net/index.php?title=Module:Effective_protection_level/doc&amp;diff=303&amp;oldid=prev"/>
		<updated>2021-04-21T13:29:23Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/Special:Contributions/189.237.102.151&quot; title=&quot;Special:Contributions/189.237.102.151&quot;&gt;189.237.102.151&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:189.237.102.151&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:189.237.102.151 (page does not exist)&quot;&gt;talk&lt;/a&gt;) to last version by Clump&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|release}}&lt;br /&gt;
&lt;br /&gt;
This module provides a way to retrieve the group required to perform a given action on a page. It currently tests the following criteria:&lt;br /&gt;
* The page being in the MediaWiki namespace: sysop&lt;br /&gt;
* The page being a JavaScript or CSS subpage in userspace: interfaceadmin&lt;br /&gt;
* The page being a JSON subpage in userspace: sysop&lt;br /&gt;
* The page being protected: sysop or autoconfirmed&lt;br /&gt;
* The page being used in a cascading-protected page: sysop&lt;br /&gt;
* The page&amp;#039;s title matching the titleblacklist: sysop or autoconfirmed&lt;br /&gt;
* A file being moved: sysop&lt;br /&gt;
* A page being moved: autoconfirmed&lt;br /&gt;
* A file being uploaded: uploader&lt;br /&gt;
* Anything else: *&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning:&amp;#039;&amp;#039;&amp;#039; This module will use up to 4 expensive parser function calls each time it is ran. It should only be used if the exact effective protection level is necessary. Otherwise, consider using title.protectionLevels instead.&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 effectiveProtectionLevel = require(&amp;#039;Module:Effective protection level&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. The return value is a string containing the name of the group required to perform the given action.&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;
 {{&amp;lt;nowiki/&amp;gt;#invoke:Effective protection level|&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 expiry]]&lt;/div&gt;</summary>
		<author><name>NARA&gt;Clump</name></author>
	</entry>
</feed>