MediaWiki REL1_37
PageRecord.php
Go to the documentation of this file.
1<?php
2namespace MediaWiki\Page;
3
25interface PageRecord extends ProperPageIdentity {
26
34 public function isNew();
35
41 public function isRedirect();
42
52 public function getLatest( $wikiId = self::LOCAL );
53
59 public function getTouched();
60
67 public function getLanguage();
68}
Data record representing a page that is (or used to be, or could be) an editable page on a wiki.
getLatest( $wikiId=self::LOCAL)
The ID of the page's latest revision.
getTouched()
Timestamp at which the page was last flagged for rerendering.
isNew()
False if the page has had more than one edit.
getLanguage()
The page's language, if explicitly recorded.
isRedirect()
True if the page is a redirect.
Interface for objects representing a page that is (or could be, or used to be) an editable page on a ...