includes/wikiengine/parse_mediawiki.php
changeset 1156 417e66a664d0
parent 1138 a7b490f0c418
child 1174 def792dd9b1b
--- a/includes/wikiengine/parse_mediawiki.php	Mon Dec 07 15:21:47 2009 -0500
+++ b/includes/wikiengine/parse_mediawiki.php	Fri Dec 11 17:10:44 2009 -0500
@@ -19,6 +19,8 @@
     'underline' => '/__(.+?)__/',
     'externalwithtext' => '#\[((?:https?|irc|ftp)://.+?) (.+?)\]#',
     'externalnotext' => '#\[((?:https?|irc|ftp)://.+?)\]#',
+    'mailtonotext' => '#\[mailto:([^ \]]+?)\]#',
+    'mailtowithtext' => '#\[mailto:([^ \]]+?) (.+?)\]#',
     'hr' => '/^[-]{4,} *$/m'
   );