MediaWiki master
ApiMakeParserOptionsHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Api\Hook;
4
5use ApiBase;
8use Wikimedia\ScopedCallback;
9
33 public function onApiMakeParserOptions( $options, $title, $params, $module,
34 &$reset, &$suppressCache
35 );
36}
array $params
The job parameters.
This abstract class implements many basic API functions, and is the base of all API classes.
Definition ApiBase.php:64
Represents a title within MediaWiki.
Definition Title.php:78
Set options of the Parser.
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...