I have a MediaWiki 1.32.0 website which I want to upgrade, hosted on a CentOS "Shared Server" environment.
It is an all-core website with no added extensions, skins and images (besides logo)
To upgrade I need to change generally all files in the website's directory to those inside a directory of a newer version's MediaWiki installment (available inside a tartball) by a general overriding operation.
To download a latest MediaWiki tarball containing such directory (as of 13/08/19) one could execute:
wget https://releases.wikimedia.org/mediawiki/1.33/mediawiki-1.33.0.tar.gz
In my existing website directory, there are these files I already edited and shouldn't override:
LocalSettings.phprobots.txt.htaccessexample.com.png(logo image)googlec69e044fede13fdc.html(Google search console verification file)
How could I download, and extract all files from directory in tarball to override a my current MediaWiki directory to override all files besides listed exceptions (such as the files listed above)?
I do plan to backup the old directory before changes manually as priming part of the script; adding a condition to continue only of the backup was done might be a nice idea; all of this, aside from having automatic daily backups).
` is wrong to you and I don't know why. I don't understand at least the formatting aspect of the rejection. – Aug 15 '19 at 16:42
` is good... Thanks anyway for taking my inquiry seriously --- I will not go to meta. I still ask about `lang=bash` though. Is it "valid" in SE? – Aug 15 '19 at 16:53