MediaWiki  master
EditFilterHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
6 
14 interface EditFilterHook {
27  public function onEditFilter( $editor, $text, $section, &$error, $summary );
28 }
The HTML user interface for page editing.
Definition: EditPage.php:146
This is a hook handler interface, see docs/Hooks.md.
onEditFilter( $editor, $text, $section, &$error, $summary)
Use this hook to perform checks on an edit.