From 75d6f6c59ca8352fee3929d99bd57ba6a0602d79 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sat, 25 Aug 2007 17:21:05 +0200 Subject: [PATCH] Fix URLs in the wiki RSS --- include/wiki/engine.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/wiki/engine.php b/include/wiki/engine.php index ad5d9a1..08d7572 100644 --- a/include/wiki/engine.php +++ b/include/wiki/engine.php @@ -92,6 +92,7 @@ $wiki_exists = file_exists(wiki_work_dir() . '/' . wiki_filename($n)); if ($feed) { $wikiAll = str_replace('dc:contributor', 'author', $wikiAll); $wikiAll = preg_replace('!.*?\..*?\.(\d{4})\|(.*?)!u', '$2 (X$1)', $wikiAll); + $wikiAll = str_replace('./', '' . $globals->baseurl . '/' . $platal->ns, $wikiAll); echo $wikiAll; pl_clear_errors(); exit; -- 2.1.4