Page MenuHomePhabricator

Number of edits to show in recent changes is not working with the JavaScript interface
Open, Needs TriagePublicBUG REPORT

Description

In preferences if you choose a setting "Number of edits to show in recent changes, page histories, and in logs, by default" and type for example "300" there it doesn't affect to recent changes page if you use the JavaScript interface ("Use non-JavaScript interface" not ticked in preferences).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

The issue exists when "Use non-JavaScript interface" option is used too. The number of items on RC and Watchlist will be off by 103 items comparing to what was selected by a user.
To reproduce:

  • go with the default number 50. Discard all filters, un-check all options in the Preferences -Recent changes that may limit the number of returned items.
  • on RC page run '.mw-changeslist li' .length - the number will be 48
  • change the setting for the number of items returned to - 100. The count will be 97.

When looking into it, I found that 40 is for some reason a special number- up to 40, the count is correct; after 40 (45, 50 etc) the number of items will be off.

kostajh changed the subtype of this task from "Task" to "Bug Report".Aug 30 2019, 8:03 AM
kostajh moved this task from Inbox to Q2 2019-20 on the Growth-Team board.
kostajh subscribed.

Tentatively moving this to Q2.