Summary: conditional operator with () returns false
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: AbuseFilter

Conditional operators doesn't work well.

"(1 == 1) ? true : false" returns true,
but "(1 == 1) ? (true) : (false)" return false.

And also "if (1==1) then (true) else (false) end" return false, too.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to