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