MediaWiki  master
ArticlePrepareTextForEditHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Storage\Hook;
4 
5 use ParserOptions;
6 use WikiPage;
7 
25  public function onArticlePrepareTextForEdit( $wikiPage, $popts );
26 }
Set options of the Parser.
Base representation for an editable wiki page.
Definition: WikiPage.php:77
This is a hook handler interface, see docs/Hooks.md.
onArticlePrepareTextForEdit( $wikiPage, $popts)
This hook is called when preparing text to be saved.