From: David Marec Date: Thu, 30 Apr 2020 09:01:59 +0000 (+0200) Subject: back to greebo 's "_addcall" X-Git-Tag: greebo~3 X-Git-Url: http://popeye.lapinbilly.eu/git/?p=manlink.git;a=commitdiff_plain;h=30bb721a31778a360ef1277a07fe0e8019b1d699 back to greebo 's "_addcall" --- diff --git a/manlink.tgz b/manlink.tgz index 25468e6..1be1c55 100644 Binary files a/manlink.tgz and b/manlink.tgz differ diff --git a/plugin.info.txt b/plugin.info.txt index 78e0716..c88c1df 100644 --- a/plugin.info.txt +++ b/plugin.info.txt @@ -4,7 +4,7 @@ email david@lapinbilly.eu date 2020-04-30 name Manpage link plugin desc Transforms manpage descriptions to manpage links -url https://gitlab.com/TurtleCrazy/manlink +url https://www.dokuwiki.org/plugin:manlink note Based on former manlink extension by Julian Fagir diff --git a/syntax.php b/syntax.php index d9e2724..cee0a2a 100644 --- a/syntax.php +++ b/syntax.php @@ -25,7 +25,7 @@ class syntax_plugin_manlink extends DokuWiki_Syntax_Plugin { return false; if (substr($match, 0, 1) == "!") { - $handler->addCall('cdata', array(substr($match, 1)), $pos); + $handler->_addCall('cdata', array(substr($match, 1)), $pos); return true; } @@ -42,7 +42,7 @@ class syntax_plugin_manlink extends DokuWiki_Syntax_Plugin { elseif ($mantarget == 'DragonFlyBSD') $target = 'http://mdoc.su/d/'.$manpage.'.'.$section; - $handler->addCall('externallink', array($target, $match), $pos); + $handler->_addCall('externallink', array($target, $match), $pos); return true; }