* Fix issue with "next" link going to the same place when date given (bug 15364)
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 29 Aug 2008 05:19:05 +0000 (05:19 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 29 Aug 2008 05:19:05 +0000 (05:19 +0000)
* Remove some cruft in ContribsPager

includes/Pager.php
includes/specials/SpecialContributions.php

index c4d55b6..f3d99f6 100644 (file)
@@ -352,6 +352,8 @@ abstract class IndexPager implements Pager {
                        unset( $this->mDefaultQuery['offset'] );
                        unset( $this->mDefaultQuery['limit'] );
                        unset( $this->mDefaultQuery['order'] );
+                       unset( $this->mDefaultQuery['month'] );
+                       unset( $this->mDefaultQuery['year'] );
                }
                return $this->mDefaultQuery;
        }
index c9798e2..74c5f3a 100644 (file)
@@ -30,8 +30,6 @@ class ContribsPager extends ReverseChronologicalPager {
        function getDefaultQuery() {
                $query = parent::getDefaultQuery();
                $query['target'] = $this->target;
-               $query['month'] = $this->mMonth;
-               $query['year'] = $this->mYear;
                return $query;
        }