Last modified: 2014-07-31 08:59:45 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 T67214, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65214 - initSiteStats.php calls undefined/protected functions
initSiteStats.php calls undefined/protected functions
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.23.0
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 64370
  Show dependency treegraph
 
Reported: 2014-05-12 09:44 UTC by This, that and the other (TTO)
Modified: 2014-07-31 08:59 UTC (History)
5 users (show)

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


Attachments

Description This, that and the other (TTO) 2014-05-12 09:44:39 UTC
$ php maintenance/initSiteStats.php
Refresh Site Statistics

Counting total edits...1291
Counting number of articles...35
Counting total pages...119
Counting number of users...3
Counting number of images...1
Counting total page views...0

Updating site statistics...Fatal error: Call to protected method SiteStatsInit::refresh() from context 'InitSiteStats' in [pathname]\MediaWiki\core\maintenance\initSiteStats.php on line 83

$ php maintenance/initSiteStats.php --update
Refresh Site Statistics

Counting total edits...1291
Counting number of articles...35
Counting total pages...119
Counting number of users...3
Counting number of images...1
Counting total page views...0

Updating site statistics...Fatal error: Call to undefined method SiteStatsInit::update() in [pathname]\MediaWiki\core\maintenance\initSiteStats.php on line 81
Comment 1 Gerrit Notification Bot 2014-05-12 09:50:33 UTC
Change 132926 had a related patch set uploaded by TTO:
Fix initSiteStats.php maintenance script

https://gerrit.wikimedia.org/r/132926
Comment 2 Andyrom75 2014-05-26 21:48:21 UTC
Which is the review status of this patch?
Comment 3 This, that and the other (TTO) 2014-05-27 02:20:09 UTC
It can take some weeks or months for a minor patch such as this to be reviewed. I find it rather frustrating, but not much can be done about it without actually poking people and possibly getting them annoyed.
Comment 4 Gerrit Notification Bot 2014-06-29 00:18:21 UTC
Change 132926 merged by jenkins-bot:
Fix initSiteStats.php maintenance script

https://gerrit.wikimedia.org/r/132926
Comment 5 Kunal Mehta (Legoktm) 2014-06-29 00:20:55 UTC
Sorry about the delay.

We'll need to get this backported to 1.23.
Comment 6 Andyrom75 2014-06-29 13:28:40 UTC
Question:
1) Is it normal this error message: https://integration.wikimedia.org/ci/job/mediawiki-core-regression-hhvm-master/740/console : ERROR! It seems this job introduced a regression although it might be caused by a previous commit. in 5s (non-voting) ?

PS I have no idea of what it is, I've just highlighted for to your evaluation.
Comment 7 Gerrit Notification Bot 2014-06-30 04:56:03 UTC
Change 142987 had a related patch set uploaded by MarkAHershberger:
Fix initSiteStats.php maintenance script

https://gerrit.wikimedia.org/r/142987
Comment 8 Gerrit Notification Bot 2014-06-30 05:00:38 UTC
Change 142987 merged by jenkins-bot:
Fix initSiteStats.php maintenance script

https://gerrit.wikimedia.org/r/142987
Comment 9 This, that and the other (TTO) 2014-06-30 05:02:23 UTC
(In reply to Andyrom75 from comment #6)
> Question:
> 1) Is it normal this error message:

To answer your question, yes, it is normal. The specific error, if you follow the link, is "Error: 13 database or disk is full", which was clearly not caused by this patch.
Comment 10 Mark A. Hershberger 2014-06-30 05:08:54 UTC
Error was caused by a full disk:

> Error: 13 database or disk is full

Adding Hashar since he manages Jenkins.
Comment 11 Andyrom75 2014-06-30 06:57:29 UTC
Thanks to both of you for the answer and good to know.
Comment 12 db [inactive,noenotif] 2014-07-31 08:59:45 UTC
Was backported, adjust flag

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


Navigation
Links