MediaWiki REL1_39
|
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 131 of file SiteStats.php.
References load().
Referenced by ApiQuerySiteinfo\appendStatistics(), SpecialStatistics\execute(), CoreMagicVariables\expand(), and CoreParserFunctions\numberofactiveusers().
|
static |
Definition at line 104 of file SiteStats.php.
References load().
Referenced by ApiQuerySiteinfo\appendStatistics(), SpecialStatistics\execute(), CoreMagicVariables\expand(), and CoreParserFunctions\numberofarticles().
|
static |
Definition at line 95 of file SiteStats.php.
References load().
Referenced by ApiQuerySiteinfo\appendStatistics(), SpecialStatistics\execute(), CoreMagicVariables\expand(), CoreParserFunctions\numberofedits(), and wfQueriesMustScale().
|
static |
Definition at line 140 of file SiteStats.php.
References load().
Referenced by ApiQuerySiteinfo\appendStatistics(), SpecialStatistics\execute(), CoreMagicVariables\expand(), and CoreParserFunctions\numberoffiles().
|
static |
Total number of jobs in the job queue.
Definition at line 181 of file SiteStats.php.
References $cache.
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 151 of file SiteStats.php.
References $cache, $dbr, and DB_REPLICA.
Referenced by ApiQuerySiteinfo\appendStatistics(), ApiQuerySiteinfo\appendUserGroups(), CoreMagicVariables\expand(), CoreParserFunctions\numberingroup(), and CoreParserFunctions\numberofadmins().
|
static |
Definition at line 113 of file SiteStats.php.
References load().
Referenced by ApiQuerySiteinfo\appendStatistics(), SpecialStatistics\execute(), CoreMagicVariables\expand(), CoreParserFunctions\numberofpages(), and wfQueriesMustScale().
|
static |
int | $ns |
Definition at line 203 of file SiteStats.php.
References $cache, $dbr, and DB_REPLICA.
Referenced by CoreParserFunctions\pagesinnamespace().
|
static |
Definition at line 228 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 122 of file SiteStats.php.
References load().
Referenced by ApiQuerySiteinfo\appendStatistics(), ApiQuerySiteinfo\appendUserGroups(), SpecialStatistics\execute(), CoreMagicVariables\expand(), CoreParserFunctions\numberofusers(), and wfQueriesMustScale().