PageRecord is intended as a lightweight alternative to WikiPage, similar to RevisionRecord. Bug: T272421 Bug: T272422 Depends-On: Ia34cc8fa795b6b27832982fc22fa237ee36339b4 Depends-On: I39a984c9f3132f755f7d8984b789d05ad080d7b4 Change-Id: Ib3c9b22e0c0b7c97e6c230f2fecf0663b4c68cc6
23 lines
478 B
PHP
23 lines
478 B
PHP
<?php
|
|
namespace MediaWiki\Page;
|
|
|
|
/**
|
|
* Data record representing a page that currently exists as
|
|
* an editable page on a wiki.
|
|
*
|
|
* @note This is intended to become an alias for PageRecord, once PageRecord is guaranteed
|
|
* to be immutable and to represent existing pages.
|
|
*
|
|
* @stable to type
|
|
*
|
|
* @since 1.36
|
|
*/
|
|
interface ExistingPageRecord extends PageRecord, ProperPageIdentity {
|
|
|
|
/**
|
|
* Always true.
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function exists(): bool;
|
|
}
|