r49060 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49059‎ | r49060 | r49061 >
Date:05:57, 31 March 2009
Author:purodha
Status:deferred
Tags:
Comment:
(bug 18271) date and time separated in message regexblock-match-stats-record.
Modified paths:
  • /trunk/extensions/regexBlock/SpecialRegexBlock.php (modified) (history)
  • /trunk/extensions/regexBlock/regexBlock.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/regexBlock/regexBlock.i18n.php
@@ -94,7 +94,9 @@
9595 * $2: username
9696 * $3: database name
9797 * $4: date/time
98 -* $5: IP address',
 98+* $5: IP address
 99+* $6: isolated date of $4
 100+* $7: isolated time of $4',
99101 'regexblock-view-blocked' => 'This is a label followed by a dropdown list of all users who have ever used regexBlock on the wiki, allowing the viewer to filter down the list of regexBlocks, i.e. see all blocks performed by User:X if users X, Y and Z have used regexBlock tool. There is [[mw:File:RegexBlock.png|a screenshot]].',
100102 'regexblock-view-all' => '{{Identical|All}}',
101103 'regexblock-view-go' => '{{Identical|Go}}',
Index: trunk/extensions/regexBlock/SpecialRegexBlock.php
@@ -410,7 +410,9 @@
411411 $row->stats_user,
412412 htmlspecialchars( $row->stats_dbname ),
413413 $wgLang->timeanddate( wfTimestamp( TS_MW, $row->stats_timestamp ), true ),
414 - $row->stats_ip
 414+ $row->stats_ip,
 415+ $wgLang->date( wfTimestamp( TS_MW, $row->stats_timestamp ), true ),
 416+ $wgLang->time( wfTimestamp( TS_MW, $row->stats_timestamp ), true )
415417 )
416418 ).'
417419 </li>');
@@ -693,4 +695,4 @@
694696 static function isValidRegex( $text ) {
695697 return ( sprintf( "%s", @preg_match("/{$text}/", 'regex') ) === '' );
696698 }
697 -}
\ No newline at end of file
 699+}

Status & tagging log