r50983 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50982‎ | r50983 | r50984 >
Date:18:02, 25 May 2009
Author:siebrand
Status:ok
Tags:
Comment:
(bug 17093) Separate date and time in Special:BlockList
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Block.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Block.php
@@ -844,8 +844,9 @@
845845 $expirystr = $msg['infiniteblock'];
846846 } else {
847847 global $wgLang;
848 - $expiretimestr = htmlspecialchars($wgLang->timeanddate( $expiry, true ));
849 - $expirystr = wfMsgReplaceArgs( $msg['expiringblock'], array($expiretimestr) );
 848+ $expiredatestr = htmlspecialchars($wgLang->date( $expiry, true ));
 849+ $expiretimestr = htmlspecialchars($wgLang->time( $expiry, true ));
 850+ $expirystr = wfMsgReplaceArgs( $msg['expiringblock'], array( $expiredatestr, $expiretimestr ) );
850851 }
851852 return $expirystr;
852853 }
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -2677,7 +2677,7 @@
26782678 'ipblocklist-submit' => 'Search',
26792679 'blocklistline' => '$1, $2 blocked $3 ($4)',
26802680 'infiniteblock' => 'infinite',
2681 -'expiringblock' => 'expires $1',
 2681+'expiringblock' => 'expires on $1 at $2',
26822682 'anononlyblock' => 'anon. only',
26832683 'noautoblockblock' => 'autoblock disabled',
26842684 'createaccountblock' => 'account creation blocked',
Index: trunk/phase3/RELEASE-NOTES
@@ -62,7 +62,8 @@
6363 * (bug 18466) Add note or warning when overruling a move (semi-)protection
6464 * (bug 18342) insertTags works in edit summary box
6565 * (bug 18411) The upload form also checks post_max_size
66 -* Watchlist now has a specialized <div> tag that contains a unique class for each page
 66+* Watchlist now has a specialized <div> tag that contains a unique class for
 67+ each page
6768 * Added Minguo calendar support for the Taiwan Chinese language
6869 * Database: unionQueries function to be used for UNION sql construction, so
6970 it can be overloaded on DB abstraction level for DB specific functionality
@@ -71,6 +72,7 @@
7273 month number without the leading zero
7374 * (bug 13456) categoriespagetext supports PLURAL
7475 * (bug 18860) Blocks of IPs affecting registered users can now block email
 76+* (bug 17093) Date and time are separate parameters in Special:BlockList
7577
7678 === Bug fixes in 1.16 ===
7779

Status & tagging log