Page MenuHomePhabricator

On special contributions the dir=prev parameter is not working with the start= parameter
Open, Needs TriagePublic

Description

Problem: When using Special:Contributions the parameter dir=prev passed from the "oldest" link does not reflect the bounds of a start= parameter if present

Example:
https://en.wikipedia.org/w/index.php?title=Special:Contributions&dir=prev&target=Xaosflux&namespace=all&tagfilter=&start=2019-01-01&end=2019-12-31

Expected output: The earliest contributions that match all of the parameters, including the range.
Actual output: The earliest contributions that match all of the parameters except for the range

The dir=prev does seem to work with a workaround styling such as:
https://en.wikipedia.org/w/index.php?title=Special:Contributions&offset=20190101010000&dir=prev&contribs=user&target=Xaosflux

However, this is not presented to to UI (the UI presents this parameter from the "(oldest)" link on the results page - and the UX is that this would refine the result ordering especially as the range is still maintained)

https://www.mediawiki.org/wiki/Manual:Parameters_to_index.php suggests this should respect the bounds.

Event Timeline

Xaosflux updated the task description. (Show Details)
Reedy renamed this task from On special contirbutions the dir=prev parameter is not working with the start= parameter to On special contributions the dir=prev parameter is not working with the start= parameter.Jan 27 2021, 11:45 PM