Page MenuHomePhabricator

New Codex UI for pagination / page navigation in Special pages
Open, Needs TriagePublic

Description

Goal is to provide a new pagination UI that can be used on special pages (and elsewhere), such as Special:Contributions, Special:Search, page history, Special:Allpages etc.

The new pagination would use Codex styles, buttons, icons and design tokens.

We initially explored creating a more general Codex component however the pagination used on SpecialPages tends to have the buttons (e.g. "next", "prev") as links and it does not require JavaScript. The contents of the special pages are also server-side generated and do not require JS.

Designs and styles for the pagination would be similar to the TablePager in the Codex Table component, and there are designs linked in this related task: https://phabricator.wikimedia.org/T368423

Event Timeline

Change #1206491 had a related patch set uploaded (by Aude; author: Aude):

[mediawiki/core@master] WIP - Implement CodexPaginationBuilder (e.g. for special pages)

https://gerrit.wikimedia.org/r/1206491

Change #1206931 had a related patch set uploaded (by Cparle; author: Aude):

[mediawiki/core@master] WIP - Implement CodexPaginationBuilder (e.g. for special pages)

https://gerrit.wikimedia.org/r/1206931

Change #1206491 abandoned by Aude:

[mediawiki/core@master] WIP - Implement CodexPaginationBuilder (e.g. for special pages)

Reason:

wip

https://gerrit.wikimedia.org/r/1206491

Change #1206950 had a related patch set uploaded (by Cparle; author: Dmaza):

[mediawiki/core@master] [WIP] Update paging navigation

https://gerrit.wikimedia.org/r/1206950

Change #1206931 abandoned by Cparle:

[mediawiki/core@master] WIP - Implement CodexPaginationBuilder (e.g. for special pages)

Reason:

https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1206950

https://gerrit.wikimedia.org/r/1206931

Change #1213527 had a related patch set uploaded (by Cparle; author: Cparle):

[mediawiki/core@master] Update paging on Special:Search

https://gerrit.wikimedia.org/r/1213527

Change #1206950 merged by jenkins-bot:

[mediawiki/core@master] Pager: Refactor CodexTablePager to use CodexPagerNavigationBuilder

https://gerrit.wikimedia.org/r/1206950

Change #1213527 merged by jenkins-bot:

[mediawiki/core@master] Update paging on Special:Search

https://gerrit.wikimedia.org/r/1213527

Change #1224108 had a related patch set uploaded (by A smart kitten; author: Cparle):

[mediawiki/core@master] Revert^2 "Update paging on Special:Search"

https://gerrit.wikimedia.org/r/1224108

Change #1224108 merged by jenkins-bot:

[mediawiki/core@master] Revert^2 "Update paging on Special:Search"

https://gerrit.wikimedia.org/r/1224108

As a user, I was confused by the location of the "next" button. I suggest/request moving those buttons so that they are directly next to the page-quantity dropdown menu, near where the former equivalent-links used to be.
I.e. The wide-separation in this screenshot confused me; especially so because I'm a longterm user who expects to find "next" in the usual place, but I believe this would apply to any new user, too:

image.png (600×1 px, 124 KB)

KSiebert subscribed.

We will go back to this one during Wishathon in May 2026.