MediaWiki master
|
Static accessor class for site_stats and related things. More...
Static Public Member Functions | |
static | activeUsers () |
static | articles () |
static | edits () |
static | images () |
static | jobs () |
Total number of jobs in the job queue. | |
static | numberingroup ( $group) |
Find the number of users in a given user group. | |
static | pages () |
static | pagesInNs ( $ns) |
static | selectFields () |
static | unload () |
Trigger a reload next time a field is accessed. | |
static | users () |
Static Protected Member Functions | |
static | load () |
static | loadAndLazyInit () |
Static accessor class for site_stats and related things.
Definition at line 36 of file SiteStats.php.
|
static |
Definition at line 129 of file SiteStats.php.
References MediaWiki\SiteStats\SiteStats\load().
Referenced by MediaWiki\Api\ApiQuerySiteinfo\appendStatistics().
|
static |
Definition at line 102 of file SiteStats.php.
References MediaWiki\SiteStats\SiteStats\load().
Referenced by MediaWiki\Api\ApiQuerySiteinfo\appendStatistics().
|
static |
Definition at line 93 of file SiteStats.php.
References MediaWiki\SiteStats\SiteStats\load().
Referenced by MediaWiki\Api\ApiQuerySiteinfo\appendStatistics().
|
static |
Definition at line 138 of file SiteStats.php.
References MediaWiki\SiteStats\SiteStats\load().
Referenced by MediaWiki\Api\ApiQuerySiteinfo\appendStatistics().
|
static |
Total number of jobs in the job queue.
Definition at line 179 of file SiteStats.php.
References MediaWiki\MediaWikiServices\getInstance().
Referenced by MediaWiki\Api\ApiQuerySiteinfo\appendStatistics().
|
staticprotected |
Definition at line 47 of file SiteStats.php.
References MediaWiki\SiteStats\SiteStats\loadAndLazyInit().
Referenced by MediaWiki\SiteStats\SiteStats\activeUsers(), MediaWiki\SiteStats\SiteStats\articles(), MediaWiki\SiteStats\SiteStats\edits(), MediaWiki\SiteStats\SiteStats\images(), MediaWiki\SiteStats\SiteStats\pages(), and MediaWiki\SiteStats\SiteStats\users().
|
staticprotected |
Definition at line 56 of file SiteStats.php.
References DB_PRIMARY, DB_REPLICA, MediaWiki\SiteStats\SiteStatsInit\doAllAndCommit(), MediaWiki\SiteStats\SiteStatsInit\doPlaceholderInit(), MediaWiki\MediaWikiServices\getInstance(), MediaWiki\MainConfigNames\MiserMode, and wfDebug().
Referenced by MediaWiki\SiteStats\SiteStats\load().
|
static |
Find the number of users in a given user group.
string | $group | Name of group |
Definition at line 149 of file SiteStats.php.
References DB_REPLICA, Wikimedia\Rdbms\Database\getCacheSetOptions(), and MediaWiki\MediaWikiServices\getInstance().
Referenced by MediaWiki\Api\ApiQuerySiteinfo\appendStatistics(), and MediaWiki\Api\ApiQuerySiteinfo\appendUserGroups().
|
static |
Definition at line 111 of file SiteStats.php.
References MediaWiki\SiteStats\SiteStats\load().
Referenced by MediaWiki\Api\ApiQuerySiteinfo\appendStatistics().
|
static |
int | $ns |
Definition at line 201 of file SiteStats.php.
References DB_REPLICA, Wikimedia\Rdbms\Database\getCacheSetOptions(), and MediaWiki\MediaWikiServices\getInstance().
|
static |
Definition at line 225 of file SiteStats.php.
Referenced by MediaWiki\SiteStats\SiteStatsInit\doPlaceholderInit().
|
static |
Trigger a reload next time a field is accessed.
Definition at line 43 of file SiteStats.php.
|
static |
Definition at line 120 of file SiteStats.php.
References MediaWiki\SiteStats\SiteStats\load().
Referenced by MediaWiki\Api\ApiQuerySiteinfo\appendStatistics(), and MediaWiki\Api\ApiQuerySiteinfo\appendUserGroups().