From 3a32a6ec04c5ddc8ead37558ccc7ac374a32ddc3 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 7 Apr 2008 16:48:51 +0000 Subject: [PATCH] Make it possible to prefix the line by hooks --- includes/PageHistory.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/PageHistory.php b/includes/PageHistory.php index 1c3995595c..b6edcaa4fa 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -209,7 +209,7 @@ class PageHistory { $rev = new Revision( $row ); $rev->setTitle( $this->mTitle ); - $s = '
  • '; + $s = ''; $curlink = $this->curLink( $rev, $latest ); $lastlink = $this->lastLink( $rev, $next, $counter ); $arbitrary = $this->diffButtons( $rev, $firstInList, $counter ); @@ -288,10 +288,8 @@ class PageHistory { } wfRunHooks( 'PageHistoryLineEnding', array( &$row , &$s ) ); - - $s .= "
  • \n"; - return $s; + return "
  • $s
  • \n"; } /** -- 2.20.1