Conventionalize if-else brackets

This commit changes the bracket style of the if-else statements used
in case of redirects to follow the MediaWiki branch coding convention
found at https://www.mediawiki.org/wiki/Coding_conventions#General_style