Page MenuHomeWickedGov Phorge

ParserLimitReportFormatHook.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

ParserLimitReportFormatHook.php

<?php
namespace MediaWiki\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ParserLimitReportFormat" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface ParserLimitReportFormatHook {
/**
* This hook is called for each row in the parser limit report that
* needs formatting. If nothing handles this hook, the default is to use "$key" to
* get the label, and "$key-value" to format the value.
*
* @since 1.35
*
* @param string $key Key for the limit report item
* @param string &$value Value of the limit report item
* @param string &$report String onto which to append the data
* @param bool $isHTML If true, $report is an HTML table with two columns; if false, it's
* text intended for display in a monospaced font
* @param bool $localize If false, $report should be output in English
* @return bool|void True or no return value to continue or false to abort
*/
public function onParserLimitReportFormat( $key, &$value, &$report, $isHTML,
$localize
);
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 12:25 (1 d, 5 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e3/0d/63dcae6d832634b0c0ebecb0e7e5
Default Alt Text
ParserLimitReportFormatHook.php (1 KB)

Event Timeline