From af2c5001236a3bf3eef1437608fa419f6ab3aed5 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 27 Jun 2007 21:02:49 +0000 Subject: [PATCH] Revert r23034 for the moment; made it hard to clearly extract log line information via cut-n-paste since date is missing --- includes/SpecialLog.php | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/includes/SpecialLog.php b/includes/SpecialLog.php index 9a4e543d62..e263813fb8 100644 --- a/includes/SpecialLog.php +++ b/includes/SpecialLog.php @@ -322,25 +322,13 @@ class LogViewer { } function doShowList( &$out, $result ) { - global $wgLang; - - $lastdate = ''; - $listopen = false; // Rewind result pointer and go through it again, making the HTML - $html = ''; + $html = "\n\n"; $out->addHTML( $html ); $result->free(); } @@ -358,7 +346,7 @@ class LogViewer { global $wgLang, $wgUser;; $skin = $wgUser->getSkin(); $title = Title::makeTitle( $s->log_namespace, $s->log_title ); - $time = $wgLang->time( wfTimestamp(TS_MW, $s->log_timestamp), true ); + $time = $wgLang->timeanddate( wfTimestamp(TS_MW, $s->log_timestamp), true ); // Enter the existence or non-existence of this page into the link cache, // for faster makeLinkObj() in LogPage::actionText() @@ -412,7 +400,7 @@ class LogViewer { } $action = LogPage::actionText( $s->log_type, $s->log_action, $title, $this->skin, $paramArray, true, true ); - $out = "$time $userLink $action $comment $revert"; + $out = "
  • $time $userLink $action $comment $revert
  • \n"; return $out; } -- 2.20.1