r1706 - tools/webtools/timeline
Author: jw Date: 2006-08-10 18:43:36 +0200 (Thu, 10 Aug 2006) New Revision: 1706 Modified: tools/webtools/timeline/tlcacher.php Log: timeline: trim diff url Modified: tools/webtools/timeline/tlcacher.php =================================================================== --- tools/webtools/timeline/tlcacher.php 2006-08-10 16:33:53 UTC (rev 1705) +++ tools/webtools/timeline/tlcacher.php 2006-08-10 16:43:36 UTC (rev 1706) @@ -186,7 +186,7 @@ foreach ($wikiedits as $ed) { preg_match('/\[\[.*\]\] ./', $ed, $matches); $page = $matches[0]; - $page_diff = str_replace("]]", "?action=diff|diff]]", $page); + $page_diff = trim(str_replace("]]", "?action=diff|diff]]", $page)); preg_match('/by \[\[.*\]\]/', $ed, $matches); $user = $matches[0]; preg_match("/\=(.*)\=/s",$ed,$matches);
participants (1)
-
crux@crux.nu