Index: trunk/extensions/CodeReview/ui/CodeRevisionView.php |
— | — | @@ -487,7 +487,9 @@ |
488 | 488 | array_map( array( $this, 'formatReferenceInline' ), $this->mRev->getReferences() ) |
489 | 489 | ); |
490 | 490 | $header = '<th></th>'; |
491 | | - $header .= '<th>' . wfMsgHtml( 'code-field-id' ) . '</th>'; |
| 491 | + if ( $showButtons ) { |
| 492 | + $header .= '<th>' . wfMsgHtml( 'code-field-id' ) . '</th>'; |
| 493 | + } |
492 | 494 | $header .= '<th>' . wfMsgHtml( 'code-field-message' ) . '</th>'; |
493 | 495 | $header .= '<th>' . wfMsgHtml( 'code-field-author' ) . '</th>'; |
494 | 496 | $header .= '<th>' . wfMsgHtml( 'code-field-timestamp' ) . '</th>'; |