MediaWiki REL1_37
CustomEditorHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use Article;
6use User;
7
26 public function onCustomEditor( $article, $user );
27}
Class for viewing MediaWiki article and history.
Definition Article.php:49
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:69
This is a hook handler interface, see docs/Hooks.md.
onCustomEditor( $article, $user)
This hook is called when invoking the page editor.