dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36e343c
)
Don't duplicate the "title" query parameter
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Tue, 3 Aug 2010 20:50:52 +0000
(20:50 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Tue, 3 Aug 2010 20:50:52 +0000
(20:50 +0000)
Kind of hacky to just unset this one parameter, but it's what Pager.php
does.
includes/CategoryPage.php
patch
|
blob
|
history
diff --git
a/includes/CategoryPage.php
b/includes/CategoryPage.php
index
9dee972
..
28f8a38
100644
(file)
--- 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'] );
}
/**