MediaWiki REL1_39
ProtectionForm__saveHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6use Article;
7
27 public function onProtectionForm__save( $article, &$errorMsg, $reasonstr );
28}
Legacy class representing an editable page and handling UI for some page actions.
Definition Article.php:48
This is a hook handler interface, see docs/Hooks.md.
onProtectionForm__save( $article, &$errorMsg, $reasonstr)
This hook is called when a protection form is submitted.