Last modified: 2014-07-26 11:17:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66370, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64370 - Run script to recalculate Wikivoyage statistics
Run script to recalculate Wikivoyage statistics
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Normal enhancement (vote)
: ---
Assigned To: Kunal Mehta (Legoktm)
https://it.wikivoyage.org
: shell
Depends on: 65214
Blocks: 29782
  Show dependency treegraph
 
Reported: 2014-04-24 15:36 UTC by Andyrom75
Modified: 2014-07-26 11:17 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
initSiteStats.log (8.52 KB, text/plain)
2014-07-14 09:37 UTC, Kunal Mehta (Legoktm)
Details

Description Andyrom75 2014-04-24 15:36:59 UTC
As suggested by Andre in bug 64333, I'm opening a new bug here to request the recalculation of the stats for all the language version because there are several misalignment because of few bugs (page importation, page movement, etc...)

Not only the page counts are affected, but also the image count.
Comment 1 Andyrom75 2014-04-26 06:44:10 UTC
Curiosity. Why to adjust the wrong count is an enhancement and not a bug?
Comment 2 Andyrom75 2014-05-06 06:54:43 UTC
reminder
Comment 3 Andre Klapper 2014-05-06 15:32:44 UTC
Does anybody with shell access plan to run this script soon?
Comment 4 This, that and the other (TTO) 2014-06-29 04:34:11 UTC
OK, Reedy, this one's for you. Needs to be run once for all Wikivoyage editions.

while read p; do mwscript initSiteStats.php --wiki=${p} --noviews --update; done < ***path to wikivoyage.dblist***

Not sure if you need the --use-master parameter, I'll leave you to decide that.
Comment 5 Kunal Mehta (Legoktm) 2014-06-29 05:14:30 UTC
We have a foreachwikiindblist script for this :)
Comment 6 Andyrom75 2014-07-13 12:43:55 UTC
Now that bug 65214 has been solved, could the voy stats be recalculated?
Comment 7 Kunal Mehta (Legoktm) 2014-07-14 09:37:12 UTC
Created attachment 15931 [details]
initSiteStats.log
Comment 8 Kunal Mehta (Legoktm) 2014-07-14 09:38:58 UTC
Ran the script with the parameters TTO suggested (didn't use --use-master), and attached the log output.
Comment 9 Andyrom75 2014-07-14 15:58:06 UTC
Thanks a lot! Finally the stats are update! Just a curiosity; the initSiteStats runs periodically or just on demand?
Comment 10 zhuyifei1999 2014-07-20 00:59:34 UTC
(In reply to Andyrom75 from comment #9)
> Thanks a lot! Finally the stats are update! Just a curiosity; the
> initSiteStats runs periodically or just on demand?
Comment 11 zhuyifei1999 2014-07-20 01:01:06 UTC
That's bug 57788?
Comment 12 Andyrom75 2014-07-20 08:30:33 UTC
zhuyifei1999, bug 57788 is related to the schedule. My question in fact goes in the direction of: if the run of initSiteStats is already scheduled, the bug 57788 can be closed, otherwise, must be kept and its importance increased.
Comment 13 Kunal Mehta (Legoktm) 2014-07-26 06:57:08 UTC
It doesn't have any scheduled runs AFAIK. MediaWiki should ideally keep everything in sync.
Comment 14 Andyrom75 2014-07-26 11:17:05 UTC
Kunal, unfortunately the sync doesn't happen, in fact since the last syncronization, some language version (en:voy, fr:voy, it:voy, ...) already has some misalignement, due to bugs that affect the counters.

I've seen that This, that and the other has tried to patch the bug 40009. If the patch succeed we can re-run the initSiteStats.php to eliminate the misalignments.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links