MediaWiki master
ArticleProtectHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
7
27 public function onArticleProtect( $wikiPage, $user, $protect, $reason );
28}
Base representation for an editable wiki page.
Definition WikiPage.php:92
User class for the MediaWiki software.
Definition User.php:120
This is a hook handler interface, see docs/Hooks.md.
onArticleProtect( $wikiPage, $user, $protect, $reason)
This hook is called before an article is protected.

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant