r55231 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55230‎ | r55231 | r55232 >
Date:11:07, 18 August 2009
Author:ialex
Status:deferred
Tags:
Comment:
* (bug 19058) Added configure-old-summary-datetime message for better date and time localisation in configure-old-summary message
Modified paths:
  • /trunk/extensions/Configure/CHANGELOG (modified) (history)
  • /trunk/extensions/Configure/Configure.i18n.php (modified) (history)
  • /trunk/extensions/Configure/Configure.page.php (modified) (history)
  • /trunk/extensions/Configure/Configure.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/Configure.page.php
@@ -378,7 +378,12 @@
379379 foreach ( $versions as $data ) {
380380 $ts = $data['timestamp'];
381381 $count++;
382 - $link = $skin->linkKnown( $title, $wgLang->timeAndDate( $ts ), array(), array( 'version' => $ts ) );
 382+ $datetime = wfMsgExt( 'configure-old-summary-datetime', array( 'parsemag', 'escape' ),
 383+ $wgLang->timeAndDate( $ts ),
 384+ $wgLang->date( $ts ),
 385+ $wgLang->time( $ts )
 386+ );
 387+ $link = $skin->linkKnown( $title, $datetime, array(), array( 'version' => $ts ) );
383388 $diffLink = '';
384389 if ( $prev )
385390 $diffLink = '(' . $skin->linkKnown( SpecialPage::getTitleFor( 'ViewConfig' ),
Index: trunk/extensions/Configure/CHANGELOG
@@ -1,6 +1,10 @@
22 This file lists changes on this extension.
33 Localisation updates are done on betawiki and aren't listed here.
44
 5+0.14.12 - 17 August 2009
 6+ (bug 19058) Added configure-old-summary-datetime message for better date and
 7+ time localisation in configure-old-summary message
 8+
59 0.14.11 - 16 August 2009
610 * (bug 19057) Added user name parameter to configure-viewconfig-line message
711 * (bug 19058) Added user name parameter to configure-old-summary message
Index: trunk/extensions/Configure/Configure.php
@@ -18,7 +18,7 @@
1919 'url' => 'http://www.mediawiki.org/wiki/Extension:Configure',
2020 'description' => 'Allow authorised users to configure the wiki via a web-based interface',
2121 'descriptionmsg' => 'configure-desc',
22 - 'version' => '0.14.11',
 22+ 'version' => '0.14.12',
2323 );
2424
2525 # Configuration part
Index: trunk/extensions/Configure/Configure.i18n.php
@@ -67,6 +67,7 @@
6868 'configure-old-not-available' => 'The old version of the settings you requested, $1, is not available',
6969 'configure-old-changes' => 'changes',
7070 'configure-old-summary' => '$1 by $2 $4 $3',
 71+ 'configure-old-summary-datetime' => '$1',
7172 'configure-saved' => 'The configuration has been saved',
7273 'configure-backlink' => 'Return to form',
7374 'configure-image-url-explanation' => 'Enter the URL to an image, or the name of an image on this wiki (without the namespace). A preview will be displayed when you leave the field.',

Follow-up revisions

RevisionCommit summaryAuthorDate
r55232update Translate per r55231ialex11:11, 18 August 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r55174* (bug 19057) Added user name parameter to configure-viewconfig-line message...ialex11:03, 17 August 2009

Status & tagging log