r79248 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79247‎ | r79248 | r79249 >
Date:12:29, 30 December 2010
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r79205: Add PLURAL
Modified paths:
  • /trunk/extensions/Validator/Validator.i18n.php (modified) (history)
  • /trunk/extensions/Validator/includes/parserHooks/Validator_Describe.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Validator/includes/parserHooks/Validator_Describe.php
@@ -150,7 +150,7 @@
151151 }
152152 }
153153
154 - $description .= wfMsgExt( 'validator-describe-aliases', 'parsemag', $wgLang->listToText( $aliases ) );
 154+ $description .= wfMsgExt( 'validator-describe-aliases', 'parsemag', $wgLang->listToText( $aliases ), count( $aliases ) );
155155 $description .= "\n\n";
156156 }
157157
Index: trunk/extensions/Validator/Validator.i18n.php
@@ -45,7 +45,7 @@
4646 'validator-describe-description' => 'Generates documentation for one or more parser hooks defined via Validator.',
4747 'validator-describe-notfound' => 'There is no parser hook that handles "$1".',
4848 'validator-describe-descriptionmsg' => "'''Description''': $1", // Because it's 1360 < 3
49 - 'validator-describe-aliases' => "'''Aliases''': $1",
 49+ 'validator-describe-aliases' => "'''{{PLURAL:$2|Alias|Aliases}}''': $1",
5050 'validator-describe-parserfunction' => 'Implemented only as parser function.',
5151 'validator-describe-tagextension' => 'Implemented only as tag extension.',
5252 'validator-describe-bothhooks' => 'Implemented as both parser function and as tag extension.',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79205Added parser hook aliases listing and a description of how they are implementedjeroendedauw21:28, 29 December 2010

Status & tagging log