Page MenuHomeWickedGov Phorge

EditPageNoSuchSectionHook.php
No OneTemporary

Size
674 B
Referenced Files
None
Subscribers
None

EditPageNoSuchSectionHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\EditPage\EditPage;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "EditPageNoSuchSection" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface EditPageNoSuchSectionHook {
/**
* This hook is called when a section edit request is given for a non-existent section.
*
* @since 1.35
*
* @param EditPage $editpage Current EditPage object
* @param string &$res HTML of the error text
* @return bool|void True or no return value to continue or false to abort
*/
public function onEditPageNoSuchSection( $editpage, &$res );
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 22, 01:43 (1 d, 15 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
52/f6/efbe883fc2c366e6e813f34b4754
Default Alt Text
EditPageNoSuchSectionHook.php (674 B)

Event Timeline