(bug 48212) Fix I720946e7: $this->opts['year'] shouldn't be modified.
authorLiangent <liangent@gmail.com>
Tue, 7 May 2013 15:43:22 +0000 (15:43 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 7 May 2013 19:31:59 +0000 (19:31 +0000)
commitaf764dba38b2b3aa15433d6f55dbed18f217944c
tree99b985698b7bba6ea5a603a61272011092183a81
parent47b02c5030c35105e153c27b3b538169e89b125a
(bug 48212) Fix I720946e7: $this->opts['year'] shouldn't be modified.

Otherwise, the offset is set automatically based on the default 'year'
parameter, then ReverseChronologicalPager gets misled and assumes that
the user have already specified a starting point so there must be a
previous page, causing a 'prev' link returning nothing shown.

Bug: 48212
Bug: 45580
Change-Id: I5341ff8c0d0422b9b3184dce74f0f143822cfe93
includes/specials/SpecialContributions.php