dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab6568d
)
Make it possible to prefix the line by hooks
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 7 Apr 2008 16:48:51 +0000
(16:48 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 7 Apr 2008 16:48:51 +0000
(16:48 +0000)
includes/PageHistory.php
patch
|
blob
|
history
diff --git
a/includes/PageHistory.php
b/includes/PageHistory.php
index
1c39955
..
b6edcaa
100644
(file)
--- a/
includes/PageHistory.php
+++ b/
includes/PageHistory.php
@@
-209,7
+209,7
@@
class PageHistory {
$rev = new Revision( $row );
$rev->setTitle( $this->mTitle );
- $s = '
<li>
';
+ $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 .= "</li>\n";
- return
$s
;
+ return
"<li>$s</li>\n"
;
}
/**