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,
  $popts 
)

This hook is called when preparing text to be saved.

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