r41434 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41433‎ | r41434 | r41435 >
Date:17:35, 30 September 2008
Author:aaron
Status:old
Tags:
Comment:
Just use showLogExtract()
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/Stabilization_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/Stabilization_body.php
@@ -167,10 +167,7 @@
168168 $wgOut->addHTML( $form );
169169
170170 $wgOut->addHtml( Xml::element( 'h2', NULL, htmlspecialchars( LogPage::logName( 'stable' ) ) ) );
171 - $logViewer = new LogViewer(
172 - new LogReader( new FauxRequest(
173 - array( 'page' => $this->page->getPrefixedText(), 'type' => 'stable' ) ) ) );
174 - $logViewer->showList( $wgOut );
 171+ LogEventsList::showLogExtract( $wgOut, 'stable', $this->page->getPrefixedText() );
175172 }
176173
177174 function submit() {

Status & tagging log