Open fpaquet opened 5 months ago
Digging into the code, we created the following patch, which solves the issue for us:
File /var/www/html/dokuwiki/lib/plugins/syntaxmantis/syntax.php saved
[root@madness:/var/www/html/dokuwiki/lib/plugins/syntaxmantis] git diff syntax.php
diff --git a/lib/plugins/syntaxmantis/syntax.php b/lib/plugins/syntaxmantis/synt
index 971b642..cc3aa53 100644
--- a/lib/plugins/syntaxmantis/syntax.php
+++ b/lib/plugins/syntaxmantis/syntax.php
@@ -38,7 +38,10 @@ class syntax_plugin_syntaxmantis extends DokuWiki_Syntax_Plug
function render($mode, Doku_Renderer $renderer, $data) {
if($mode == 'xhtml'){
- $link['target'] = $conf['target']['wiki'];
+ //local $link;
+ global $conf;
+ global $url;
+ // $link['target'] = $conf['target']['wiki'];
$link['style'] = '';
$link['pre'] = '';
$link['suf'] = '';
Since latest update of DokuWiki Release 2024-02-06a "Kaos" we get PHP error messages when opening the page preview while editing some page contents.
Environment:
Steps to reproduce: