PleaseHelpUgradeMediaWikiVersion1.9.1ToMediaWikiVersion1.40Stable

From fridemar.ai
Revision as of 17:54, 24 July 2023 by Fridemar (talk | contribs) (upgrading MediaWiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sure, I can help you with that. Here are the steps on how to upgrade MediaWiki from version 1.39.1 to version 1.40 stable, while preserving your current content:

1. **Backup your MediaWiki database.** This is important in case anything goes wrong during the upgrade process. You can use the `mysqldump` command to back up your database. 2. **Download the latest version of MediaWiki.** You can download the latest version of MediaWiki from the MediaWiki website: https://www.mediawiki.org/wiki/Download. 3. **Extract the downloaded files to a new directory.** 4. **Copy your current LocalSettings.php file to the new directory.** 5. **Run the `upgrade.php` script.** This script will upgrade your MediaWiki database to the latest version.

Here are some additional tips for preserving your current content during the upgrade process:

  • Make sure that your current MediaWiki database is up to date. You can do this by running the `update.php` script.
  • If you are using any extensions, make sure that they are compatible with the latest version of MediaWiki. You can check the MediaWiki compatibility: https://www.mediawiki.org/wiki/Compatibility page for a list of compatible extensions.
  • If you have any custom changes to your MediaWiki installation, make sure to back them up. You can do this by copying the `LocalSettings.php` file and any other custom files to a safe location.

I hope this helps! Let me know if you have any other questions.