MediaWiki
REL1_40
WikiAwareEntity.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\DAO
;
4
5
use
MediaWiki\Page\PageIdentity
;
6
use
MediaWiki\Revision\RevisionRecord
;
7
use
MediaWiki\User\UserIdentity
;
8
use Wikimedia\Assert\PreconditionException;
9
35
interface
WikiAwareEntity
{
36
41
public
const
LOCAL =
false
;
42
52
public
function
assertWiki
( $wikiId );
53
60
public
function
getWikiId
();
61
}
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:47
MediaWiki\DAO\WikiAwareEntity
Marker interface for entities aware of the wiki they belong to.
Definition
WikiAwareEntity.php:35
MediaWiki\DAO\WikiAwareEntity\assertWiki
assertWiki( $wikiId)
Throws if $wikiId is different from the return value of getWikiId().
MediaWiki\DAO\WikiAwareEntity\getWikiId
getWikiId()
Get the ID of the wiki this page belongs to.
MediaWiki\Page\PageIdentity
Interface for objects (potentially) representing an editable wiki page.
Definition
PageIdentity.php:65
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\DAO
Definition
WikiAwareEntity.php:3
includes
dao
WikiAwareEntity.php
Generated on Thu Jun 27 2024 14:02:34 for MediaWiki by
1.10.0