<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compusofia.com/w/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://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AEffective_protection_level%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Module:Effective_protection_level/doc&amp;action=history"/>
	<updated>2026-04-23T17:44:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Module:Effective_protection_level/doc&amp;diff=280&amp;oldid=prev</id>
		<title>Majestix: 1 revision imported: Initial Setup</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Module:Effective_protection_level/doc&amp;diff=280&amp;oldid=prev"/>
		<updated>2026-04-06T09:48:41Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: Initial Setup&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:48, 6 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&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;!-- diff cache key wikiNonStop:diff:1.41:old-279:rev-280 --&gt;
&lt;/table&gt;</summary>
		<author><name>Majestix</name></author>
	</entry>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Module:Effective_protection_level/doc&amp;diff=279&amp;oldid=prev</id>
		<title>en&gt;Clump: Reverted edits by ~2026-11410-05 (talk) to last version by Clump</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Module:Effective_protection_level/doc&amp;diff=279&amp;oldid=prev"/>
		<updated>2026-02-20T19:36:31Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/wiki/Special:Contributions/~2026-11410-05&quot; title=&quot;Special:Contributions/~2026-11410-05&quot;&gt;~2026-11410-05&lt;/a&gt; (&lt;a href=&quot;/w/index.php?title=User_talk:~2026-11410-05&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:~2026-11410-05 (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>en&gt;Clump</name></author>
	</entry>
</feed>