--- wiki.module	2004-02-08 23:39:38.000000000 +0100
+++ wiki45.module	2004-11-01 18:25:29.000000000 +0100
@@ -5,9 +5,15 @@
  */ 
 
 function wiki_link($type) {
-  if ($type == "system") {
-    menu("wiki", t("Wiki Text Formatting Rules"), "wiki_page", 0, MENU_HIDE);
+  global $user;
+  $items = array();
+  if ($may_cache) {
+  $items[] = array('path' => 'wiki', 'title' => t('Wiki Text Formatting Rules'),
+      'callback' => 'wiki_page',
+      'access' => user_access('access content'),
+      'type' => MENU_SUGGESTED_ITEM);
   }
+  return $items;
 }
 
 function wiki_page()
@@ -300,7 +306,7 @@
   if (empty($linktext)) {
     $linktext = htmlspecialchars($node->title);
 	}
-  return "<a href=\"/node/view/{$node->nid}\">$linktext</a>";
+  return "<a href=\"/node/{$node->nid}\">$linktext</a>";
 }
 
 /**
@@ -700,7 +706,7 @@
 
 function wiki_help($type= "admin/help#wiki") {
   switch ($type) {
-    case "admin/system/modules#description":
+    case "admin/modules#description":
       return t("Enables users to use simple markup to format stories, articles or similar content.");
     case "filter#short-tip":
     case "filter#long-tip":
@@ -708,10 +714,15 @@
   }
 }
 
-function wiki_filter($op, $text = "") {
+function wiki_filter($op, $delta = 0, $format = -1, $text = '') {
   switch ($op) {
+    /*not sure if name is still needed with 4.5 */
     case "name":
       return t("Wiki filter");
+    case 'list':
+      return array(0 => t("Wiki filter"));
+    case 'description':
+      return t("Turns web and e-mail addresses into clickable links.");
     case "process":
       return _wiki_transform($text);
     case "settings":
