Manual:PageReference.php
MediaWiki file: PageReference.php | |
---|---|
Location: | includes/page/ |
Source code: | master • 1.43.1 • 1.42.6 • 1.39.12 |
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
- getWikiId()
- getNamespace()
- getDBkey()
- isSamePageAs()
- __toString()
Retrieval
- If you have access to the Parser, it can be retrieved with Parser::getPage().
Extended by
- PageIdentity
- etc.