Page MenuHomePhabricator

Enable 'Group results by page' preference on the RC page itself
Closed, ResolvedPublic


Grouping changes by the affected page can be useful to have a better overview of what changed. Currently this option is provided though the Preferences settings but it may make sense to provide amore direct access to it.

This ticket shows how we will replace the Preference option with control right on the Recent Changes page in the "Number of Changes Selector" (T162786). Selecting the "Group results by page" option will display the list of recent changes by grouping them for each page.

RC-next-pagination-grouping-option.png (768×1 px, 235 KB)
RC-next-pagination-grouping.png (768×1 px, 236 KB)

Reflecting the settings in the drop-down label
In order to capture the current status, the drop-down label will reflect the current settings. For this particular case, enabling "grouping" will be reflected by removing the "View" part (making it implicit to get some more room) and adding the "by page" part. The diagram below shows how the initial message is adapted to the different changes in size, sort order and grouping. Not all combinations are illustrated (e.g., First 500 changes by page") but the examples shown should be enough to describe how the messages should be built.

RC-next-pagination-label.png (438×1 px, 52 KB)

Relationship to preferences page: The ultimate intention is to remove the preference on the Preferences page for this, for users who have the beta. But that all needs to be worked out. So in the near term, let's just make these preferences simply update one another. I.e., if a change is made in one location, it must be reflected also in the other.

T159896 is a related task, though not precisely a sub-task.

Event Timeline

jmatazzoni renamed this task from Allow grouping recent changes by page to Enable 'Group results by page' preference on the RC page itself.Jul 7 2017, 4:51 PM

Change 366497 had a related patch set uploaded (by Mattflaschen; owner: Mooeypoo):
[mediawiki/core@master] [wip^n] Group results by page

Change 366497 merged by jenkins-bot:
[mediawiki/core@master] RCFilters: Add 'enhanced' view (Group by pages)

Except for the sort order options, all specs work as expected - checked in betalabs and wmf.15 (cawiki).

QA Recommendation: Resolve