r41818 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41817‎ | r41818 | r41819 >
Date:19:13, 7 October 2008
Author:ialex
Status:old
Tags:
Comment:
Added date to revision view
Modified paths:
  • /trunk/extensions/CodeReview/CodeReview.i18n.php (modified) (history)
  • /trunk/extensions/CodeReview/CodeRevisionView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeReview.i18n.php
@@ -37,6 +37,7 @@
3838 'code-field-path' => 'Path',
3939 'code-field-text' => 'Note',
4040 'code-rev-author' => 'Author:',
 41+ 'code-rev-date' => 'Date:',
4142 'code-rev-message' => 'Comment:',
4243 'code-rev-repo' => 'Repository:',
4344 'code-rev-rev' => 'Revision:',
Index: trunk/extensions/CodeReview/CodeRevisionView.php
@@ -14,7 +14,7 @@
1515 }
1616
1717 function execute(){
18 - global $wgOut, $wgUser;
 18+ global $wgOut, $wgUser, $wgLang;
1919 if( !$this->mRepo || !$this->mRev ) {
2020 $view = new CodeRepoListView();
2121 $view->execute();
@@ -41,6 +41,7 @@
4242 $fields = array(
4343 'code-rev-repo' => $repoLink,
4444 'code-rev-rev' => $revText,
 45+ 'code-rev-date' => $wgLang->timeanddate( $this->mRev->getTimestamp() ),
4546 'code-rev-author' => $this->authorLink( $this->mRev->getAuthor() ),
4647 'code-rev-status' => $this->statusForm(),
4748 'code-rev-message' => $this->formatMessage( $this->mRev->getMessage() ),

Status & tagging log