From f5c6e4811f118252f76981462956a8cc9edd1a50 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Tue, 3 Aug 2010 20:50:52 +0000 Subject: [PATCH] Don't duplicate the "title" query parameter Kind of hacky to just unset this one parameter, but it's what Pager.php does. --- includes/CategoryPage.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 9dee97263d..28f8a38345 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -86,6 +86,7 @@ class CategoryViewer { $this->limit = $wgCategoryPagingLimit; $this->cat = Category::newFromTitle( $title ); $this->query = $query; + unset( $this->query['title'] ); } /** -- 2.20.1