Page MenuHomePhabricator

Show total number of pages in Special:PendingChanges and Special:UnreviewedPages
Closed, ResolvedPublicFeature

Description

Currently there is no way to see the total number of pages in those special pages (and the such) except for clicking "show the next 100" ad nausea. This is frustrating and demoralizing in clean-up campaigns. Pages should be automatically counted and the number shown somewhere. If the process can be considered too "expensive" on the server side, it can be limited so that it shows something like "more than X pages" once the X-limit is reached.

Link for the EnWiki discussion

This task mentions those 2 special pages because that's what we're currently dealing with but the same logic could be extended to other similar special pages if they exist.

Event Timeline

Dogu changed the task status from Open to In Progress.Jul 30 2024, 12:40 PM
Dogu subscribed.

It has been done in T369651, and the UI has also been changed.

Dogu claimed this task.

Using an info chip for this piece of information makes no sense – neither semantically (an info chip is a keyword, not part of a sentence) nor aesthetically. I can’t even triple-click-select the sentence because the info chip doesn’t support being triple-click-selected along with the context (since there should be no context). A simple <strong> instead of the info chip would have sufficed – or following the Codex table specifications more precisely, and hiding the number of pending changes in the pagination: Showing rows 1–50 of 1234 tells that there are currently 1234 pending changes.

Using an info chip for this piece of information makes no sense – neither semantically (an info chip is a keyword, not part of a sentence) nor aesthetically. I can’t even triple-click-select the sentence because the info chip doesn’t support being triple-click-selected along with the context (since there should be no context). A simple <strong> instead of the info chip would have sufficed – or following the Codex table specifications more precisely, and hiding the number of pending changes in the pagination: Showing rows 1–50 of 1234 tells that there are currently 1234 pending changes.

@Tacsipacsi, the TablePager class has not been updated with Codex table pagination yet, so I've found a solution using a chip. I will update the TablePager class as soon as possible.

I don’t know the code, but I’m pretty sure you don’t need TablePager to be updated in order to use a simple <strong>: wherever you’re able to use complex HTML, you should also be able to use simple HTML. Following the Codex table specifications would be ideal, not using a wrong component (info chip) should be the minimum.