MediaWiki  master
ApiMakeParserOptionsHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Api\Hook;
4 
5 use ApiBase;
6 use ParserOptions;
7 use Title;
8 use Wikimedia\ScopedCallback;
9 
33  public function onApiMakeParserOptions( $options, $title, $params, $module,
34  &$reset, &$suppressCache
35  );
36 }
This abstract class implements many basic API functions, and is the base of all API classes.
Definition: ApiBase.php:56
Set options of the Parser.
Represents a title within MediaWiki.
Definition: Title.php:49
This is a hook handler interface, see docs/Hooks.md.
onApiMakeParserOptions( $options, $title, $params, $module, &$reset, &$suppressCache)
This hook is called from ApiParse and ApiExpandTemplates to allow extensions to adjust the ParserOpti...