Index: trunk/phase3/includes/ChangesList.php |
— | — | @@ -342,7 +342,7 @@ |
343 | 343 | $dateheader = ""; // $s now contains only <li>...</li>, for hooks' convenience. |
344 | 344 | $this->insertDateHeader($dateheader,$rc_timestamp); |
345 | 345 | |
346 | | - $s = '<li>'; |
| 346 | + $s = ''; |
347 | 347 | |
348 | 348 | // Moved pages |
349 | 349 | if( $rc_type == RC_MOVE || $rc_type == RC_MOVE_OVER_REDIRECT ) { |
— | — | @@ -394,10 +394,10 @@ |
395 | 395 | $s .= ' ' . wfMsg('number_of_watching_users_RCview', $wgContLang->formatNum($rc->numberofWatchingusers)); |
396 | 396 | } |
397 | 397 | |
398 | | - $s .= "</li>\n"; |
| 398 | + wfRunHooks( 'OldChangesListRecentChangesLine', array(&$this, &$s, $rc) ); |
| 399 | + |
| 400 | + $s .= "<li>$s</li>\n"; |
399 | 401 | |
400 | | - wfRunHooks('OldChangesListRecentChangesLine', array(&$this, &$s, &$rc)); |
401 | | - |
402 | 402 | wfProfileOut( $fname.'-rest' ); |
403 | 403 | |
404 | 404 | wfProfileOut( $fname ); |