r49318 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49317‎ | r49318 | r49319 >
Date:16:50, 8 April 2009
Author:ialex
Status:deferred
Tags:
Comment:
* Whitespaces fixes for r49308
* Add plural support for configure-transwiki-not-in-range
Modified paths:
  • /trunk/extensions/Configure/Configure.i18n.php (modified) (history)
  • /trunk/extensions/Configure/Configure.page.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/Configure.page.php
@@ -64,7 +64,7 @@
6565 }
6666 if ( is_array( $wgConfigureWikis ) && !in_array( $wiki, $wgConfigureWikis ) ) {
6767 $wgOut->wrapWikiMsg( '<div class="errorbox"><strong>$1</strong></div>',
68 - array( 'configure-transwiki-not-in-range', $wiki, $wgLang->commaList( $wgConfigureWikis ) ) );
 68+ array( 'configure-transwiki-not-in-range', $wiki, $wgLang->commaList( $wgConfigureWikis ), count( $wgConfigureWikis ) ) );
6969 return;
7070 }
7171 }
@@ -345,9 +345,10 @@
346346 }
347347 }
348348 $wgOut->addWikiMsg( 'configure-edit-old',
349 - $wgLang->timeAndDate( $version ) ,
350 - $wgLang->date( $version ) ,
351 - $wgLang->time( $version ) );
 349+ $wgLang->timeAndDate( $version ),
 350+ $wgLang->date( $version ),
 351+ $wgLang->time( $version )
 352+ );
352353 } else {
353354 $wgOut->wrapWikiMsg( '<div class="errorbox">$1</div>',
354355 array( 'configure-old-not-available', $version ) );
Index: trunk/extensions/Configure/Configure.i18n.php
@@ -142,7 +142,7 @@
143143 'configure-select-wiki-view-specific' => 'Specific wiki:',
144144 'configure-select-wiki-submit' => 'Select',
145145 'configure-setting-not-available' => 'This setting is not available in this version of MediaWiki',
146 - 'configure-transwiki-not-in-range' => 'The requested wiki, $1, is not in allowed values ($2).',
 146+ 'configure-transwiki-not-in-range' => 'The requested wiki, $1, is not in allowed {{PLURAL:$3|value|values}}: $2.',
147147 'configure-view' => 'View',
148148 'configure-view-all-versions' => 'Full list of versions',
149149 'configure-view-default' => 'Default settings',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r49308Separate date, and time, parameters added to message configure-edit-old as per...purodha10:26, 8 April 2009

Status & tagging log