r105186 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105185‎ | r105186 | r105187 >
Date:16:15, 5 December 2011
Author:hashar
Status:ok
Tags:
Comment:
Fix PageHistoryBeforeList hook

Following r100534 refactoring, it was using an incorrect variable.
Modified paths:
  • /trunk/phase3/includes/actions/HistoryAction.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/actions/HistoryAction.php
@@ -171,7 +171,7 @@
172172 '</fieldset></form>'
173173 );
174174
175 - wfRunHooks( 'PageHistoryBeforeList', array( &$this->article ) );
 175+ wfRunHooks( 'PageHistoryBeforeList', array( &$this->page ) );
176176
177177 // Create and output the list.
178178 $pager = new HistoryPager( $this, $year, $month, $tagFilter, $conds );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100534* Changed action=history to use an Action subclass...ialex09:21, 23 October 2011

Status & tagging log