Page MenuHomeWickedGov Phorge

FilterPageTitlesForEditHook.php
No OneTemporary

Size
707 B
Referenced Files
None
Subscribers
None

FilterPageTitlesForEditHook.php

<?php
namespace MediaWiki\Extension\ReplaceText\Hooks;
use MediaWiki\Title\Title;
/**
* This is a hook handler interface, see docs/Hooks.md in core.
* Use the hook name "ReplaceTextFilterPageTitlesForEdit" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface FilterPageTitlesForEditHook {
/**
* Provides other extension the ability to avoid editing content on pages based on their titles.
*
* @param Title[] &$filteredTitles Array of page titles whose content will be edited
* @return bool|void True or no return value to continue or false to abort
*/
public function onReplaceTextFilterPageTitlesForEdit( array &$filteredTitles );
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Aug 18, 15:14 (3 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6d/af/08557a882025933e71b65517e848
Default Alt Text
FilterPageTitlesForEditHook.php (707 B)

Event Timeline