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:
2bc3c20
)
*Add some cute hooks; possible flaggedrevs use
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 25 Mar 2007 23:06:52 +0000
(23:06 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 25 Mar 2007 23:06:52 +0000
(23:06 +0000)
includes/PageHistory.php
patch
|
blob
|
history
diff --git
a/includes/PageHistory.php
b/includes/PageHistory.php
index
94b55ea
..
ffb326d
100644
(file)
--- a/
includes/PageHistory.php
+++ b/
includes/PageHistory.php
@@
-99,6
+99,8
@@
class PageHistory {
$wgOut->redirect( $wgTitle->getLocalURL( "action=history&limit={$limit}&dir=prev" ) );
return;
}
+
+ wfRunHooks( 'BeginPageHistoryBeforeList', array( &$this , &$s ) );
/**
* Do the list
@@
-246,6
+248,9
@@
class PageHistory {
if( $wgUser->isAllowed( 'rollback' ) && $latest ) {
$s .= ' '.$this->mSkin->generateRollback( $rev );
}
+
+ wfRunHooks( 'PageHistoryLineEnding', array( &$row , &$s ) );
+
$s .= "</li>\n";
return $s;