Module:Effective protection expiry/doc: Difference between revisions

Content deleted Content added
update date format and fix return value descriptions
Line 18:
* <code>infinity</code> - for pages protected indefinitely
* <code>unknown</code> - for pages which are not protected or where the expiry is unknown
 
It is not yet possible to retrieve the expiry for pending changes protection ("autoreview" action), so it returns 'unknown' in that case.
 
Note that if the page is not protected for the requested action, this will return 'infinity'. You need to check separately with [[Module:Effective protection level]].