Page MenuHomePhabricator

Codex-PHP: Table sort URLs don't keep other parameters
Closed, ResolvedPublicBUG REPORT

Description

The table header sort links do not maintain parameters other than offset, limit, sort, asc, and desc. This means that, for example, when viewing a MediaWiki page via the ?title=Lorem URL form, the title is dropped and the user is sent to the homepage when clicking on a sort link:

https://en.wikipedia.beta.wmcloud.org/w/index.php?title=Special:WatchlistLabels

All existing URL parameters should be kept, other than the ones being changed by the column sorting (i.e. asc or desc get dropped when switching between them).

Event Timeline

Restricted Application added a subscriber: • Aklapper. · View Herald Transcript

Change #1226767 had a related patch set uploaded (by SarthakSingh2904; author: SarthakSingh2904):

[design/codex-php@main] Table: Preserve all URL parameters in sort links

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

Change #1226767 merged by jenkins-bot:

[design/codex-php@main] Table: Preserve all URL parameters in sort links

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

• Samwilson changed the task status from Open to In Progress.Jan 27 2026, 8:40 AM