maintenance/showStats.php File Reference

Maintenance script to show the cached statistics. More...

Go to the source code of this file.

Variables

 $fields
 $dbr = wfGetDB( DB_SLAVE )
 $fname = 'showStats'
 $stats = $dbr->selectRow( 'site_stats', '*', '' )
 $max_length_value = $max_length_desc = 0


Detailed Description

Maintenance script to show the cached statistics.

Give out the same output as [[Special:Statistics]]

Author:
Ashar Voultoiz <hashar@altern.org> Based on initStats.php by:

Brion Vibber

Rob Church <robchur@gmail.com>

GNU General Public License 2.0 or later

Definition in file showStats.php.


Variable Documentation

$dbr = wfGetDB( DB_SLAVE )

Definition at line 33 of file showStats.php.

$fields

Initial value:

 array(
        'ss_total_views' => 'Total views',
        'ss_total_edits' => 'Total edits',
        'ss_good_articles' => 'Number of articles',
        'ss_total_pages' => 'Total pages',
        'ss_users' => 'Number of users',
        'ss_admins' => 'Number of admins',
        'ss_images' => 'Number of images',
)

Definition at line 22 of file showStats.php.

Referenced by compressWithConcat(), User::createNew(), SpecialRecentChanges::doMainQuery(), Revision::fetchFromConds(), OldLocalFile::getCacheFields(), LocalFile::getHistory(), SpecialExport::getLinks(), NewPagesPager::getQueryInfo(), ImageListPager::getQueryInfo(), TablePager::getStartBody(), Job::insert(), ChangeTags::modifyDisplayQuery(), Article::pageData(), SpecialResetpass::pretty(), IndexPager::reallyDoQuery(), LocalFile::setProps(), WhatLinksHerePage::showIndirectLinks(), BitmapHandler::visibleMetadataFields(), wfBuildForm(), and wfSpecialWatchlist().

$fname = 'showStats'

Definition at line 34 of file showStats.php.

$max_length_value = $max_length_desc = 0

Definition at line 38 of file showStats.php.

$stats = $dbr->selectRow( 'site_stats', '*', '' )

Definition at line 35 of file showStats.php.

Referenced by NukePage().


Generated on Sat Sep 5 02:08:28 2009 for MediaWiki by  doxygen 1.5.9