I just installed Mediawiki on a local network and I have to edit some PHP files. The first one I tried to edit "LocalSettings.php" was saved and when I refreshed the site I received a blank page. Upon seeking answers from Mediawiki's forum, I found this advice:
Well I hope that Webuilder is "better than Windows notepad" as the author suggests!Most likely, your text editor added a byte order mark (BOM) while you edited MediaWiki's PHP files, but any other content before the opening <?php causes the same problem. This usually happens with LocalSettings.php - but see error message for exact file. Note that BOMs are invisible in most text editors. To remove the BOM, edit the file with something better than Windows Notepad, but if you don't really have time - open the file with it and choose Save as..., then choose "Unicode (UTF-8 Without signature) - Codepage 65001" as file type.

Please tell me that I can save this file such that it doesnt break the website (i.e. remove the BOM). I have tried to save the PHP with encoding "UTF-8 without BOM" but I receive the same blank screen. If I replace the original LocalSettings.php file with the one which came with the install (vanilla version), my site works again.
Any ideas??