MediaWiki  master
EditFormPreloadTextHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Title;
6 
21  public function onEditFormPreloadText( &$text, $title );
22 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\EditFormPreloadTextHook
Stable to implement.
Definition: EditFormPreloadTextHook.php:11
MediaWiki\Hook\EditFormPreloadTextHook\onEditFormPreloadText
onEditFormPreloadText(&$text, $title)
Use this hook to populate the edit form when creating pages.
$title
$title
Definition: testCompression.php:38
Title
Represents a title within MediaWiki.
Definition: Title.php:41