r51041 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51040‎ | r51041 | r51042 >
Date:02:19, 27 May 2009
Author:aaron
Status:deferred
Tags:
Comment:
(bug 18747) Show only page deletion log extracts, not revisiondelete ones
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -2448,7 +2448,8 @@
24492449 protected function showLogs( $out ) {
24502450 global $wgUser;
24512451 $loglist = new LogEventsList( $wgUser->getSkin(), $out );
2452 - $pager = new LogPager( $loglist, array('move', 'delete'), false, $this->mTitle->getPrefixedText() );
 2452+ $pager = new LogPager( $loglist, array('move', 'delete'), false,
 2453+ $this->mTitle->getPrefixedText(), '', array('log_action'=>'delete') );
24532454 $count = $pager->getNumRows();
24542455 if ( $count > 0 ) {
24552456 $pager->mLimit = 10;

Follow-up revisions

RevisionCommit summaryAuthorDate
r51956Show right logs when viewing/creating deleted page...simetrical10:26, 16 June 2009

Status & tagging log