Background
User research for Special:GlobalContributions was conducted using Codex designs, with the results displayed in a table. There was a positive response to the Codex table. Users were also keen to keep the list view.
In MediaWiki, there are several special pages that display lists of contributions based on search criteria (Special:Contributions, Special:DeletedContribuitons, Special:IPContributions, and soon Special:GlobalContributions).
Fetching, processing and displaying the results is all handled by a central pager class: ContributionsPager. Due to the way the MediaWiki software is structured, some pagers can show lists, while others can show tables. The ContributionsPager can only show results as lists.
What needs doing
- Add ToggleButtonGroup to Special:GlobalContributions that displays the contributions in a table instead of a list
- This will require implementing a new pager that extends TablePager and re-implementing or somehow sharing the processing that ContributionsPager does
Note
In order to match the designs, the results would be shown in a Codex table, but that depends on T366530: [EPIC] Create a Codex version of TablePager for Special:GlobalContributions
Design (Figma)
Desktop mockup
Interaction notes
- User can switch between table or list view using ToggleButtonGroup
- Default pagination is 50, 100, 250 and 500
- Default sorting is by date descending order
- Table sorting is available for the following columns: Date, Wiki project, Page title and Size
- 'Reverted' edit summary tag uses InfoChip

