Mediawiki 1.14.0: Unterschied zwischen den Versionen

Aus Mikiwiki
Wechseln zu: Navigation, Suche
Zeile 192: Zeile 192:
 
  Done.
 
  Done.
  
Erneuern der Erweiterungen.
+
Erneuern der Erweiterungen. Unter Mediawiki 1.13.3 waren folgende Erweiterungen installiert:
 +
* [[Mediawiki/Erweiterung/Description|Description]]
 +
* Emailtag
 +
* [[Mediawiki/Erweiterung/GnuplotBasic|GnuplotBasic]]
 +
* [[Mediawiki/Erweiterung/IconLink|IconLink]]
 +
* [[Mediawiki/Erweiterung/Multiboilerplate|Multiboilerplate]]
 +
* Poem
 +
* StubManager
 +
* [[Mediawiki/Erweiterung/Syntaxhighlight GESHI|Syntaxhighlight GESHI]]
 +
* [[Mediawiki/Erweiterung/Securehtml|Securehtml]]
 +
* [[Mediawiki/Erweiterung/Tab0|Tab0]]
  
 
Überprüfen der Konfigurationseinstellungen. Die Namen von Variablen und ihre Standardwerte und -zwecke können zwischen den Versionen abweichen. Dazu sollten die [http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_10/phase3/UPGRADE?view=markup] gelesen werden.
 
Überprüfen der Konfigurationseinstellungen. Die Namen von Variablen und ihre Standardwerte und -zwecke können zwischen den Versionen abweichen. Dazu sollten die [http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_10/phase3/UPGRADE?view=markup] gelesen werden.

Version vom 4. März 2009, 22:47 Uhr

Mediawiki 1.14.0 wurde am 22. Februar 2009 veröffentlicht.

Vorbedingungen

Vier interessante Dateien:

  • Die Datei "README" enthält allgemeine Informationen zu Mediawiki.
  • Die Datei "RELEASE-NOTES" beschreibt die Systemvoraussetzungen.
  • Die Datei "INSTALL" beschreibt die Installation.
  • Die Datei "UPGRADE" beschreibt den Upgrade-Vorgang bestehender Installationen.

Vorbedingungen für Mediawiki 1.13.3:

  • Apache
  • PHP >= 5.0 (5.1 oder 5.2 empfohlen)
  • MySQL >= 4.0 4.0 empfohlen)
  • Apache und MySQL müssen im Runlevel-Editor aktiviert sein
  • ImageMagick oder "gd" (zum automatischen Verkleinern der Software-Bilder)

Sicherung der bestehenden Version

Wiki-Inhalte

  • SQL-Datenbank-Dump
mysqldump --all-databases > file.txt
  • XML-Dump
mysqldump --all-databases --xml > file.xml

Bilder (die Inhalte des Verzeichnisses "images")

Konfigurationsdateien ("LocalSettings.php", "AdminSettings.php").

Mediawiki-Programmdateien, einschliesslich aller Skins und Erweiterungen, besonders wenn diese verändert wurden.

Update von Mediawiki 1.13.3 auf 1.14.0

Wegsichern der alten Installation.

# cd /var/www/mikiwiki
# cp -pr mikiwiki mikiwiki-OLD20090304

Herunterladen und Entpacken von Mediawiki.

# cd /backup/software
# wget http://download.wikimedia.org/mediawiki/1.14/mediawiki-1.14.0.tar.gz
# tar xzf mediawiki-1.14.0.tar.gz -C /var/www/mikiwiki --strip-components=1
# cd /var/www
# chown -R wiki:wiki mikiwiki
# cd mikiwiki
# chmod 777 images

Konfiguration der Datei "AdminSettings.php".

# su - wiki
$ cd /var/www/mikiwiki
$ cp -p AdminSettings.sample AdminSettings.php
$ vi AdminSettings.php
$wgDBadminuser      = 'root';
$wgDBadminpassword  = ;

Update.

$ cd maintenance
$ php update.php --aconf ../AdminSettings.php
MediaWiki 1.14.0 Updater

