Page MenuHomePhabricator

Add test for WikiPage post-edit stats update
Closed, ResolvedPublic

Description

https://gerrit.wikimedia.org/r/#/c/409710/ broke the updating of ss_total_pages due to a misnamed array parameter key of total vs pages.

  • Evaluate whether this could/should be a run-time failure (e.g. unknown parameter being set).
  • Add PHPUnit test to verify that this works going forward (e.g. make an edit, trigger updates/jobs, assert)

(Issue was fixed in https://gerrit.wikimedia.org/r/#/c/411400/)

Event Timeline

Should we have a separate task for running initSiteStats.php in wmf prod? IIUC we've not tracked any pages created since mw1.31-wmf.21.

And as far as I can tell from puppet we have no system in place to update page counts regularly - as opposed to article counts, which are refreshed monthly since T68867. (This is maybe something we should reconsider anyways, I'll reopen T59788 for that.)

Change 415212 had a related patch set uploaded (by Aaron Schulz; owner: Aaron Schulz):
[mediawiki/core@master] Add test for WikiPage post-edit stats update

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

Change 415212 merged by jenkins-bot:
[mediawiki/core@master] Add test for WikiPage post-edit stats update

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