$Skin = 'empty';
@include_once("$FarmD/cookbook/e-protect.php");
+include_once($FarmD.'/scripts/xlpage-utf-8.php');
+
+if ($action == 'rss' || $action == 'atom' || $action == 'rdf' || $action == 'dc') {
+ $FmtPV['$MarkupExcerpt'] = '$page["text"]';
+ $FeedFmt[$action]['item']['title'] = '[$Group] {$Title}';
+ $FeedFmt[$action]['item']['description'] = '$LastModifiedSummary';
+ $FeedFmt[$action]['feed']['title'] = 'Polytechnique.org :: Wiki :: $FullName';
+ $pagelist = null;
+ include_once("$FarmD/scripts/feeds.php");
+}
// Theme-ing {{{
Markup('[[~platal', '<[[~', '/\[\[~([^|\]]*)(?:\|([^\]]*))?\]\]/e',
'PreserveText("=", doPlatalLink("$1", "$2"), "")');
-// prevent restorelinks before block apply (otherwise [[Sécurité]] will give
-// .../S<span class='e9curit'>e9'>Sécurité</a>
+// Preserve javascript
+Markup('[[javascript', '<[[javascript:', '/\[\[javascript:([^\|]*)\|([^\]]*)?\]\]/e',
+ 'PreserveText("=", \'<a href="javascript:\' . htmlentities("$1") . \'">\', "") . "$2" . PreserveText("=", "</a>", "")');
+
+// prevent restorelinks before block apply (otherwise [[Sécurité]] will give
+// .../S<span class='e9curit'>e9'>Sécurité</a>
Markup('restorelinks','<%%',"//", '');
## [[#anchor]] in standard XHTML
$HandleAuth['diff'] = 'edit';
$HandleAuth['source'] = 'edit';
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>