For compliance with the new version of the table interface policy (T255803). This patch was created by an automated search & replace operation on the includes/ directory. Bug: T257789 Change-Id: I17e5e92e24c708ffc846945a136347670a3a20c7
26 lines
682 B
PHP
26 lines
682 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Hook;
|
|
|
|
use Parser;
|
|
use ParserOutput;
|
|
|
|
/**
|
|
* @stable to implement
|
|
* @ingroup Hooks
|
|
*/
|
|
interface ParserLimitReportPrepareHook {
|
|
/**
|
|
* This hook is called at the end of Parser:parse() when the parser
|
|
* will include comments about size of the text parsed. Hooks should use
|
|
* $output->setLimitReportData() to populate data. Functions for this hook should
|
|
* not use $wgLang; do that in ParserLimitReportFormat instead.
|
|
*
|
|
* @since 1.35
|
|
*
|
|
* @param Parser $parser
|
|
* @param ParserOutput $output
|
|
* @return bool|void True or no return value to continue or false to abort
|
|
*/
|
|
public function onParserLimitReportPrepare( $parser, $output );
|
|
}
|