MediaWiki
REL1_35
ProtectionForm__saveHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6
use
Article
;
7
12
interface
ProtectionForm__saveHook
{
24
public
function
onProtectionForm__save
( $article, &$errorMsg, $reasonstr );
25
}
Article
Class for viewing MediaWiki article and history.
Definition
Article.php:46
MediaWiki\Hook\ProtectionForm__saveHook
Stable to implement.
Definition
ProtectionForm__saveHook.php:12
MediaWiki\Hook\ProtectionForm__saveHook\onProtectionForm__save
onProtectionForm__save( $article, &$errorMsg, $reasonstr)
This hook is called when a protection form is submitted.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
ProtectionForm__saveHook.php
Generated on Sat Apr 6 2024 00:07:13 for MediaWiki by
1.9.8