<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://130.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AEffective_protection_level%2Fdoc</id>
	<title>Module:Effective protection level/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://130.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AEffective_protection_level%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://130.wiki/index.php?title=Module:Effective_protection_level/doc&amp;action=history"/>
	<updated>2026-10-14T03:31:15Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://130.wiki/index.php?title=Module:Effective_protection_level/doc&amp;diff=3229&amp;oldid=prev</id>
		<title>IdleTap-bot：​导入自求闻百科</title>
		<link rel="alternate" type="text/html" href="https://130.wiki/index.php?title=Module:Effective_protection_level/doc&amp;diff=3229&amp;oldid=prev"/>
		<updated>2026-08-03T08:49:38Z</updated>

		<summary type="html">&lt;p&gt;导入自求闻百科&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|protected}}&lt;br /&gt;
{{used in system}}&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;
* 在MediaWiki命名空間：sysop&lt;br /&gt;
* 全站/使用者的JavaScript/CSS頁：interfaceadmin&lt;br /&gt;
* 全站/使用者的JSON頁：sysop&lt;br /&gt;
* 被保護頁面：steward、revisionprotected、sysop、templateeditor或autoconfirmed&lt;br /&gt;
* 被連鎖保護頁面：sysop&lt;br /&gt;
* 符合標題黑名單：steward或autoconfirmed&lt;br /&gt;
* 移動檔案：autoconfirmed&lt;br /&gt;
* 移動頁面或上傳檔案：autoconfirmed&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;
 {{tlinv|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;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- 本行下加入模組的分類 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>IdleTap-bot</name></author>
	</entry>
</feed>