MediaWiki  master
MediaWiki\Storage\Hook\ArticlePrepareTextForEditHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Storage\Hook\ArticlePrepareTextForEditHook:

Public Member Functions

 onArticlePrepareTextForEdit ( $wikiPage, $popts)
 This hook is called when preparing text to be saved. More...

Detailed Description

Stable to implement.

Definition at line 12 of file ArticlePrepareTextForEditHook.php.

Member Function Documentation

◆ onArticlePrepareTextForEdit()

MediaWiki\Storage\Hook\ArticlePrepareTextForEditHook::onArticlePrepareTextForEdit (   $wikiPage,

This hook is called when preparing text to be saved.

WikiPage$wikiPageWikiPage being saved
ParserOptions$poptsParser options to be used for pre-save transformation
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: