I'm opening this task because Paladox asked me in T4299. It seems there's a issue with large wiki's (as my own, nonciclopedia.org) preventing statistics from being updated correctly, and even running initSiteStats.php and updateArticleCount.php didn't work as expected because, for example, the number of content pages should be close to 14,890, but it was roughly 12,000 before running the scripts and after that it's 14,839.
My 2 cents: its seems like new data is being recorded (more or less) correctly, but the starting numbers after we moved to Miraheze were wrong so the total count is wrong too.
I'm recording data by hand month by month since I posted this, and it's clear how, for example, before moving to Miraheze we had 14,886 content pages and in the meanwhile 46 more were created, for a total of 14,932 pages; Special:Statistics gives me just 14,889 pages, instead, which is roughly what you get by adding 46 new pages to the 14,839 pages resulting after running the script mentioned above.
Close enough. The other stats are still incorrect, though:
- Total number of pages is 170,448 but it should be 172,398
- Number of files is 49,949 but it should be 50,264
- Number of edits is 2,200,432 but it should be 2,585,754