Forum archive
Correct path to wiki?
I've been reading the instructions on the MediaWiki website for upgrading 1.15 to 1.16. After doing what I thought was being said, I got the following error when I tried to test the wiki:
Hmmm. The part which surprised me was the path it gives: "/usr/share/mediawiki/". During the upgrade procedure, the instructions said to uncompress the tarball, and the sample command line said: "/path/to/your/wiki/". I changed out that verbage, and put down what I *thought* was the path to my wiki: "/var/lib/mediawiki/". Certainly, if I go to "/var/lib/mediawiki/", there are all the MediaWiki files, and I've always thought that was where the action was taking place. Now I'm surprised to find another bunch of MediaWiki files (looking similar to the first) in "/usr/share/mediawiki/".
Question: Which one is the correct "path to my wiki"?
Next question: Why are there two similar MediaWiki folders?
Thanks
Pat
I haven't check the mediawiki appliance, but as you say you uncompress a tar in /var/lib/mediawiki, maybe those are the files you are seeing, and the ones on /usr/share/mediawiki are the ones of the appliance. Check the date of the files with ls -l command to be sure (or install a fresh mediawiki on a VM and check the patch).
Hope it helps