Made '^' (XOR) in recCheckCondition() act as a one-hot detector. Before r28805, XOR...
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 26 Jun 2011 04:50:24 +0000 (04:50 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 26 Jun 2011 04:50:24 +0000 (04:50 +0000)
commit072ce42b5fdc2dea7cacd7e6a905893248a842ad
tree3929fc297a91e0ce6fcbf87f0ba8888eebe9d11c
parent65c2c5cd6cb9cf95159ccd5d4e3b73354bceda4e
Made '^' (XOR) in recCheckCondition() act as a one-hot detector. Before r28805, XOR silently ignored subconds beyond the first two. After r28805, XOR passed iff an odd number of subconds passed. It now passes iff exactly one subcond passes. This should be more intuitive, as I highly doubt anyone using 3+ subconds was doing it correctly before.
includes/Autopromote.php