Tomer Chachamu wrote:
On 28/06/05, john kaczmarowski
<jkacz(a)completeis.com> wrote:
Today, I modified (for about the 10th time) the
DefaultSettings.php file
in the Includes directory so that I could upload a .exe file (yes,
trouble, but this is in a relatively secure environment). Anyway, the
exe was a flash demo that I was attaching to a wiki page.
You should not edit DefaultSettings.php. When you need to change a
setting, copy the setting line to LocalSettings.php (the main one) (or
whatever it's called) and edit it there.
I'm not sure what you can do now.
Thanks for the note, here's the deal:
1. The specific changes were as follows:
$wgFileExtensions = array( 'doc', 'pdf', 'xls', 'mpp',
'vsd', 'pdm',
'png', 'gif', 'jpg', 'jpeg' );
(note I added doc, pdf, xls, mpp, vsd and pdm) I also added exe, but
since have taken it out.
2. These settings do not exist in LocalSettings, and in fact, this sort
of edit has workd well in the past.
3. I can replace the DefaultSettings file with the originally delivered
default settings file, and I acheive slightly better results. To wit:
a. Main_Page returns (prior returning DefaultSettings, this page would
yield only a <html></html> page just like all the rest.
b. Many pages have returned to pre-crash state while others return only
a <html></html> opage.
c. Special Pages, login pages, etc. all return <html> </html>