diff --git a/opt/display.php b/opt/display.php
index 72c687e..2bba347 100644
--- a/opt/display.php
+++ b/opt/display.php
@@ -67,7 +67,9 @@ function bbcode_to_html($text, $settings, $sub)
'/(\[url\ )(.*?)(\])/',
'/ s\/(.+)\/([0-9]+)/',
'/>> ([0-9]+)\r\n/',
- '/>>(.*)\r\n/'
+ '/>>(.*)\r\n/',
+ '/(\[wiki\ )(.*?)(\])/',
+ '/(\[find\ )(.*?)(\])/'
);
$replace = array (
@@ -81,7 +83,9 @@ function bbcode_to_html($text, $settings, $sub)
'$2',
' s/$1/$2',
">$1$2
",
- '>>$1$2
'
+ '>>$1$2
',
+ 'http://wikiless.i2p/wiki/$2',
+ 'http://heimdall.i2p/yacysearch.html?query=$2'
);
return preg_replace($search, $replace, $text);
diff --git a/opt/show.php b/opt/show.php
index 859aa34..1cb85db 100644
--- a/opt/show.php
+++ b/opt/show.php
@@ -176,6 +176,8 @@ function show_post_form($db, $msg, $sub, $settings, $org_id, $css, $quote, $ip)
$html_string .= 'required placeholder=\'[b bold], [i italic],'
. '[li list point], [s strike through], [sp spoiler],'
. '[h headline], [u underlined], [url link], '
+ . ' [wiki $word], '
+ . ' [find $word], '
. '>> $post_id: local reference,'
. ' s/$sub/$post_id: global reference\'>'
. '';