MediaWiki
master
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
Represents the target of a wiki link.
Definition
LinkTarget.php:33
MediaWiki\Page\PageIdentity
Interface for objects (potentially) representing an editable wiki page.
Definition
PageIdentity.php:67
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 Wed Dec 18 2024 06:24:40 for MediaWiki by
1.10.0