http://www.mediawiki.org/wiki/Special:Code/MediaWiki/60760
Revision: 60760 Author: aaron Date: 2010-01-07 01:21:02 +0000 (Thu, 07 Jan 2010) Log Message: ----------- Follow up r60759: forgot to commit hook change Modified Paths: -------------- trunk/phase3/docs/hooks.txt trunk/phase3/includes/HistoryPage.php Modified: trunk/phase3/docs/hooks.txt =================================================================== --- trunk/phase3/docs/hooks.txt 2010-01-07 01:18:13 UTC (rev 60759) +++ trunk/phase3/docs/hooks.txt 2010-01-07 01:21:02 UTC (rev 60760) @@ -1141,6 +1141,7 @@ 'PageHistoryLineEnding' : right before the end <li> is added to a history line $row: the revision row for this line $s: the string representing this parsed line +$classes: array containing the <li> element classes 'PageHistoryPager::getQueryInfo': when a history pager query parameter set is constructed Modified: trunk/phase3/includes/HistoryPage.php =================================================================== --- trunk/phase3/includes/HistoryPage.php 2010-01-07 01:18:13 UTC (rev 60759) +++ trunk/phase3/includes/HistoryPage.php 2010-01-07 01:21:02 UTC (rev 60760) @@ -557,7 +557,7 @@ $classes = array_merge( $classes, $newClasses ); $s .= " $tagSummary"; - wfRunHooks( 'PageHistoryLineEnding', array( $this, &$row , &$s ) ); + wfRunHooks( 'PageHistoryLineEnding', array( $this, &$row , &$s, &$classes ) ); $attribs = array(); if ( $classes ) { _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs