Changing OutputPage param to a Context param in PageHistoryBeforeList

Change-Id: I348b449043fefba181e28486a07c4aa761bcef24
This commit is contained in:
Kaldari 2013-03-13 09:54:23 -07:00 committed by Gerrit Code Review
parent 7f4e344b24
commit c5233396cd
2 changed files with 2 additions and 2 deletions

View file

@ -1678,7 +1678,7 @@ $baseRevId: the rev ID (or false) this edit was based on
'PageHistoryBeforeList': When a history page list is about to be constructed.
$article: the article that the history is loading for
$out: OutputPage object
$context: RequestContext object
'PageHistoryLineEnding' : Right before the end <li> is added to a history line.
$row: the revision row for this line

View file

@ -185,7 +185,7 @@ class HistoryAction extends FormlessAction {
'</fieldset></form>'
);
wfRunHooks( 'PageHistoryBeforeList', array( &$this->page, &$out ) );
wfRunHooks( 'PageHistoryBeforeList', array( &$this->page, $this->getContext() ) );
// Create and output the list.
$pager = new HistoryPager( $this, $year, $month, $tagFilter, $conds );