r18897 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r18896‎ | r18897 | r18898 >
Date:01:18, 7 January 2007
Author:robchurch
Status:old
Tags:
Comment:
Count deleted edits when regenerating the edit count
Modified paths:
  • /trunk/phase3/maintenance/initStats.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/initStats.php
@@ -23,6 +23,7 @@
2424
2525 echo( "Counting total edits..." );
2626 $edits = $dbr->selectField( 'revision', 'COUNT(*)', '', $fname );
 27+$edits += $dbr->selectField( 'archive', 'COUNT(*)', '', $fname );
2728 echo( "{$edits}\nCounting number of articles..." );
2829
2930 global $wgContentNamespaces;