Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1:
{{Module rating |protected <!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/
<!-- Please place
This mpage.
== Usage ==
Line 10:
To load this module:
<syntaxhighlight lang="lua">
local effectiveProtectionExpiry = require('Module:Effective
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 returnw.title functions. If the sec▼
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]].▼
▲The
* <cst and are n
▲Note that if an existing page is not protected for the requested action, this
== See also ==
* [[Module:Effective protection level]]
|