MediaWiki
REL1_39
RedirectLookup.php
Go to the documentation of this file.
1
<?php
22
namespace
MediaWiki\Page
;
23
24
use
MediaWiki\Linker\LinkTarget
;
25
34
interface
RedirectLookup
{
43
public
function
getRedirectTarget
(
PageIdentity
$page ): ?
LinkTarget
;
44
}
MediaWiki\Linker\LinkTarget
Definition
LinkTarget.php:26
MediaWiki\Page\PageIdentity
Interface for objects (potentially) representing an editable wiki page.
Definition
PageIdentity.php:64
MediaWiki\Page\RedirectLookup
Service for resolving a wiki page redirect.
Definition
RedirectLookup.php:34
MediaWiki\Page\RedirectLookup\getRedirectTarget
getRedirectTarget(PageIdentity $page)
Get the redirect destination.
MediaWiki\Page
Definition
ContentModelChangeFactory.php:22
includes
page
RedirectLookup.php
Generated on Mon Dec 2 2024 06:23:52 for MediaWiki by
1.10.0