Mediawiki upgrade

From tango.info wiki
Jump to navigation Jump to search


While the upgrade scripts are well-maintained and robust, things could still go pear-shaped. Before proceeding to update the database schema, make a full backup of the wiki, including both the database and the files:

  • the wiki's content, from the database. It may be a good idea to create an XML dump in addition to the SQL database dump.
    • text dump: mysqldump --all-databases > file.txt
    • xml dump: mysqldump --all-databases --xml > file.xml
  • images and other media files (the contents of the images directory)
  • configuration files, i.e. LocalSettings.php and AdminSettings.php (if present)
  • MediaWiki's program files, including all skins and extensions, especially if you modified them.

See also

shell> mysqldump [options] db_name [tables]
shell> mysqldump [options] --databases db_name1 [db_name2 db_name3...]
shell> mysqldump [options] --all-databases
    • mysqldump --tab=/path/to/some/dir --opt db_name


Tango.info specific upgrade information

See tango.info wiki mediawiki upgrade