Difference between revisions of "MediaWIKI Upgrade"

26 bytes removed ,  14:09, 28 October 2020
m
Line 47: Line 47:
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.


=== Images ===
===Images===
Make sure the /WhatEverPathToWiki/images permissions are writable for the Owner.  IE, if the images Directory is owned by Apache, it needs to be writable.  777 works, 755 is recommended, but did not test with that.
Make sure the /WhatEverPathToWiki/images permissions are writable for the Owner.  IE, if the images Directory is owned by Apache, it needs to be writable.  777 works, 755 is recommended, but did not test with that.


===Scribunto & Lua===
===Scribunto & Lua===
If the Mediawiki software being upgraded uses the Scribunto and Lua extensions, then change permissions on the following file;<syntaxhighlight lang="text">
If the Mediawiki software being upgraded uses the Scribunto and Lua extensions, then change permissions on the following file;<syntaxhighlight lang="text">
chmod a+x /var/www/html/Wiki.RiseOfTheSaltonSea.com/extensions/Scribunto/includes/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua
chmod a+x /var/www/html/WhatEverWebSite/extensions/Scribunto/includes/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua


Older versions of Mediawiki use the below path;
Older versions of Mediawiki use the below path;


/var/www/html/Wiki.RiseOfTheSaltonSea.com/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic
/var/www/html/WhatEverWebSite/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic
</syntaxhighlight>Not doing the above item will hose the Wiki!
</syntaxhighlight>Not doing the above item will hose the Wiki!