Thread:Project:Support desk/How does ifeq evaluate in mediawiki?

I have the following code sample in my wikipage. I am not able to understand the flow of logic as it is giving me a different result than expected.

The edition is The result evaluated by the wiki is

The edition is 1983

But both the input strings are (1972) which are equal. Note: 1972 is within brackets. So its not an integer, but a string Could anyone explain why it is evaluating to 1983 and not 1972. I found the same issue using a. Could anyone explain the flow of the logic here?

Mediawiki 1.15.1

Arnab