MediaWiki REL1_35
MediaWiki\Hook\UploadForm_getInitialPageTextHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\UploadForm_getInitialPageTextHook:

Public Member Functions

 onUploadForm_getInitialPageText (&$pageText, $msg, $config)
 This hook is called after the initial page text for file uploads is generated.
 

Detailed Description

Stable to implement.

Definition at line 12 of file UploadForm_getInitialPageTextHook.php.

Member Function Documentation

◆ onUploadForm_getInitialPageText()

MediaWiki\Hook\UploadForm_getInitialPageTextHook::onUploadForm_getInitialPageText ( $pageText,
  $msg,
  $config 
)

This hook is called after the initial page text for file uploads is generated.

It allows extensions to modify the initial page text.

Since
1.35
Parameters
string&$pageTextThe page text
string[]$msgArray of header messages
Config$config
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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