[Bug 54888] Fresh install of MediaWiki lists -1 recent contributors in Special:UserLogin/signup

2014-07-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54888

Nathan Larson nathanlarson3...@gmail.com changed:

   What|Removed |Added

 CC||nathanlarson3...@gmail.com

--- Comment #7 from Nathan Larson nathanlarson3...@gmail.com ---
Isn't Special:Statistics supposed to update ss_active_users if it hasn't been
updated in the past 24 hours? It looks for the 'activeusers-updated' key and
then runs SiteStatsUpdate::cacheUpdate().

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54888] Fresh install of MediaWiki lists -1 recent contributors in Special:UserLogin/signup

2014-02-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54888

Nemo federicol...@tiscali.it changed:

   What|Removed |Added

   See Also||https://bugzilla.wikimedia.
   ||org/show_bug.cgi?id=20017

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54888] Fresh install of MediaWiki lists -1 recent contributors in Special:UserLogin/signup

2013-10-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54888

--- Comment #4 from Dan Garry dga...@wikimedia.org ---
I think you're right, Steven. I've now created an account on the wiki so I
can't verify that myself, but given that both that magic word and the page
display zero, it seems likely.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54888] Fresh install of MediaWiki lists -1 recent contributors in Special:UserLogin/signup

2013-10-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54888

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

Version|unspecified |1.22-git

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54888] Fresh install of MediaWiki lists -1 recent contributors in Special:UserLogin/signup

2013-10-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54888

--- Comment #5 from Brion Vibber br...@wikimedia.org ---
It was a little tricky to track this down because the code doesn't reference
messages fully by name, but I can confirm that it is using
{{NUMBEROFACTIVEUSERS}} magic word:

  'createacct-benefit-head3'= '{{NUMBEROFACTIVEUSERS}}', # do not
translate or duplicate this message to other languages

That magic word calls SiteStats::activeUsers(), which simply pulls an existing
number out of the site_stats table:

static function activeUsers() {
self::load();
return self::$row-ss_active_users;
}

Looks like it's not updating invalid default data, or something.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54888] Fresh install of MediaWiki lists -1 recent contributors in Special:UserLogin/signup

2013-10-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54888

Ori Livneh o...@wikimedia.org changed:

   What|Removed |Added

 CC||o...@wikimedia.org

--- Comment #6 from Ori Livneh o...@wikimedia.org ---
(In reply to comment #5)
 Looks like it's not updating invalid default data, or something.

$ cat ./maintenance/archives/patch-ss_active_users.sql
-- More statistics, for version 1.14

ALTER TABLE /*$wgDBprefix*/site_stats ADD ss_active_users bigint default '-1';



...wat.


I guess -1 was chosen to clearly differentiate between 'no stats available' and
'stat available and its value is zero', but I'd have guessed that that's what
NULL is for.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54888] Fresh install of MediaWiki lists -1 recent contributors in Special:UserLogin/signup

2013-10-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54888

--- Comment #1 from Steven Walling swall...@wikimedia.org ---
I think this is because a developer counts as a negative contributor. ;)

All jokes aside, that is an odd bug, and if it occurs on a regular fresh
MediaWiki install as well, it'd be nice to get rid of it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54888] Fresh install of MediaWiki lists -1 recent contributors in Special:UserLogin/signup

2013-10-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54888

MZMcBride b...@mzmcbride.com changed:

   What|Removed |Added

 CC||b...@mzmcbride.com

--- Comment #2 from MZMcBride b...@mzmcbride.com ---
I saw this recently when re-installing a test wiki.

Thanks for filing this bug, Dan.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54888] Fresh install of MediaWiki lists -1 recent contributors in Special:UserLogin/signup

2013-10-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54888

--- Comment #3 from Steven Walling swall...@wikimedia.org ---
Note that according to our spec this third item calls the
{{NUMBEROFACTIVEUSERS}} magic word, so the error may actually be with that. You
can test by calling that in a wiki page and seeing if you get the same result.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54888] Fresh install of MediaWiki lists -1 recent contributors in Special:UserLogin/signup

2013-10-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54888

Steven Walling swall...@wikimedia.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Low

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l