MediaWiki master
RedirectLookup.php
Go to the documentation of this file.
1<?php
8namespace MediaWiki\Page;
9
11
20interface RedirectLookup {
29 public function getRedirectTarget( PageIdentity $page ): ?LinkTarget;
30}
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.