From: Aryeh Gregor Date: Tue, 3 Aug 2010 20:50:52 +0000 (+0000) Subject: Don't duplicate the "title" query parameter X-Git-Tag: 1.31.0-rc.0~35747 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24ze_article%22%29%20.%20%22?a=commitdiff_plain;h=f5c6e4811f118252f76981462956a8cc9edd1a50;p=lhc%2Fweb%2Fwiklou.git Don't duplicate the "title" query parameter Kind of hacky to just unset this one parameter, but it's what Pager.php does. --- 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'] ); } /**