T68867 Run updateArticleCount.php regularly (original) (raw)

Because of the major priority T42009/T47269 (abuse of import feature) I ask to run InitStats maintenance script daily or at least weekly. The updateArticleCount.php script can be started with a cron job. After some imports the statistics page counter at the German Wikivoyage is now at 14.867 instead at about 12.600 ie the count shown is 15 % higher than the real one.

T48981 was only a temporary solution not a permanent one.

After the first update, dcljr made a list of the biggest variations in counts: https://meta.wikimedia.org/w/index.php?title=Wikimedia_News&oldid=11739239#March_2015


Version: wmf-deployment
Severity: normal

Related Changes in Gerrit:

Event Timeline

• bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:25 AM

• bzimport added a subscriber: Unknown Object (MLST).

Comment Actions

Bug 45269 it's solved but not the other. I agree on weekly run also for https://it.wikivoyage.org and the other language version, until all the page count bugs have been completely solved.

Nemo_bis renamed this task from Run updateArticleCount.php on German Wikivoyage weekly to Run updateArticleCount.php regularly.Jan 30 2015, 3:27 PM

Nemo_bis closed this task as Resolved.

Comment Actions

This should be fixed, but I don't see big changes in statistics. It's possible that most backlog was already cleared by the stats update which confused sv.wiki, whatever triggered it.

Comment Actions

Hi Nemo, are you sure that it works? I've just made a check on es:voy (where I know that they have recently experienced a counting problem), and I've found the following numbers:

Could you check it?

Comment Actions

I hadn't understood your comment. Indeed, stats said 4090 countable pages but there were only 2390 in total in ns0 (the only content namespace). Now we did the last missing step, closing.

The effects of the solution will be verified on the 29th (so in March...).

Comment Actions

In November 2014 I asked to run updateArticleCount.php or a similar tool regularly. This is necessary on all Wikivoyage sites. This is because of the small number of articles and the unsolved Bug T42009. I think a weekly update would be sufficient.

Normally this can be done with a simple cron job. And it is difficult to me to understand why this is not done.

Comment Actions

Nemo, the current schedule is still monthly (each 29th) or already weekly?

Glaisher removed a subscriber: Unknown Object (MLST).

Comment Actions

I'm wondering whether we shouldn't change the day the script runs to the 28th, which _every_ month has...

Comment Actions

Is the first thing that I've thought when I've read February 29th :-D

Comment Actions

Apparently the script is about to run again (assuming "hour => 5," refers to UTC), so how long should it take to complete all the updates? Where do I look to see if it's finished running? (Apologies for using this task for my question, if that's frowned upon.)

Comment Actions

Can someone verify that the script actually ran? Also, see the questions in my last post.