MediaWiki REL1_41
|
Classes | |
interface | WikiAwareEntity |
Marker interface for entities aware of the wiki they belong to. More... | |
Functions | |
assertWiki ( $wikiId) | |
Throws if $wikiId is not the same as this entity wiki. | |
assertWikiIdParam ( $wikiId) | |
Asserts correct $wikiId parameter was passed. | |
deprecateInvalidCrossWiki ( $wikiId, string $since) | |
Emits a deprecation warning $since version if $wikiId is not the same as this wiki. | |
Variables | |
trait | WikiAwareEntityTrait |
MediaWiki\DAO\assertWiki | ( | $wikiId | ) |
Throws if $wikiId is not the same as this entity wiki.
string | false | $wikiId | The wiki ID expected by the caller. |
PreconditionException |
Definition at line 55 of file WikiAwareEntityTrait.php.
|
protected |
Asserts correct $wikiId parameter was passed.
string | false | $wikiId |
Definition at line 89 of file WikiAwareEntityTrait.php.
|
protected |
Emits a deprecation warning $since version if $wikiId is not the same as this wiki.
string | false | $wikiId | |
string | $since |
Definition at line 71 of file WikiAwareEntityTrait.php.
References wfDeprecatedMsg().
trait MediaWiki::DAO\WikiAwareEntityTrait |
Definition at line 32 of file WikiAwareEntityTrait.php.