Index: trunk/phase3/includes/Article.php |
— | — | @@ -1078,7 +1078,8 @@ |
1079 | 1079 | protected function showLogs() { |
1080 | 1080 | global $wgUser, $wgOut; |
1081 | 1081 | $loglist = new LogEventsList( $wgUser->getSkin(), $wgOut ); |
1082 | | - $pager = new LogPager( $loglist, array('move', 'delete'), false, $this->mTitle->getPrefixedText() ); |
| 1082 | + $pager = new LogPager( $loglist, array('move', 'delete'), false, |
| 1083 | + $this->mTitle->getPrefixedText(), '', array( "log_action != 'revision'" ) ); |
1083 | 1084 | if( $pager->getNumRows() > 0 ) { |
1084 | 1085 | $pager->mLimit = 10; |
1085 | 1086 | $wgOut->addHTML( '<div class="mw-warning-with-logexcerpt">' ); |
Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -2465,7 +2465,8 @@ |
2466 | 2466 | global $wgUser; |
2467 | 2467 | $loglist = new LogEventsList( $wgUser->getSkin(), $out ); |
2468 | 2468 | $pager = new LogPager( $loglist, array('move', 'delete'), false, |
2469 | | - $this->mTitle->getPrefixedText(), '', array('log_action'=>'delete') ); |
| 2469 | + $this->mTitle->getPrefixedText(), '', array( "log_action != 'revision'" ) ); |
| 2470 | + |
2470 | 2471 | $count = $pager->getNumRows(); |
2471 | 2472 | if ( $count > 0 ) { |
2472 | 2473 | $pager->mLimit = 10; |