Index: trunk/phase3/includes/PageHistory.php |
— | — | @@ -262,7 +262,9 @@ |
263 | 263 | $tools[] = "<span class=\"mw-history-undo\">{$undolink}</span>"; |
264 | 264 | } |
265 | 265 | |
266 | | - $s .= ' (' . implode( ' | ', $tools ) . ')'; |
| 266 | + if( $tools ) { |
| 267 | + $s .= ' (' . implode( ' | ', $tools ) . ')'; |
| 268 | + } |
267 | 269 | |
268 | 270 | wfRunHooks( 'PageHistoryLineEnding', array( &$row , &$s ) ); |
269 | 271 | |