MediaWiki 1.40.4
|
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 32 of file SiteStats.php.
|
static |
Definition at line 125 of file SiteStats.php.
References load().
Referenced by ApiQuerySiteinfo\appendStatistics(), SpecialStatistics\execute(), and CoreParserFunctions\numberofactiveusers().
|
static |
Definition at line 98 of file SiteStats.php.
References load().
Referenced by ApiQuerySiteinfo\appendStatistics(), SpecialStatistics\execute(), and CoreParserFunctions\numberofarticles().
|
static |
Definition at line 89 of file SiteStats.php.
References load().
Referenced by ApiQuerySiteinfo\appendStatistics(), SpecialStatistics\execute(), and CoreParserFunctions\numberofedits().
|
static |
Definition at line 134 of file SiteStats.php.
References load().
Referenced by ApiQuerySiteinfo\appendStatistics(), SpecialStatistics\execute(), and CoreParserFunctions\numberoffiles().
|
static |
Total number of jobs in the job queue.
Definition at line 175 of file SiteStats.php.
Referenced by ApiQuerySiteinfo\appendStatistics().
|
staticprotected |
Definition at line 43 of file SiteStats.php.
References loadAndLazyInit().
Referenced by activeUsers(), articles(), edits(), images(), pages(), and users().
|
staticprotected |
Definition at line 52 of file SiteStats.php.
References $dbr, DB_PRIMARY, DB_REPLICA, SiteStatsInit\doAllAndCommit(), SiteStatsInit\doPlaceholderInit(), and wfDebug().
Referenced by load().
|
static |
Find the number of users in a given user group.
string | $group | Name of group |
Definition at line 145 of file SiteStats.php.
References $dbr, and DB_REPLICA.
Referenced by ApiQuerySiteinfo\appendStatistics(), ApiQuerySiteinfo\appendUserGroups(), CoreParserFunctions\numberingroup(), and CoreParserFunctions\numberofadmins().
|
static |
Definition at line 107 of file SiteStats.php.
References load().
Referenced by ApiQuerySiteinfo\appendStatistics(), SpecialStatistics\execute(), and CoreParserFunctions\numberofpages().
|
static |
int | $ns |
Definition at line 197 of file SiteStats.php.
References $dbr, and DB_REPLICA.
Referenced by CoreParserFunctions\pagesinnamespace().
|
static |
Definition at line 222 of file SiteStats.php.
Referenced by SiteStatsInit\doPlaceholderInit().
|
static |
Trigger a reload next time a field is accessed.
Definition at line 39 of file SiteStats.php.
Referenced by SiteStatsUpdate\cacheUpdate(), and SiteStatsUpdate\doUpdate().
|
static |
Definition at line 116 of file SiteStats.php.
References load().
Referenced by ApiQuerySiteinfo\appendStatistics(), ApiQuerySiteinfo\appendUserGroups(), SpecialStatistics\execute(), and CoreParserFunctions\numberofusers().