MediaWiki
REL1_35
CustomEditorHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
Article
;
6
use
User
;
7
12
interface
CustomEditorHook
{
23
public
function
onCustomEditor
( $article, $user );
24
}
Article
Class for viewing MediaWiki article and history.
Definition
Article.php:46
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
MediaWiki\Hook\CustomEditorHook
Stable to implement.
Definition
CustomEditorHook.php:12
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 Sat Apr 6 2024 00:06:48 for MediaWiki by
1.9.8