Manual:PageReference.php
MediaWiki file: PageReference.php | |
---|---|
Location: | includes/page/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | MediaWiki\Page\PageReference |
Interface class (MW 1.37+) for objects potentially representing a page that can be viewable and linked to on a wiki, including special pages. The identity of any PageReference
object is defined by the namespace, the dbkey, and the wiki ID. If the wiki ID is self::LOCAL
, the identity is relative to the local wiki.
Extends WikiAwareEntity.
Public methods
edit- getWikiId()
- getNamespace()
- getDBkey()
- isSamePageAs()
- __toString()
Retrieval
edit- If you have access to the Parser, it can be retrieved with Parser::getPage().
Extended by
edit- PageIdentity
- etc.