MediaWiki master
ShadowPageProvider.php
Go to the documentation of this file.
1<?php
2
4
6use Wikimedia\Parsoid\Core\LinkTarget;
7
25 public function get( PageReference $title ): ?ShadowPage;
26
34 public function existsForLink( LinkTarget $link ): bool;
35}
Interface for objects (potentially) representing a page that can be viewable and linked to on a wiki.
The interface for providers of ShadowPage instances.
existsForLink(LinkTarget $link)
Determine whether a link should be coloured as if it refers to an existing page.
The interface for shadow pages.