MediaWiki REL1_39
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}
Interface for objects (potentially) representing an editable wiki page.
Service for resolving a wiki page redirect.
getRedirectTarget(PageIdentity $page)
Get the redirect destination.