MediaWiki master
EditFormPreloadTextHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use MediaWiki\Title\Title;
6
24 public function onEditFormPreloadText( &$text, $title );
25}
This is a hook handler interface, see docs/Hooks.md.
onEditFormPreloadText(&$text, $title)
Use this hook to populate the edit form when creating pages.