MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onParserLimitReportFormat ( $key, &$value, &$report, $isHTML, $localize) | |
This hook is called for each row in the parser limit report that needs formatting. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ParserLimitReportFormat" to register handlers implementing this interface.
Definition at line 12 of file ParserLimitReportFormatHook.php.
MediaWiki\Hook\ParserLimitReportFormatHook::onParserLimitReportFormat | ( | $key, | |
& | $value, | ||
& | $report, | ||
$isHTML, | |||
$localize ) |
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" or "$key-value-text"/"$key-value-html" to format the value.
string | $key | Key for the limit report item |
string | &$value | Value of the limit report item |
string | &$report | String onto which to append the data |
bool | $isHTML | If true, $report is an HTML table with two columns; if false, it's text intended for display in a monospaced font |
bool | $localize | If false, $report should be output in English |
Implemented in MediaWiki\HookContainer\HookRunner.