MediaWiki
REL1_35
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
14
interface
ApiMakeParserOptionsHook
{
30
public
function
onApiMakeParserOptions
( $options,
$title
, $params, $module,
31
&$reset, &$suppressCache
32
);
33
}
ApiBase
This abstract class implements many basic API functions, and is the base of all API classes.
Definition
ApiBase.php:52
ParserOptions
Set options of the Parser.
Definition
ParserOptions.php:44
Title
Represents a title within MediaWiki.
Definition
Title.php:42
MediaWiki\Api\Hook\ApiMakeParserOptionsHook
Stable to implement.
Definition
ApiMakeParserOptionsHook.php:14
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 Sat Apr 6 2024 00:06:55 for MediaWiki by
1.9.8