The Number of Changes Selector enables users to select how many changes they wish to see in Recent Changes results. In addition to the functions described in T162786, the tool will also include an option for 'Oldest first' mode.
- The menu also includes the following "Sorting" options, with associated radio buttons: "Newest first", "Oldest first"
- Clicking "Oldest first" causes the following to happen:
- Results are re-sorted, so that the result at the top of the list comes from 30 x 24 hours ago, and all the other changes are displayed in chronological order from that point.
- The top-level label on the Number of Changes Selector changes from "Show last x changes" to "Show oldest x changes."
- When results are in "Oldest first" mode:
- The "View newest changes" link is not displayed, either on the first, main page or the "last" page, (which now has the newest results).
- Live Updates is unavailable and the button is grayed out.
- The "Newer X" and "Older X" pagination buttons continue to do what their names suggest: however, this means the direction of navigation they facilitate is reversed. E.g., "Newer X" takes users "back" away from the main RC Page and toward what's now the bottom of the queue (where results are newest), while the "Older X" pagination button takes users toward the top of the queue and the main RC Page (where results are oldest).
- On the very "last" page of results, where the newest results are, the "Newer" button is grayed out—and it stays grayed out. I.e., we do not offer the user the option to keep paging in to the future as newer results become available in Oldest First mode.
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, selecting "oldest first" will be reflected by replacing "Show last X changes" by "Show oldest X changes". The diagram below shows how the initial message is adapted to the different changes in size, sort order and grouping (check T168513 for more on 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.