MediaWiki
REL1_39
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:56
ParserOptions
Set options of the Parser.
Definition
ParserOptions.php:46
Title
Represents a title within MediaWiki.
Definition
Title.php:49
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 Mon Dec 2 2024 06:22:39 for MediaWiki by
1.10.0