BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
SiteStats Class Reference

Static Public Member Functions

static recache ()
 
static load ($recache=false)
 
static loadAndLazyInit ()
 
static doLoad ($db)
 
static views ()
 
static edits ()
 
static articles ()
 
static pages ()
 
static users ()
 
static activeUsers ()
 
static images ()
 
static numberingroup ($group)
 
static jobs ()
 
static pagesInNs ($ns)
 

Detailed Description

Static accessor class for site_stats and related things

Member Function Documentation

static SiteStats::activeUsers ( )
static
Returns
int
static SiteStats::articles ( )
static
Returns
int
static SiteStats::doLoad (   $db)
static
Parameters
IDatabase$db
Returns
bool|ResultWrapper
static SiteStats::edits ( )
static
Returns
int
static SiteStats::images ( )
static
Returns
int
static SiteStats::jobs ( )
static
Returns
int

Zero rows still do single row read for row that doesn't exist, but people are annoyed by that

static SiteStats::load (   $recache = false)
static
Parameters
bool$recache
static SiteStats::loadAndLazyInit ( )
static
Returns
bool|ResultWrapper
static SiteStats::numberingroup (   $group)
static

Find the number of users in a given user group.

Parameters
string$groupName of group
Returns
int
static SiteStats::pages ( )
static
Returns
int
static SiteStats::pagesInNs (   $ns)
static
Parameters
int$ns
Returns
int
static SiteStats::users ( )
static
Returns
int
static SiteStats::views ( )
static

Return the total number of page views. Except we don't track those anymore. Stop calling this function, it will be removed some time in the future. It's kept here simply to prevent fatal errors.

Deprecated:
since 1.25
Returns
int

The documentation for this class was generated from the following file: