MediaWiki - Upgrade
De WikiMar
- Executar:
sudo webapp-config -U -h wiki.espai.de mediawiki 1.13.3
(aquesta linia la dona el mateix portage un cop ha instalat una mediawiki nova)
- Crear el fitxer AdminSettings.php amb usuari root d'acces a la base de dades mysql.
- Executar el php update.php dins de maintenance
- El includes/DefaultSettings.php conte més extencions:
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'doc', 'xml', 'xls' );
- El skins/MonoBook.php esta personalitzat. Copiar l'anterior o mira MediaWiki - MonoBook
- El LocalSettings.php en principi es concerva
En principi tot son Hard Copies, així editant una wiki s'apliquen els canvia a totes.
================================================================= POST-UPGRADE INSTRUCTIONS ================================================================= These instructions help you to upgrade your mediawiki installation. Please NOTE: at this point it is supposed that you've already read RELEASE-NOTES and done full wiki backup, as described here: http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki Run the update script ===================== Note: Make sure there's an AdminSettings.php file in the wiki root, and it contains up to date information. The user needs full permissions (shell access) on the database. If there is no AdminSettings.php, create it: $ cd /var/www/trainee.espai.de/htdocs $ cp AdminSettings.sample AdminSettings.php Now edit AdminSettings.php. The preferred method of performing the update is using the command-line maintenance script, although it is also possible to re-run the web-based installer. To run command-line maintenance script, change to the maintenance directory and execute the update script: $ cd /var/www/trainee.espai.de/htdocs/maintenance $ php update.php MediaWiki will inspect the existing schema and update it to work with the new code, adding tables and columns as needed. For alternative ways to upgrade your wiki, please, take a look at: http://www.mediawiki.org/wiki/Manual:Upgrading Upgrade extensions ================== Certain extensions have been updated in order to work with MediaWiki 1.13. Be sure to upgrade to the latest versions of such extensions. You might need to perform manual updates to custom extensions. Test the update =============== Once the upgrade has completed, browse to the wiki and check basics such as viewing and editing pages to ensure things still work as expected. Visit Special:Version and check that the version shown is correct. =================================================================