Will putting new localsettings.php for wiki erase all my progress?

Posted October 15, 2016 1.6k views


I have been working on a wiki using the mediawiki one-click install.

I was following step 4 of the instructions on how to change the logo here:

I followed these steps but now I cannot load my wiki:
“the (IP) page isn’t working
(IP) is currently unable to handle this request.
Http Error 500”

Now it is quite likely I messed up some other setting in the localsettings.php on accident.

So my question is: If I put a new localsettings.php file in there will I lose all of my progress? or is this file only settings?

I am very new to this and I apologize if this is a stupid question.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Your LocalSettings.php is just the settings, all pages you create and other data is stored in the database. You’ll need to make sure that this file includes the correct database information or MediaWiki will not be able to load any of that information and you will encounter errors.