dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
API: Clean up uncaught exception backtrace output
[lhc/web/wiklou.git]
/
includes
/
actions
/
HistoryAction.php
diff --git
a/includes/actions/HistoryAction.php
b/includes/actions/HistoryAction.php
index
3be8aff
..
6ee5d2c
100644
(file)
--- a/
includes/actions/HistoryAction.php
+++ b/
includes/actions/HistoryAction.php
@@
-204,7
+204,7
@@
class HistoryAction extends FormlessAction {
'</fieldset></form>'
);
'</fieldset></form>'
);
-
wfRunHooks
( 'PageHistoryBeforeList', array( &$this->page, $this->getContext() ) );
+
Hooks::run
( 'PageHistoryBeforeList', array( &$this->page, $this->getContext() ) );
// Create and output the list.
$pager = new HistoryPager( $this, $year, $month, $tagFilter, $conds );
// Create and output the list.
$pager = new HistoryPager( $this, $year, $month, $tagFilter, $conds );
@@
-420,7
+420,7
@@
class HistoryPager extends ReverseChronologicalPager {
$queryInfo['options'],
$this->tagFilter
);
$queryInfo['options'],
$this->tagFilter
);
-
wfRunHooks
( 'PageHistoryPager::getQueryInfo', array( &$this, &$queryInfo ) );
+
Hooks::run
( 'PageHistoryPager::getQueryInfo', array( &$this, &$queryInfo ) );
return $queryInfo;
}
return $queryInfo;
}
@@
-710,7
+710,7
@@
class HistoryPager extends ReverseChronologicalPager {
}
}
// Allow extension to add their own links here
}
}
// Allow extension to add their own links here
-
wfRunHooks
( 'HistoryRevisionTools', array( $rev, &$tools ) );
+
Hooks::run
( 'HistoryRevisionTools', array( $rev, &$tools ) );
if ( $tools ) {
$s2 .= ' ' . $this->msg( 'parentheses' )->rawParams( $lang->pipeList( $tools ) )->escaped();
if ( $tools ) {
$s2 .= ' ' . $this->msg( 'parentheses' )->rawParams( $lang->pipeList( $tools ) )->escaped();
@@
-728,7
+728,7
@@
class HistoryPager extends ReverseChronologicalPager {
$s .= ' <span class="mw-changeslist-separator">. .</span> ' . $s2;
}
$s .= ' <span class="mw-changeslist-separator">. .</span> ' . $s2;
}
-
wfRunHooks
( 'PageHistoryLineEnding', array( $this, &$row, &$s, &$classes ) );
+
Hooks::run
( 'PageHistoryLineEnding', array( $this, &$row, &$s, &$classes ) );
$attribs = array();
if ( $classes ) {
$attribs = array();
if ( $classes ) {