Thread:Project:Support desk/syntax error, unexpected T IF/reply

Have you modified Setup.php?

Probably the best way to fix this, is re-download mediawiki from the official source, and re-install all the php files [as if you were upgrading mediawiki] (all your wiki pages will still be there)