MediaWiki
REL1_37
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
17
interface
ApiMakeParserOptionsHook
{
33
public
function
onApiMakeParserOptions
( $options,
$title
, $params, $module,
34
&$reset, &$suppressCache
35
);
36
}
ApiBase
This abstract class implements many basic API functions, and is the base of all API classes.
Definition
ApiBase.php:55
ParserOptions
Set options of the Parser.
Definition
ParserOptions.php:45
Title
Represents a title within MediaWiki.
Definition
Title.php:48
MediaWiki\Api\Hook\ApiMakeParserOptionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ApiMakeParserOptionsHook.php:17
MediaWiki\Api\Hook\ApiMakeParserOptionsHook\onApiMakeParserOptions
onApiMakeParserOptions( $options, $title, $params, $module, &$reset, &$suppressCache)
This hook is called from ApiParse and ApiExpandTemplates to allow extensions to adjust the ParserOpti...
MediaWiki\Api\Hook
Definition
APIAfterExecuteHook.php:3
$title
$title
Definition
testCompression.php:38
includes
api
Hook
ApiMakeParserOptionsHook.php
Generated on Fri Apr 5 2024 23:40:02 for MediaWiki by
1.9.8