Wiki-Installationshürden

Aus ThinkPad-Wiki

Zeitzonen Anpassung

Irgendwie klappt das nicht mit dem anpassen der Zeitzone.

In der DefaultSettings.php steht folgendes

Fake out the timezone that the server thinks it's in. This will be used for date display and not for what's stored in the DB. Leave to null to retain your server's OS-based timezone value. This is the same as the timezone.

This variable is currently used ONLY for signature formatting, not for anything else.

  1. $wgLocaltimezone = 'GMT';
  2. $wgLocaltimezone = 'PST8PDT';
  3. $wgLocaltimezone = 'Europe/Sweden';
  4. $wgLocaltimezone = 'CET';

$wgLocaltimezone = null;


Wenn ich in der LocalSettings.php $wgLocaltimezone = 'GMT'; eingebe, und nur da darf ich Änderungen reinschreiben, passiert nichts, grr…

Ich kann eingeben, was ich will, GMT oder MEZ usw. Nichts verändert sich.

Nach Anleitung (http://www.mediawiki.org/wiki/Manual:Timezone) habe ich gerade folgendes eingegeben:

$wgLocaltimezone="Europe/Berlin";

$wgLocalTZoffset = +2;

Leider keine Reaktion, keine Veränderung


Wo liegt das Problem? --Dreamcatcher 23:27, 9. Apr. 2008 (CEST)


Vielleicht hier: Note: The $wgLocalTZoffset configuration changed from hours to minutes in MediaWiki: 1.7.0. --Rasputin 01:33, 10. Apr. 2008 (CEST)


Läuft doch jetzt, sehe ich das richtig? --Julakali 16:02, 12. Apr. 2008 (CEST)