r94478 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94477‎ | r94478 | r94479 >
Date:20:12, 14 August 2011
Author:reedy
Status:ok
Tags:
Comment:
Less TablePager, more wikitable
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeAuthorListView.php (modified) (history)
  • /trunk/extensions/CodeReview/ui/CodeRepoStatsView.php (modified) (history)
  • /trunk/extensions/CodeReview/ui/CodeRevisionView.php (modified) (history)
  • /trunk/extensions/CodeReview/ui/CodeStatusListView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeStatusListView.php
@@ -21,11 +21,11 @@
2222 $table_rows .= "<tr><td class=\"mw-codereview-status-$state\">$link</td>"
2323 . "<td>" . wfMsgHtml( "code-status-desc-" . $state ) . "</td></tr>\n" ;
2424 }
25 - $wgOut->addHTML( '<table class="TablePager">'
 25+ $wgOut->addHTML( '<table class="wikitable">'
2626 . '<tr><th>' . wfMsgHtml( 'code-field-status' ) . '</th>'
2727 . '<th>' . wfMsgHtml( 'code-field-status-description' ) . '</th></tr>'
2828 . $table_rows
29 - . '</table>'
 29+ . '</table>'
3030 );
3131 }
3232 }
Index: trunk/extensions/CodeReview/ui/CodeRepoStatsView.php
@@ -24,7 +24,7 @@
2525
2626 if ( !empty( $stats->states ) ) {
2727 $wgOut->wrapWikiMsg( '<h3 id="stats-revisions">$1</h3>', 'code-stats-status-breakdown' );
28 - $wgOut->addHTML( '<table class="TablePager">'
 28+ $wgOut->addHTML( '<table class="wikitable">'
2929 . '<tr><th>' . wfMsgHtml( 'code-field-status' ) . '</th><th>'
3030 . wfMsgHtml( 'code-stats-count' ) . '</th></tr>' );
3131 foreach ( CodeRevision::getPossibleStates() as $state ) {
@@ -57,7 +57,7 @@
5858 global $wgOut, $wgLang;
5959 $repoName = $this->mRepo->getName();
6060 $wgOut->wrapWikiMsg( "<h3 id=\"stats-{$status}\">$1</h3>", "code-stats-{$status}-breakdown" );
61 - $wgOut->addHTML( '<table class="TablePager">'
 61+ $wgOut->addHTML( '<table class="wikitable">'
6262 . '<tr><th>' . wfMsgHtml( 'code-field-author' ) . '</th><th>'
6363 . wfMsgHtml( 'code-stats-count' ) . '</th></tr>' );
6464 $title = SpecialPage::getTitleFor( 'Code', $repoName . "/status/{$status}" );
Index: trunk/extensions/CodeReview/ui/CodeRevisionView.php
@@ -542,7 +542,7 @@
543543 $header .= '<th>' . wfMsgHtml( 'code-signoff-field-flag' ). '</th>';
544544 $header .= '<th>' . wfMsgHtml( 'code-signoff-field-date' ). '</th>';
545545 $buttonrow = $showButtons ? $this->signoffButtons( $signOffs ) : '';
546 - return "<table border='1' class='TablePager'><tr>$header</tr>$signoffs$buttonrow</table>";
 546+ return "<table border='1' class='wikitable'><tr>$header</tr>$signoffs$buttonrow</table>";
547547 }
548548
549549 /**
@@ -594,7 +594,7 @@
595595 $header .= '<th>' . wfMsgHtml( 'code-field-author' ) . '</th>';
596596 $header .= '<th>' . wfMsgHtml( 'code-field-timestamp' ) . '</th>';
597597 $buttonrow = $showButtons ? $this->referenceButtons() : '';
598 - return "<table border='1' class='TablePager'><tr>{$header}</tr>{$refs}{$buttonrow}</table>";
 598+ return "<table border='1' class='wikitable'><tr>{$header}</tr>{$refs}{$buttonrow}</table>";
599599 }
600600
601601 /**
Index: trunk/extensions/CodeReview/ui/CodeAuthorListView.php
@@ -15,7 +15,7 @@
1616
1717 $wgOut->addWikiText( $text );
1818
19 - $wgOut->addHTML( '<table class="TablePager">'
 19+ $wgOut->addHTML( '<table class="wikitable">'
2020 . '<tr><th>' . wfMsgHtml( 'code-field-author' )
2121 . '</th><th>' . wfMsgHtml( 'code-author-lastcommit' ) . '</th></tr>' );
2222

Status & tagging log