Jump to content

Upgrade using patch

From www.ReeltoReel.nl Wiki
Revision as of 18:25, 27 June 2024 by Pvdm (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Using patch

A small patch file is usually made available for a minor version upgrade. You'll need to download patch to use this Manually download and extract the patch file from the dumps site or follow the directions with wget below. Patches are incremental, you can not skip a version.


  1. cd to your main MediaWiki directory (the one with LocalSettings.php)
  1. Download the patch file and unzip it.
  1. Use patch -p1 --dry-run to check what will be changed (e.g., patch -p1 --dry-run -i mediawiki-x.xx.x.patch)
  1. If all is well, run patch again without --dry-run
  1. Check your Special:Version and you should see the new version number in place.