I use latest MediaWiki (either on Arch Linux or Debian stable) in a personal project - I'm the only one who works on it, and I use MediaWiki in a core-only way (I don't install any extensions whatsoever).
I'd like the core version to always be upgraded to enjoy all newest features.
I have daily/weekly backups.
I tried to read here but I didn't recognize anything about automatic upgrades.
What is the correct way to have automatic upgrades for MediaWiki?
BTW, This is how I upgrade all my Drupal apps in a given Debian-based environment; maybe a similar approach can be taken for MediaWiki in Arch Linux:
#!/bin/bash
cat <<-EOF > /etc/cron.daily/cron_daily
#!/bin/bash
for dir in ${drt}/*/; do
if pushd "$dir"; then
rws
composer update drupal/* webflo/drupal-core-require-dev --with-dependencies
drush updatedb
drush cache:rebuild
rws
popd
fi
done 2> $HOME/myErrors
EOF
cat <<-EOF > /etc/cron.weekly/cron_weekly
#!/bin/bash
find "$drt" -path "*/cache/*" -type f -delete
certbot renew -q
EOF
chmod +x /etc/cron{.daily,.weekly}
pacman -Syu mediawiki
? – aksh1618 Jan 9 '19 at 15:20composer update
, runmaintenance/update.php
. – Tgr Jan 9 '19 at 21:22