MediaWiki  master
CustomEditorHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Article;
7 
15 interface CustomEditorHook {
26  public function onCustomEditor( $article, $user );
27 }
Legacy class representing an editable page and handling UI for some page actions.
Definition: Article.php:61
internal since 1.36
Definition: User.php:98
This is a hook handler interface, see docs/Hooks.md.
onCustomEditor( $article, $user)
This hook is called when invoking the page editor.