Page MenuHomePhabricator

NewPagesFeed date filter changes when only "to" value specified and page is reloaded
Open, Needs TriagePublicBUG REPORT

Description

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

  • https://en.wikipedia.org/wiki/Special:NewPagesFeed
  • Select "New Page Patrol" (not "Articles for Creation")
  • Filter only by "unreviewed pages" and "all others"
  • Specify only a "to" date (e.g. up to 19 August 2024). Leave the "from" date blank.
  • Click "Set filters"
  • Reload the page.

What happens?:
The "created by" date unexpectedly advances by two days. For instance, in one triage session, I have redirects created by 19 August 2024. I reload the page (either directly in my browser or by returning to the page after browsing elsewhere), and I find that the queue is now filtered to redirects created by 21 August 2024, without having changed any filter settings myself. I noticed the same problem occurs when filtering by "Redirects (not RfD)" and "All others".

What should have happened instead?:
I would expect that my filter settings do not change between one session browsing the new pages queue in the next; if I had e.g. 19 August before, I should still have 19 August.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
Firefox 130

Event Timeline

Novem_Linguae subscribed.

I was able to reproduce this. Definitely a bug.

Novem_Linguae renamed this task from NewPagesFeed date filter changing to NewPagesFeed date filter changes when only "to" value specified and page is reloaded.Sep 10 2024, 1:18 AM
Novem_Linguae moved this task from Backlog to Other bugs on the PageTriage board.

Just to note, the bug exists for AfC too. Steps to reproduce:

  1. Go to Special:NewPagesFeed, then click "Articles for Creation"
  2. Choose a "to" date. Say 11/05/2025 (in mm/dd/yyyy format)
  3. Click "Set Filters". The To date shows correctly.
  4. Now refresh the page (F5). The To date skips forward by 2 (to 11/07/2025)
  5. Refreshing again has the same effect of the date jumping by 2 days.