r82143 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82142‎ | r82143 | r82144 >
Date:21:01, 14 February 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix fail from r82135
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeRevisionView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeRevisionView.php
@@ -489,10 +489,12 @@
490490 $refs = implode( "\n",
491491 array_map( array( $this, 'formatReferenceInline' ), $this->mRev->getReferences() )
492492 );
493 - $header = '<th></th>';
 493+
 494+ $header = '';
494495 if ( $showButtons ) {
495 - $header .= '<th>' . wfMsgHtml( 'code-field-id' ) . '</th>';
 496+ $header = '<th></th>';
496497 }
 498+ $header .= '<th>' . wfMsgHtml( 'code-field-id' ) . '</th>';
497499 $header .= '<th>' . wfMsgHtml( 'code-field-message' ) . '</th>';
498500 $header .= '<th>' . wfMsgHtml( 'code-field-author' ) . '</th>';
499501 $header .= '<th>' . wfMsgHtml( 'code-field-timestamp' ) . '</th>';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82135* (bug 27405) Special:Code should hide checkboxes when the user can't use themreedy20:20, 14 February 2011

Status & tagging log