r63913 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63912‎ | r63913 | r63914 >
Date:16:31, 18 March 2010
Author:ialex
Status:ok
Tags:
Comment:
Follow-up r63906: add test case
Modified paths:
  • /trunk/extensions/ParserFunctions/funcsParserTests.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/ParserFunctions/funcsParserTests.txt
@@ -166,3 +166,12 @@
167167 empty
168168 </p>
169169 !! end
 170+
 171+!! test
 172+Bug 22866: #ifexpr should evaluate "-0" as false
 173+!! input
 174+{{#ifexpr: (-1)*0 | true | false }}
 175+!! result
 176+<p>false
 177+</p>
 178+!! end

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r63906* (bug 22866) Cast returned value to numeric if possible to do the check sinc...ialex11:35, 18 March 2010

Status & tagging log