MediaWiki  master
RedirectLookup.php
Go to the documentation of this file.
1 <?php
22 namespace MediaWiki\Page;
23 
25 
34 interface RedirectLookup {
43  public function getRedirectTarget( PageIdentity $page ): ?LinkTarget;
44 }
Represents the target of a wiki link.
Definition: LinkTarget.php:30
Interface for objects (potentially) representing an editable wiki page.
Service for resolving a wiki page redirect.
getRedirectTarget(PageIdentity $page)
Get the redirect destination.