MediaWiki  master
EditFilterHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use EditPage;
6 
14 interface EditFilterHook {
27  public function onEditFilter( $editor, $text, $section, &$error, $summary );
28 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\EditFilterHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditFilterHook.php:14
EditPage
The edit page/HTML interface (split from Article) The actual database and text munging is still in Ar...
Definition: EditPage.php:88
MediaWiki\Hook\EditFilterHook\onEditFilter
onEditFilter( $editor, $text, $section, &$error, $summary)
Use this hook to perform checks on an edit.