MediaWiki
master
ArticlePrepareTextForEditHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Storage\Hook
;
4
5
use
MediaWiki\Page\WikiPage
;
6
use
MediaWiki\Parser\ParserOptions
;
7
15
interface
ArticlePrepareTextForEditHook
{
25
public
function
onArticlePrepareTextForEdit
( $wikiPage, $popts );
26
}
MediaWiki\Page\WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:92
MediaWiki\Parser\ParserOptions
Set options of the Parser.
Definition
ParserOptions.php:63
MediaWiki\Storage\Hook\ArticlePrepareTextForEditHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ArticlePrepareTextForEditHook.php:15
MediaWiki\Storage\Hook\ArticlePrepareTextForEditHook\onArticlePrepareTextForEdit
onArticlePrepareTextForEdit( $wikiPage, $popts)
This hook is called when preparing text to be saved.
MediaWiki\Storage\Hook
Definition
ArticleEditUpdateNewTalkHook.php:3
includes
Storage
Hook
ArticlePrepareTextForEditHook.php
Generated on Sat Apr 5 2025 03:27:28 for MediaWiki by
1.10.0