r57687 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57686‎ | r57687 | r57688 >
Date:23:03, 13 October 2009
Author:siebrand
Status:ok
Tags:
Comment:
Follow-up to r57685: split date and time
Modified paths:
  • /trunk/extensions/FlaggedRevs/language/ValidationStatistics.i18n.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/specialpages/ValidationStatistics_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/language/ValidationStatistics.i18n.php
@@ -13,7 +13,7 @@
1414 and \'\'\'[[Special:ListUsers/reviewer|$2]]\'\'\' {{PLURAL:$2|user|users}} with [[{{MediaWiki:Validationpage}}|Reviewer]] rights.
1515
1616 Editors and Reviewers are established users that can spot check revisions to pages.',
17 - 'validationstatistics-time' => '\'\'The following data was last updated on $5.\'\'
 17+ 'validationstatistics-time' => '\'\'The following data was last updated on $5 at $6.\'\'
1818
1919 Edits that have been checked by established users are considered to be reviewed.
2020
Index: trunk/extensions/FlaggedRevs/specialpages/ValidationStatistics_body.php
@@ -27,7 +27,8 @@
2828 $pt = $this->getMeanPendingWait();
2929 $timestamp = $this->getLastUpdate();
3030 if( $timestamp != '-' ) {
31 - $timestamp = $wgLang->timeanddate( $timestamp, true );
 31+ $date = $wgLang->date( $timestamp, true );
 32+ $time = $wgLang->time( $timestamp, true );
3233 }
3334
3435 $wgOut->addWikiText( wfMsgExt( 'validationstatistics-users', array( 'parsemag' ),
@@ -59,7 +60,7 @@
6061 # Show review/pending time stats
6162 $wgOut->addWikiText( '<hr/>' . wfMsgExt( 'validationstatistics-time', array( 'parsemag' ),
6263 $wgLang->formatTimePeriod($mt), $wgLang->formatTimePeriod($pt),
63 - $wgLang->formatTimePeriod($mdt), $reviewChart, $timestamp )
 64+ $wgLang->formatTimePeriod($mdt), $reviewChart, $date, $time )
6465 );
6566
6667 $wgOut->addWikiText( wfMsg('validationstatistics-table') );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57685bug 21122 Show when Special:ValidationStatistics was last updatedaaron22:46, 13 October 2009

Status & tagging log