MediaWiki REL1_39
EditFilterHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use EditPage;
6
14interface EditFilterHook {
27 public function onEditFilter( $editor, $text, $section, &$error, $summary );
28}
The edit page/HTML interface (split from Article) The actual database and text munging is still in Ar...
Definition EditPage.php:103
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.