[go: up one dir, main page]

Page MenuHomePhabricator

Activeuser count never updated unless updateSpecialPages.php is run
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Run a normal wiki with $wgMiserMode = false;
  • Note that {{ACTIVEUSERS}} and the count on Special:Createaccount and Special:Statistics just gets further and further out of date

What happens?:

The active user count is never updated

What should have happened instead?:

There should be some mechanism to update the count when $wgMiserMode = false; The general expectation is you only need to run updateSpecialPages.php if you have $wgMiserMode = true;

Probably one of two things should happen:

  • Since we are not in miser mode and don't care about hurting the DB, we should just dynamically calculate it each time with some caching, just like numberingroup
  • We should recalculate it as part of the RecentChange update job that updates Special:ActiveUsers

This is a regression of T17666: "Active users" count invalid if updateSpecialPages hasn't been run

Software version (skip for WMF-hosted wikis like Wikipedia):

master

Event Timeline

Change 904947 had a related patch set uploaded (by Brian Wolff; author: Brian Wolff):

[mediawiki/core@master] Ensure {{ACTIVEUSERS}} gets purged for non miser-mode wikis

https://gerrit.wikimedia.org/r/904947

Change 904947 merged by jenkins-bot:

[mediawiki/core@master] Ensure {{ACTIVEUSERS}} gets purged for non miser-mode wikis

https://gerrit.wikimedia.org/r/904947

Bawolff claimed this task.

Change 905968 had a related patch set uploaded (by Brian Wolff; author: Brian Wolff):

[mediawiki/core@REL1_40] Ensure {{ACTIVEUSERS}} gets purged for non miser-mode wikis

https://gerrit.wikimedia.org/r/905968

Change 905961 had a related patch set uploaded (by Brian Wolff; author: Brian Wolff):

[mediawiki/core@REL1_39] Ensure {{ACTIVEUSERS}} gets purged for non miser-mode wikis

https://gerrit.wikimedia.org/r/905961

Change 905968 merged by jenkins-bot:

[mediawiki/core@REL1_40] Ensure {{ACTIVEUSERS}} gets purged for non miser-mode wikis

https://gerrit.wikimedia.org/r/905968

Change 905961 merged by jenkins-bot:

[mediawiki/core@REL1_39] Ensure {{ACTIVEUSERS}} gets purged for non miser-mode wikis

https://gerrit.wikimedia.org/r/905961