case 'rss': case 'atom': case 'sdf': case 'dc':
wiki_apply_feed_perms($perms[0]);
$feed = true;
- case '': case 'search':
+ case '': case 'search':
break;
case 'edit':
if ($feed) {
$wikiAll = str_replace('dc:contributor', 'author', $wikiAll);
$wikiAll = preg_replace('!<author>.*?\..*?\.(\d{4})\|(.*?)</author>!u', '<author>$2 (X$1)</author>', $wikiAll);
+ $wikiAll = str_replace('<link>./', '<link>' . $globals->baseurl . '/' . $platal->ns, $wikiAll);
echo $wikiAll;
pl_clear_errors();
exit;
$url = '/' . str_replace('.', '/', $n) . '?action=rss';
if (S::logged()) {
$url .= '&user=' . S::v('forlife') . '&hash=' . S::v('core_rss_hash');
- }
+ }
$page->setRssLink($n, $url);
}