From: Aaron Schulz Date: Mon, 7 Apr 2008 16:48:51 +0000 (+0000) Subject: Make it possible to prefix the line by hooks X-Git-Tag: 1.31.0-rc.0~48555 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=3a32a6ec04c5ddc8ead37558ccc7ac374a32ddc3;p=lhc%2Fweb%2Fwiklou.git Make it possible to prefix the line by hooks --- 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"; } /**