MediaWiki  master
MediaWiki\Page Namespace Reference

Namespaces

 Hook
 

Variables

trait LegacyArticleIdAccess
 

Variable Documentation

◆ LegacyArticleIdAccess

trait MediaWiki::Page\LegacyArticleIdAccess
Initial value:
{
protected function getArticleId( PageIdentity $title ): int {
if ( $title instanceof Title ) {
return $title->getArticleID();
}
return $title->getId( $this->getWikiId() );
}
abstract protected function getWikiId()

Definition at line 26 of file LegacyArticleIdAccess.php.

$title
$title
Definition: testCompression.php:38
Title
Represents a title within MediaWiki.
Definition: Title.php:47