dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b4fcdf
)
Count deleted edits when regenerating the edit count
author
Rob Church
<robchurch@users.mediawiki.org>
Sun, 7 Jan 2007 01:18:44 +0000
(
01:18
+0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Sun, 7 Jan 2007 01:18:44 +0000
(
01:18
+0000)
maintenance/initStats.php
patch
|
blob
|
history
diff --git
a/maintenance/initStats.php
b/maintenance/initStats.php
index
b622c3f
..
291de1e
100644
(file)
--- 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;