MediaWiki master
MediaWiki\Hook\EditPage__showReadOnlyForm_initialHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onEditPage__showReadOnlyForm_initial ( $editor, $out)
 This hook is similar to EditPage::showEditForm:initial but for the read-only 'view source' variant of the edit form.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "EditPage::showReadOnlyForm:initial" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 16 of file EditPage__showReadOnlyForm_initialHook.php.

Member Function Documentation

◆ onEditPage__showReadOnlyForm_initial()

MediaWiki\Hook\EditPage__showReadOnlyForm_initialHook::onEditPage__showReadOnlyForm_initial ( $editor,
$out )

This hook is similar to EditPage::showEditForm:initial but for the read-only 'view source' variant of the edit form.

Since
1.35
Parameters
EditPage$editor
OutputPage$outOutputPage instance to write to
Returns
bool|void Return value is ignored; this hook should always return true

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: