Utilisateur: Jluc/mediawiki

De Entre Amis
Aller à : navigation, rechercher

Mettre à jour Mediawiki

  1. se connecter sur site en tant que calife ;
  2. sauvegarder AdminSettings.php, LocalSettings.php et le dossier monWiki ;
  3. déposer la nouvelle version mediawiki-1.16.3.tar.gz dans le dossier ~/mediawiki ;
  4. mettre à jour : tar xvzf mediawiki-1.16.3.tar.gz -C /le/chemin/vers/monWiki/ --strip-components=1 ;
  5. mettre à jour les bases de données : cd /le/chemin/vers/monWiki/maintenance/ ; php update.php ;
  6. Test the update : once the upgrade has been completed, browse to the wiki and check that the following operations work as expected:
  • Viewing pages
  • Editing pages
  • Uploading a file
Visit Special:Version and check that the version shown is correct and that the extensions are present.

Patcher Mediawiki

  1. se connecter sur site en tant que calife ;
  2. sauvegarder AdminSettings.php, LocalSettings.php et le dossier monWiki ;
  3. télécharger la nouvelle version wget https://releases.wikimedia.org/mediawiki/1.19/mediawiki-1.19.22.patch.gz dans le dossier monWiki ;
  4. décompresser l'archive gunzip mediawiki-1.19.22.patch.gz ;
  5. use patch -p 1 --dry-run to check what will be changed : patch -p 1 --dry-run < mediawiki-1.19.22.patch ;
  6. if all is well, run patch again without --dry-run : patch -p 1 < mediawiki-1.19.22.patch ;
  7. check your Special:Version and you should see the new version number in place.