r45309 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45308‎ | r45309 | r45310 >
Date:08:37, 2 January 2009
Author:purodha
Status:ok
Tags:
Comment:
Added isolated date, and time, parameters to message stabilize-expiring
Modified paths:
  • /trunk/extensions/FlaggedRevs/language/Stabilization.i18n.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/specialpages/Stabilization_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/language/Stabilization.i18n.php
@@ -43,6 +43,7 @@
4444
4545 /** Message documentation (Message documentation)
4646 * @author Jon Harald Søby
 47+ * @author Purodha
4748 * @author SPQRobin
4849 * @author Saper
4950 */
@@ -94,7 +95,10 @@
9596 'stabilize_expiry_invalid' => '{{Flagged Revs}}',
9697 'stabilize_expiry_old' => '{{Flagged Revs}}',
9798 'stabilize-expiring' => "{{Flagged Revs}}
98 -Used to indicate when something expires. $1 is a time stamp in the wiki's content language.
 99+Used to indicate when something expires.
 100+$1 is a time stamp in the wiki's content language.
 101+$2 is the correxponding date in the wiki's content language.
 102+$3 is the correxponding time in the wiki's content language.
99103
100104 {{Identical|Expires $1 (UTC)}}",
101105 );
Index: trunk/extensions/FlaggedRevs/specialpages/Stabilization_body.php
@@ -244,7 +244,9 @@
245245 $encodedExpiry = Block::encodeExpiry($expiry, $dbw );
246246 if( $encodedExpiry != 'infinity' ) {
247247 $expiry_description = ' (' . wfMsgForContent( 'stabilize-expiring',
248 - $wgContLang->timeanddate($expiry, false, false) ) . ')';
 248+ $wgContLang->timeanddate($expiry, false, false) ,
 249+ $wgContLang->date($expiry, false, false) ,
 250+ $wgContLang->time($expiry, false, false) ) . ')';
249251 $reason .= "$expiry_description";
250252 }
251253 }

Status & tagging log