MediaWiki  master
Go to the documentation of this file.
1 <?php
3 namespace MediaWiki\Api\Hook;
5 use ApiBase;
6 use ParserOptions;
7 use Title;
8 use Wikimedia\ScopedCallback;
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:48
This is a hook handler interface, see docs/
onApiMakeParserOptions( $options, $title, $params, $module, &$reset, &$suppressCache)
This hook is called from ApiParse and ApiExpandTemplates to allow extensions to adjust the ParserOpti...