Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1431725
ProtectionForm__buildFormHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
785 B
Referenced Files
None
Subscribers
None
ProtectionForm__buildFormHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
use
MediaWiki\Page\Article
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ProtectionForm::buildForm" to register handlers implementing this interface.
*
* @deprecated since 1.36, use ProtectionFormAddFormFields
* @ingroup Hooks
*/
interface
ProtectionForm__buildFormHook
{
/**
* This hook is called after all protection type fieldsets are made
* in the form.
*
* @since 1.35
*
* @param Article $article Title being (un)protected
* @param string &$output String of the form HTML so far
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onProtectionForm__buildForm
(
$article
,
&
$output
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 21:00 (1 d, 16 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e0/c7/f04a70d817196ad4b9d1e1de6690
Default Alt Text
ProtectionForm__buildFormHook.php (785 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment