|
MediaWiki
1.23.0
|
Static accessor class for site_stats and related things. More...
Static Public Member Functions | |
| static | activeUsers () |
| static | articles () |
| static | doLoad ( $db) |
| static | edits () |
| static | images () |
| static | jobs () |
| static | load ( $recache=false) |
| static | loadAndLazyInit () |
| static | numberingroup ( $group) |
| Find the number of users in a given user group. More... | |
| static | pages () |
| static | pagesInNs ( $ns) |
| static | recache () |
| static | users () |
| static | views () |
Static Public Attributes | |
| static | $groupMemberCounts = array() |
| static | $jobs |
| static | $loaded = false |
| static | $pageCount = array() |
| static | $row |
Static Private Member Functions | |
| static | isSane ( $row) |
| Is the provided row of site stats sane, or should it be regenerated? More... | |
Static accessor class for site_stats and related things.
Definition at line 26 of file SiteStats.php.
|
static |
Definition at line 148 of file SiteStats.php.
References load().
Referenced by SpecialStatistics\execute(), and CoreParserFunctions\numberofactiveusers().
|
static |
Definition at line 124 of file SiteStats.php.
References load().
Referenced by SpecialStatistics\execute(), and CoreParserFunctions\numberofarticles().
|
static |
| $db | DatabaseBase |
Definition at line 92 of file SiteStats.php.
References array().
Referenced by load(), and loadAndLazyInit().
|
static |
Definition at line 116 of file SiteStats.php.
References load().
Referenced by SpecialStatistics\execute(), and CoreParserFunctions\numberofedits().
|
static |
Definition at line 156 of file SiteStats.php.
References load().
Referenced by SpecialStatistics\execute(), and CoreParserFunctions\numberoffiles().
|
staticprivate |
Is the provided row of site stats sane, or should it be regenerated?
Checks only fields which are filled by SiteStatsInit::refresh.
| $row |
Definition at line 230 of file SiteStats.php.
|
static |
Definition at line 189 of file SiteStats.php.
References $dbr, $jobs, DB_SLAVE, JobQueueGroup\singleton(), and wfGetDB().
|
static |
| $recache | bool |
Definition at line 39 of file SiteStats.php.
References DB_SLAVE, doLoad(), loadAndLazyInit(), and wfGetDB().
Referenced by activeUsers(), articles(), edits(), images(), pages(), recache(), users(), and views().
|
static |
Definition at line 60 of file SiteStats.php.
References $row, DB_MASTER, DB_SLAVE, SiteStatsInit\doAllAndCommit(), doLoad(), wfDebug(), and wfGetDB().
Referenced by load().
|
static |
Find the number of users in a given user group.
| string | $group | name of group |
Definition at line 166 of file SiteStats.php.
References $dbr, $wgMemc, array(), DB_SLAVE, global, wfGetDB(), and wfMemcKey().
Referenced by SpecialStatistics\getGroupStats(), CoreParserFunctions\numberingroup(), and CoreParserFunctions\numberofadmins().
|
static |
Definition at line 132 of file SiteStats.php.
References load().
Referenced by SpecialStatistics\execute(), and CoreParserFunctions\numberofpages().
|
static |
| $ns | int |
Definition at line 206 of file SiteStats.php.
References $dbr, array(), DB_SLAVE, wfGetDB(), wfProfileIn(), and wfProfileOut().
Referenced by CoreParserFunctions\pagesinnamespace().
|
static |
Definition at line 32 of file SiteStats.php.
References load().
|
static |
Definition at line 140 of file SiteStats.php.
References load().
Referenced by SpecialStatistics\execute(), and CoreParserFunctions\numberofusers().
|
static |
Definition at line 108 of file SiteStats.php.
References load().
Referenced by SpecialStatistics\execute(), and CoreParserFunctions\numberofviews().
|
static |
Definition at line 30 of file SiteStats.php.
|
static |
Definition at line 28 of file SiteStats.php.
Referenced by jobs().
|
static |
Definition at line 27 of file SiteStats.php.
|
static |
Definition at line 29 of file SiteStats.php.
|
static |
Definition at line 27 of file SiteStats.php.
Referenced by isSane(), and loadAndLazyInit().