r60760 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60759‎ | r60760 | r60761 >
Date:01:21, 7 January 2010
Author:aaron
Status:ok
Tags:
Comment:
Follow up r60759: forgot to commit hook change
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)
  • /trunk/phase3/includes/HistoryPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -1141,6 +1141,7 @@
11421142 'PageHistoryLineEnding' : right before the end <li> is added to a history line
11431143 $row: the revision row for this line
11441144 $s: the string representing this parsed line
 1145+$classes: array containing the <li> element classes
11451146
11461147 'PageHistoryPager::getQueryInfo': when a history pager query parameter set
11471148 is constructed
Index: trunk/phase3/includes/HistoryPage.php
@@ -557,7 +557,7 @@
558558 $classes = array_merge( $classes, $newClasses );
559559 $s .= " $tagSummary";
560560
561 - wfRunHooks( 'PageHistoryLineEnding', array( $this, &$row , &$s ) );
 561+ wfRunHooks( 'PageHistoryLineEnding', array( $this, &$row , &$s, &$classes ) );
562562
563563 $attribs = array();
564564 if ( $classes ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r63308MFT r61189, r60760 (needed for FlaggedRevs_alpha)aaron04:13, 6 March 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r60759* Demark pending edits in history (color/msg/margin)...aaron01:18, 7 January 2010

Status & tagging log