I found a little bug. Discovered it (now fixed) while working on
http://peswiki.com/index.php/Directory:Perendev_Power_Developments_Pty_%28L…
or try http://tinyurl.com/58mwy
Under "See also"; in the browser, the following appeared
[[Directory:Magnetic Motors ]
Yet in code it was
[[Directory:Magnetic Motors]]
It turns out that it was because I omitted the closing "]" from a link
several sections higher
([mailto:perendev-subscribe@yahoogroups.com?subject=subscribe subscribe)
Somehow that omission was picked up by the "spare ]" on the first internal
link it came to.
I don't know if this is a bug so much as a suggestion for programming.
Namely the following rule to be created: (sorry, very awkward to describe)
If a closing "]" is missing from external url syntax, then when the code is
previewed (or viewed as normal), an opening "[" will be shown as "["
...if the opening "[" is not followed by a closing "]" prior to a double
return or a heading or a bullet or a line ....
Sterling
Dear Community,
please excuse me, if this is a frequently asked question, but I don't
found any good way to check the archive. (maybe i need new glasses).
I am running a wiki on a server that is running in germany. Putting echo
date("H:i")."<br>"; in a test file, results in the correct time. However
the wiki seems to running exaktly 2 hours in the past (GMT?). Is there
any good way to change the behaviour and let him simply use the server
time? I found a small post about the time adjustment in the manual.
# Ugly hack warning! This needs smoothing out.
$wgLocaltimezone = "UTC";
$oldtz = getenv("TZ");
putenv("TZ=$wgLocaltimezone");
$wgLocalTZoffset = date("Z") / 3600;
putenv("TZ=$oldtz");
However the server doesn't seems to react on any timezone I try to set.
Either MET nor Europe/Berlin seems to work. He always running round
about 2 hours in the past. I am really new to this unix timezone stuff,
so maybe there is some critical point I am missing? Please apologize then!
I put a small testing script on the wiki server:
echo date("Z")."<br>";
echo date("H:i")."<br>";
# Ugly hack warning! This needs smoothing out.
$wgLocaltimezone = "Europe/Berlin";
$oldtz = getenv("TZ");
putenv("TZ=$wgLocaltimezone");
$wgLocalTZoffset = date("Z") / 3600;
putenv("TZ=$oldtz");
echo date("H:i")."<br>";
The result can be called @: http://wiki.delphigl.com/test.php
Any good ideas?
Thanks in advise,
Florian Sievert