RangeChronologicalPager: Don't clear $offset when $this->rangeConds is set
authorRoan Kattouw <roan.kattouw@gmail.com>
Fri, 16 Jun 2017 23:12:31 +0000 (16:12 -0700)
committerRoan Kattouw <roan.kattouw@gmail.com>
Fri, 16 Jun 2017 23:12:31 +0000 (16:12 -0700)
commitb4ef22f17f3fb726510759fee72668a7bcb254f8
tree78585e0615849fb7ae71c2034d678b605c1c7e19
parentdad2306a78896fc732f88b9a48a97d01d97fa365
RangeChronologicalPager: Don't clear $offset when $this->rangeConds is set

It has the effect of breaking pagination entirely when a date range
is set. Special:Contributions doesn't break this way because it has
its own code clearing start/end when offset is set, but Special:Newfiles
does break.

Change-Id: Ie9b26a4b54ebc608035c942b5bdc6ee26b82bc1e
includes/pager/RangeChronologicalPager.php