MediaWiki  master
MediaWiki\Hook\EditPage__showReadOnlyForm_initialHook Interface Reference

Stable for implementation. More...

Inheritance diagram for MediaWiki\Hook\EditPage__showReadOnlyForm_initialHook:

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. More...
 

Detailed Description

Stable for implementation.

Definition at line 13 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: