From: Rob Church Date: Sun, 7 Jan 2007 01:18:44 +0000 (+0000) Subject: Count deleted edits when regenerating the edit count X-Git-Tag: 1.31.0-rc.0~54627 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22messagerie%22%29%20.%20%22?a=commitdiff_plain;h=8bdef48f6f1b6d7eb403c97a1e54a3f476691ef5;p=lhc%2Fweb%2Fwiklou.git Count deleted edits when regenerating the edit count --- diff --git a/maintenance/initStats.php b/maintenance/initStats.php index b622c3f025..291de1eeb8 100644 --- a/maintenance/initStats.php +++ b/maintenance/initStats.php @@ -23,6 +23,7 @@ if( isset( $options['help'] ) ) { echo( "Counting total edits..." ); $edits = $dbr->selectField( 'revision', 'COUNT(*)', '', $fname ); +$edits += $dbr->selectField( 'archive', 'COUNT(*)', '', $fname ); echo( "{$edits}\nCounting number of articles..." ); global $wgContentNamespaces;