Occurs after the protect article request has been processed
- See also
- https://www.mediawiki.org/wiki/Manual:Hooks/ArticleProtectComplete
GNU GPL v2+
- Since
- 2.5
- Author
- mwjames
◆ __construct()
SMW\MediaWiki\Hooks\ArticleProtectComplete::__construct |
( |
Title |
$title, |
|
|
EditInfo |
$editInfo |
|
) |
| |
◆ process()
SMW\MediaWiki\Hooks\ArticleProtectComplete::process |
( |
|
$protections, |
|
|
|
$reason |
|
) |
| |
- Since
- 2.5
- Parameters
-
array | $protections | |
string | $reason | |
◆ RESTRICTED_UPDATE
const SMW\MediaWiki\Hooks\ArticleProtectComplete::RESTRICTED_UPDATE = 'articleprotectcomplete.restricted.update' |
Whether the update should be restricted or not. Which means that when no other change is required then categorize the update as restricted to avoid unnecessary cascading updates.
The documentation for this class was generated from the following file:
- ArticleProtectComplete.php