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