Content deleted Content added
m Reverted edits by 154.222.5.227 (talk): unexplained content removal (HG) (3.4.10) |
No edit summary Tag: Reverted |
||
Line 1:
{{Module rating |protected <!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}}
<!-- Please place categories where indicated at the bottom of this page and
This module provides a way to retrieve the expiry of a restriction
== Usage ==
This module will use up to 1 expensive parser function call each time it is ran. It will not use any if [[Module:Effective
=== From other modules ===
Line 13:
</syntaxhighlight>
The function accepts two parameters. The first is a string containing the action to check, which must be one of "edit", "create", "move", "upload", or "autoreview". The second is optional, and can either be the name of the page to check, or a title
* <code>infinity</code> - for pages protected
▲* <code>infinity</code> - for pages protected indefinitely, or pages which exist and are not protected
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]].
|