After running importDump.php to completion, then running initStats.php
to update the statistics for the newly imported database,
I get the following output:
[root@gadugi /]#
[root@gadugi /]#
[root@gadugi /]# cd /wikidump/en
[root@gadugi en]#
[root@gadugi en]# php maintenance/initStats.php
Refresh Site Statistics
Counting total edits...4798436
Counting number of articles...1980988
Counting total pages...4797798
Counting number of users...1
Counting number of admins...1
Counting number of images...1092505
Counting total page views...67977
Updating site statistics...done.
[root@gadugi en]#
If I subsequently invoke rebuildall.php against this database, it
reports double the number of pages, runs up to about 277000 articles,
then the
php process goes to sleep and never wakes up. rebuildall.php reports
the following wrong article count:
[root@gadugi en]#
[root@gadugi en]# php maintenance/rebuildall.php
** Rebuilding fulltext search index (if you abort this will break
searching; run this script again to fix):
Rebuilding index fields for 9648325 pages...
1500
Jeff