For compliance with the new version of the table interface policy (T255803). This patch was created by an automated search & replace operation on the includes/ directory. Bug: T257789 Change-Id: I17e5e92e24c708ffc846945a136347670a3a20c7
24 lines
577 B
PHP
24 lines
577 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Hook;
|
|
|
|
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
|
|
use Article;
|
|
|
|
/**
|
|
* @stable to implement
|
|
* @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 );
|
|
}
|