Page MenuHomePhabricator

Decrease wgWatchersMaxAge to 30 days, and display this on `action=info`
Closed, ResolvedPublic

Description

As part of the 2023 Community Wishlist Survey proposal to Change information about the number of watchers on a page, the $wgWatchersMaxAge variable should be decreased to 2592000 (30 * 24 * 3600 = 30 days).

Additionally, the Number of page watchers who visited recent edits label on action=info should specify this time period — i.e. Number of page watchers who visited recent edits in the last X days

Acceptance criteria

  • $wgWatchersMaxAge is reduced from 15552000 (180 days) to 2592000 (30 days)
  • action=info displays the time period computed from $wgWatchersMaxAge

Event Timeline

Change 919023 had a related patch set uploaded (by Sarah Mukuti; author: Sarah Mukuti):

[operations/mediawiki-config@master] InitialiseSettings: Set wgWatchersMaxAge=30days

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

Change 919023 merged by jenkins-bot:

[operations/mediawiki-config@master] InitialiseSettings: Set wgWatchersMaxAge=30days

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

Mentioned in SAL (#wikimedia-operations) [2023-05-18T13:06:09Z] <samtar@deploy1002> Started scap: Backport for [[gerrit:919023|InitialiseSettings: Set wgWatchersMaxAge=30days (T336250)]]

Mentioned in SAL (#wikimedia-operations) [2023-05-18T13:07:40Z] <samtar@deploy1002> samtar and s-mukuti: Backport for [[gerrit:919023|InitialiseSettings: Set wgWatchersMaxAge=30days (T336250)]] synced to the testservers: mwdebug1002.eqiad.wmnet, mwdebug1001.eqiad.wmnet, mwdebug2001.codfw.wmnet, mwdebug2002.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-05-18T13:14:54Z] <samtar@deploy1002> Finished scap: Backport for [[gerrit:919023|InitialiseSettings: Set wgWatchersMaxAge=30days (T336250)]] (duration: 08m 45s)

wgWatchersMaxAge has been reduced from 180 days to 30 days — the Number of page watchers who visited recent edits shown in page information will likely have dropped to reflect this change

TheresNoTime updated the task description. (Show Details)
TheresNoTime updated Other Assignee, added: TheresNoTime.

Change 923692 had a related patch set uploaded (by EllenR; author: EllenR):

[mediawiki/extensions/MediaModeration@master] WIP cont verify that file is an image

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

it only remains to update the number of watched pages who visited recent edits in the last 30 days.

Change #1018728 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/core@master] InfoAction: Explain to users how long WatchersMaxAge is, not just 'recent'

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

Related to this, do we need to add a check for "too few"? There are many pages at the English Wikipedia that have 30+ "watchers" (so the number gets shown) but a single-digit number of watchers who are active editors. People can see "on 50 watchlists, but zero active editors are actually available" (officially, "There may or may not be a watching user visiting recent edits"). It might be better if it wasn't so easy to see that zero or only one person (probably you) were watching a page.

Change #1018728 merged by jenkins-bot:

[mediawiki/core@master] InfoAction: Explain to users how long WatchersMaxAge is, not just 'recent'

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

Change #1025677 merged by jenkins-bot:

[mediawiki/core@master] InfoAction: Specify days directly in pageinfo-visiting-watchers

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

Krinkle assigned this task to Jdforrester-WMF.
Krinkle triaged this task as Medium priority.