MediaWiki
REL1_40
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
15
interface
ProtectionForm__saveHook
{
27
public
function
onProtectionForm__save
( $article, &$errorMsg, $reasonstr );
28
}
Article
Legacy class representing an editable page and handling UI for some page actions.
Definition
Article.php:56
MediaWiki\Hook\ProtectionForm__saveHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ProtectionForm__saveHook.php:15
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 Thu Jun 27 2024 14:02:51 for MediaWiki by
1.10.0