MediaWIKI Upgrade: Difference between revisions

mNo edit summary
Line 23: Line 23:
find /var/www/html/WhatEverDirectory -type f -exec chmod 644 {} \;     
find /var/www/html/WhatEverDirectory -type f -exec chmod 644 {} \;     
find /var/www/html/WhatEverDirectory/images -type d -exec chmod 755 {} \;
find /var/www/html/WhatEverDirectory/images -type d -exec chmod 755 {} \;
</syntaxhighlight>Copy previous version of MediaWiki website files into the new directory: cp -R -n -v WhatEverSource WhatEverDestination (This will not overwrite any new files, IE "upgraded" files, but has the effect of copying all the extensions, images, and any other files from the old website version, while paying deference to the newer files.
</syntaxhighlight>Copy previous version of MediaWiki website files into the new directory;<syntaxhighlight lang="text">
cp -R -n -v /var/www/html/WorkingWebSite/* /var/www/html/WebSite
</syntaxhighlight>This will not overwrite any new files, IE "upgraded" files, but has the effect of copying all the extensions, images, and any other files from the old website version, while paying deference to the newer files.


=== LocalSettings.php ===
===LocalSettings.php===
Copy the old copy of the LocalSettings.php file into the upgrade directory as the "new one", if it exists, wouldn't be overwritten with the new copy process.  See this for a tip on the LocalSettings.php file.
Copy the old copy of the LocalSettings.php file into the upgrade directory as the "new one", if it exists, wouldn't be overwritten with the new copy process.  See this for a tip on the LocalSettings.php file.