r106987 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106986‎ | r106987 | r106988 >
Date:21:59, 21 December 2011
Author:siebrand
Status:ok (Comments)
Tags:
Comment:
Add test and output for {{#time:d F Y|1988-02-28|nl}}. This test should pass.

Would be nice if it was possible to add a test for {{#time:d F Y|1988-02-28|user}} where user language is "nl", because that does not work. Ref bug 28655 comment 10 and comment 17.
Modified paths:
  • /trunk/extensions/ParserFunctions/funcsParserTests.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/ParserFunctions/funcsParserTests.txt
@@ -85,6 +85,15 @@
8686 !! end
8787
8888 !! test
 89+Explicitely specified output language (Dutch)
 90+!! input
 91+{{#time:d F Y|1988-02-28|nl}}
 92+!! result
 93+<p>28 februari 1988
 94+</p>
 95+!! end
 96+
 97+!! test
8998 Bug 19093: Default values don't fall through in switch
9099 !! input
91100 <{{#switch: foo | bar | #default = DEF }}>

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86805fix for bug 28655 - #time interpreting years incorrectlykaldari01:10, 24 April 2011
r86927adding language support to #time parser function, per bug 28655kaldari00:26, 26 April 2011

Comments

#Comment by Platonides (talk | contribs)   00:50, 25 December 2011

'user' is not expected to work. See bug 28655 comment 23

Status & tagging log