Page MenuHomePhabricator

Run initSiteStats.php for lfnwiki, inhwiki, gorwiki and euwikisource
Closed, ResolvedPublic

Description

Those wikis needs initSiteStats.php to enable their Special:Statistics page and relevant parser functions. Scheduled for EU SWAT, https://wikitech.wikimedia.org/w/index.php?title=Deployments&diff=1789027&oldid=1788978. If anybody runs the patch sooner, please mark the task listed as completed.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Urbanecm triaged this task as Medium priority.Apr 20 2018, 4:35 PM

Not a big problem.

Is this because of imports?

reedy@tin:~$ mwscript initSiteStats.php --wiki=lfnwiki --update
Refresh Site Statistics

Counting total edits...10942
Counting number of articles...1308
Counting total pages...2070
Counting number of users...112
Counting number of images...0

Updating site statistics...done.

Done.
reedy@tin:~$ mwscript initSiteStats.php --wiki=inhwiki --update
Refresh Site Statistics

Counting total edits...23852
Counting number of articles...752
Counting total pages...2190
Counting number of users...145
Counting number of images...0

Updating site statistics...done.

Done.
reedy@tin:~$ mwscript initSiteStats.php --wiki=gorwiki --update
Refresh Site Statistics

Counting total edits...14216
Counting number of articles...1171
Counting total pages...2786
Counting number of users...113
Counting number of images...0

Updating site statistics...done.

Done.
reedy@tin:~$ mwscript initSiteStats.php --wiki=euwikisource --update
Refresh Site Statistics

Counting total edits...6918
Counting number of articles...294
Counting total pages...1526
Counting number of users...108
Counting number of images...0

Updating site statistics...done.

Done.

@Reedy, please take note of T184374#4146900. In particular, this script may have to be run on euwikisource again in the near future, as importing was apparently not finished there at the time the script was run. The other 3 wikis are fine now.

@MF-Warburg will edit Incubator:Site creation log#2018 when he's finished importing (perhaps any minute now, actually).

(Sorry for so much fragmentation of discussion — it's really confusing to have 4 wiki creations going on at the same time in separate tasks, when the same problems potentially affect all of them.)

OK, importing of euwikisource is finished, so, @Reedy, I assume that means initSiteStats.php can be run again on euwikisource, to make sure the counts are right.

OK, importing of euwikisource is finished, so, @Reedy, I assume that means initSiteStats.php can be run again on euwikisource, to make sure the counts are right.

Please file a new task, The original request and scope of this task has been completed.

@Dclr Will be done during EU SWAT (13:00 UTC).

Please file a new task, The original request and scope of this task has been completed.

But it "wasn't done right". The running of the script again was necessary to fulfill the original purpose of this task.

Anyway, script was ran during the SWAT I talked about above. This should be definitely resolved.

Yes, thanks. In case anyone's interested, it looks like the entire wiki contents were actually imported after initSiteStats.php was run (the first time). The second run that just happened changed the "article" count from 375 to 332. Can't say on-wiki activity was not responsible for any of this, but there were certainly no mass deletions in that time and a quick check of contributions by "active users" did not reveal any mass removal of wikilinks, either. So it looks like the count was off purely due to the importing.