Going to run database updates for mikiwiki-mw_
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds...0
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...already have interwiki table
...indexes seem up to 20031107 standards
...hitcounter table already exists.
...have rc_type field in recentchanges table.
...have user_real_name field in user table.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
Already have pagelinks; skipping old links table updates.
...have rc_ip field in recentchanges table.
...image primary key already set.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...logging table already exists.
...have user_token field in user table.
The watchlist table is already set up for email notification.
...watchlist talk page rows already present
...user table does not contain old email authentication field.
...page table already exists.
...have log_params field in logging table.
logging table has correct log_title encoding.
...have ar_rev_id field in archive table.
...have page_len field in page table.
revision timestamp indexes already up to 2005-03-13
...rev_text_id already in place.
...have rev_deleted field in revision table.
...have img_width field in image table.
...have img_metadata field in image table.
...have user_email_token field in user table.
...have ar_text_id field in archive table.
...page_namespace is already a full int (int(11)).
...ar_namespace is already a full int (int(11)).
...rc_namespace is already a full int (int(11)).
...wl_namespace is already a full int (int(11)).
...qc_namespace is already a full int (int(11)).
...log_namespace is already a full int (int(11)).
...have img_media_type field in image table.
...already have pagelinks table.
No img_type field in image table; Good.
Already have unique user_name index.
...user_groups table already exists.
...user_groups is in current format.
...have ss_total_pages field in site_stats table.
...user_newtalk table already exists.
...transcache table already exists.
...have iw_trans field in interwiki table.
...trackbacks table already exists.
...wl_notificationtimestamp is already nullable.
...timestamp key on logging already exists.
...have ipb_range_start field in ipblocks table.
Setting page_random to a random value on rows where it equals 0...changed 0 rows
...have user_registration field in user table.
...templatelinks table already exists
...externallinks table already exists.
...job table already exists.
...have ss_images field in site_stats table.
...langlinks table already exists.
...querycache_info table already exists.
...filearchive table already exists.
...have ipb_anon_only field in ipblocks table.
Checking for additional recent changes indices...
...index `rc_ns_usertext` seems ok.
...index `rc_user_text` seems ok.
...have user_newpass_time field in user table.
...redirect table already exists.
...querycachetwo table already exists.
...have ipb_enable_autoblock field in ipblocks table.
Checking for backlinking indices...
Checking if pagelinks index pl_namespace includes field pl_from...
...index pl_namespace on table pagelinks seems to be ok
Checking if templatelinks index tl_namespace includes field tl_from...
...index tl_namespace on table templatelinks seems to be ok
Checking if imagelinks index il_to includes field il_from...
...index il_to on table imagelinks seems to be ok
...have rc_old_len field in recentchanges table.
...have user_editcount field in user table.
...page_restrictions table already exists.
...have log_id field in logging table.
...have rev_parent_id field in revision table.
...have pr_id field in page_restrictions table.
...have rev_len field in revision table.
...have rc_deleted field in recentchanges table.
...have log_deleted field in logging table.
...have ar_deleted field in archive table.
...have ipb_deleted field in ipblocks table.
...have fa_deleted field in filearchive table.
...have ar_len field in archive table.
...have ipb_block_email field in ipblocks table.
Checking for categorylinks indices...
Checking if categorylinks index cl_sortkey includes field cl_from...
...index cl_sortkey on table categorylinks seems to be ok
...have oi_metadata field in oldimage table.
...usertext,timestamp key on archive already exists.
...usertext,timestamp key on image already exists.
...usertext,timestamp key on oldimage already exists.
...have ar_page_id field in archive table.
...have img_sha1 field in image table.
...protected_titles table already exists.
...have ipb_by_text field in ipblocks table.
...page_props table already exists.
...updatelog table already exists.
...category table already exists.
Populating category table, printing progress markers.  Category population complete.
Done populating category table.
...have ar_parent_id field in archive table.
...have user_last_timestamp field in user_newtalk table.
Populating rev_parent_id column
...doing rev_id from 1 to 200
...
...doing rev_id from 8359 to 8558
rev_parent_id population complete ... 8232 rows [3 changed]
protected_titles table has correct pt_title encoding.
Checking filearchive indices...
Updating password hash format...done
Adding ss_active_users field to table site_stats...ok
...ss_active_users user count set...
Adding ipb_allow_usertalk field to table ipblocks...ok
Deleting old default messages (this may take a long time!)...Done
Checking site_stats row...ok.
Purging caches...done.
Done.

Erneuern der Erweiterungen. Unter Mediawiki 1.13.3 waren folgende Erweiterungen installiert:

Überprüfen der Konfigurationseinstellungen. Die Namen von Variablen und ihre Standardwerte und -zwecke können zwischen den Versionen abweichen. Dazu sollten die [1] gelesen werden.

Testen der neuen Version

  • Aufruf der Versionsseite unter http://<Domain>/wiki/index.php/Spezial:Version
  • Überprüfen der Grundfunktionen wie Anzeigen, Bearbeiten, Erzeugen und Löschen.

Weblinks