mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-27 09:43:06 +00:00
Merge "Remove unused parameter PPFrame $frame"
This commit is contained in:
commit
cbde447eaf
|
@ -39,7 +39,6 @@ use MediaWiki\Output\Hook\OutputPageRenderCategoryLinkHook;
|
||||||
use MediaWiki\Output\OutputPage;
|
use MediaWiki\Output\OutputPage;
|
||||||
use MediaWiki\Page\ProperPageIdentity;
|
use MediaWiki\Page\ProperPageIdentity;
|
||||||
use MediaWiki\Parser\Parser;
|
use MediaWiki\Parser\Parser;
|
||||||
use MediaWiki\Parser\PPFrame;
|
|
||||||
use MediaWiki\Parser\Sanitizer;
|
use MediaWiki\Parser\Sanitizer;
|
||||||
use MediaWiki\ResourceLoader as RL;
|
use MediaWiki\ResourceLoader as RL;
|
||||||
use MediaWiki\SpecialPage\SpecialPage;
|
use MediaWiki\SpecialPage\SpecialPage;
|
||||||
|
@ -184,14 +183,12 @@ class Hooks implements
|
||||||
* @param string|null $cat
|
* @param string|null $cat
|
||||||
* @param array $argv
|
* @param array $argv
|
||||||
* @param Parser|null $parser
|
* @param Parser|null $parser
|
||||||
* @param PPFrame|null $frame
|
|
||||||
* @return bool|string
|
* @return bool|string
|
||||||
*/
|
*/
|
||||||
public function parserHook(
|
public function parserHook(
|
||||||
?string $cat,
|
?string $cat,
|
||||||
array $argv,
|
array $argv,
|
||||||
?Parser $parser = null,
|
?Parser $parser = null
|
||||||
?PPFrame $frame = null
|
|
||||||
) {
|
) {
|
||||||
if ( $parser ) {
|
if ( $parser ) {
|
||||||
$parserOutput = $parser->getOutput();
|
$parserOutput = $parser->getOutput();
|
||||||
|
|
Loading…
Reference in a new issue