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:
6e8f397
)
No need to show links if any type is given at all
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 27 Oct 2008 07:25:11 +0000
(07:25 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 27 Oct 2008 07:25:11 +0000
(07:25 +0000)
includes/LogEventsList.php
patch
|
blob
|
history
diff --git
a/includes/LogEventsList.php
b/includes/LogEventsList.php
index
91f4acf
..
2e57200
100644
(file)
--- a/
includes/LogEventsList.php
+++ b/
includes/LogEventsList.php
@@
-497,9
+497,12
@@
class LogPager extends ReverseChronologicalPager {
public function getFilterParams() {
global $wgFilterLogTypes, $wgUser, $wgRequest;
$filters = array();
+ if( $this->type ) {
+ return $filters;
+ }
foreach( $wgFilterLogTypes as $type => $default ) {
// Avoid silly filtering
- if( $type !==
$this->type && ($type !== 'patrol' || $wgUser->useNPPatrol()
) ) {
+ if( $type !==
'patrol' || $wgUser->useNPPatrol(
) ) {
$hide = $wgRequest->getInt( "hide{$type}log", $default );
$filters[$type] = $hide;
if( $hide )