MediaWiki
master
OutputPageRenderCategoryLinkHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Output\Hook
;
4
5
use
MediaWiki\Output\OutputPage
;
6
use
MediaWiki\Page\ProperPageIdentity
;
7
15
interface
OutputPageRenderCategoryLinkHook
{
27
public
function
onOutputPageRenderCategoryLink
(
28
OutputPage
$outputPage,
29
ProperPageIdentity
$categoryTitle,
30
string
$text,
31
?
string
&$link
32
): void;
33
}
MediaWiki\Output\OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition
OutputPage.php:96
MediaWiki\Output\Hook\OutputPageRenderCategoryLinkHook
This is a hook handler interface, see docs/Hooks.md.
Definition
OutputPageRenderCategoryLinkHook.php:15
MediaWiki\Output\Hook\OutputPageRenderCategoryLinkHook\onOutputPageRenderCategoryLink
onOutputPageRenderCategoryLink(OutputPage $outputPage, ProperPageIdentity $categoryTitle, string $text, ?string &$link)
This hook is called when a category link is rendered.
MediaWiki\Page\ProperPageIdentity
Interface for a page that is (or could be, or used to be) an editable wiki page.
Definition
ProperPageIdentity.php:44
MediaWiki\Output\Hook
Definition
AfterBuildFeedLinksHook.php:3
includes
Output
Hook
OutputPageRenderCategoryLinkHook.php
Generated on Sat Apr 19 2025 23:25:24 for MediaWiki by
1.10.0