r78237 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78236‎ | r78237 | r78238 >
Date:08:39, 12 December 2010
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r78234: PLURALize message
Modified paths:
  • /trunk/extensions/Push/Push.i18n.php (modified) (history)
  • /trunk/extensions/Push/includes/Push_Tab.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Push/Push.i18n.php
@@ -46,7 +46,7 @@
4747 'push-tab-not-created' => 'This page does not exist yet.',
4848 'push-tab-push-options' => 'Push options:',
4949 'push-tab-inc-templates' => 'Include templates',
50 - 'push-tab-used-templates' => '(Used templates: $1)',
 50+ 'push-tab-used-templates' => '(Used {{PLURAL:$2|template|templates}}: $1)',
5151 'push-tab-no-used-templates' => '(No templates are used on this page.)',
5252
5353 // Special page
Index: trunk/extensions/Push/includes/Push_Tab.php
@@ -306,7 +306,7 @@
307307 'div',
308308 array( 'style' => 'display:inline; opacity:0', 'id' => 'txtTemplateList' ),
309309 count( $usedTemplates ) > 0 ?
310 - wfMsgExt( 'push-tab-used-templates', 'parseinline', $wgLang->listToText( $usedTemplates ) ) :
 310+ wfMsgExt( 'push-tab-used-templates', 'parseinline', $wgLang->listToText( $usedTemplates ), count( $usedTemplates ) ) :
311311 htmlspecialchars( wfMsg( 'push-tab-no-used-templates' ) )
312312 )
313313 )

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r78234Added include templates option to the push interface and changed the push api...jeroendedauw05:42, 12 December 2010

Status & tagging log