RCFilters is the filtering system used on Special:RecentChanges and Special:Watchlist. It enables editors to set filters on the edits being displayed below, such as 'bot edits', 'minor edits', and on projects with the ORES extension configured, whether the edits are likely to be good or bad. As our team is planning some Q3 work on RecentChanges, we want to explore migrating this UI to Codex, so that it is brought in line with other new software and - ultimately - the rest of the Wikimedia design system. We hope this will additionally make it more accessible and easier to use.
Below is an attempt to document the major features of RCFilters which will require Codex-ifying:
Filter UI
Users can select filters from three different lists - Filters, Namespaces, and Tags. Filters is the main list of edit types that can be filtered for. Selecting a filter will limit results to edits matching that property. Selecting multiple filters will combine them in an OR combination.
The main list of filters has approximately 20-30 options depending on context, and is currently divided into different sections (e.g. 'User registration and experience', 'Significance') to aid navigation.
The Namespaces and Tags filters are selected from separate lists. They work a little differently, providing an additional 'Exclude selected' button, which enables editors to not only filter for a selection, but to instead exclude that selection.
The Namespaces filter provides a list of all namespaces on the current wiki, with approximately 30 entries divided into pairs of matching namespace and corresponding discussion page. The Tags filter provides a list of all edit tags used on the current wiki, containing up to more than 100 entries
| Namespaces | Tags |
A 'Clear selected filters' button is provided to remove all active filters:
Highlight results
When selecting filters, editors can optionally highlight edits matching a filter condition with a colour, without removing all non-matching edits. 5 colours are provided.
Active filters
Selected filters are displayed prominently, so that editors know which filters are currently active. Highlight filters are displayed with a small colour dot.
Saved filters
Editors can save combinations of filters to easily switch between filter sets. The current combination of filters can be saved using the 'Save current filter settings' button and dialog, and can optionally select this combination as the default when opening RecentChanges or Watchlist:
If a saved filter combination is selected, its name appears above the list of filters:
Saved filters can be browsed in a list to easily switch between them:
Documentation
- https://www.mediawiki.org/wiki/Edit_Review_Improvements/New_filters_for_edit_review
- https://www.mediawiki.org/wiki/ORES/RCFilters
Designs
| 1. Filters | 2. Filter list | 3. Namespaces list | 4. Tags list | 5. Topics list | 6. Active filters & chips | 7. Save filters | 8. Mobile: Filters | 9. Mobile: Filters list | 10. Mobile: Highlighting | 11. Mobile: Active filters |
Updates to filters:
Desktop:
- Filters: All of the different options - 'Filters', 'Namespaces', 'Tags', 'Topics' (coming soon) are part of a toggle button group.
- On default the 'Filters' will be toggled when opening the page.
2-5: When toggling on one of the filter options, a list with all the filter options will appear.
- There won't be any checkboxes indicating selected filters; the selection will be visible by the change in the background color of the selected filter items.
- One won't be able to navigate to the different filter groups via the filter list. The way to switch between the filter groups will be via the toggle button group.
6 . Active filters & chips: Tapping on the active chips will not display a tooltip with more information about the filter.
- Options to highlight filters will be present as well as the option to 'exclude selected'. The excluded filters will now have a 'cancel' icon inside the chip indicating that it is excluded rather than the not.
7 . Save filters: Currently, the popup component T363375 is not part of codex. For now, a dialogue will be used for this flow.
Mobile:
- Mobile Filters: To have consistency across the desktop and mobile experience the same 'MultiSelectLookup' will be used for the filters, which will include the opportunity search for specific filters.
- Similarly to desktop, the different filters will be selectable within a toggle button group.
9-11: The ability to highlight certain filters will be possible.
- Similarly to desktop, excluded filters will be indicated with a 'cancel' icon inside the chip.























