splitbrain/dokuwiki-grapher

Some changes and it works fine with actual dokuwiki (I think)

amglez opened this issue · 5 comments

I am a total newie and I was trying the grapher.php in my dokuwiki (Release 2022-07-31a "Igor") but it did not work. I looked around and, after changing things as said after, it looks to work fine.
As indicated in phpcli, I put :

use splitbrain\phpcli\CLI;
use splitbrain\phpcli\Options;

class Grapher extends CLI {...

And I changed :

$namespaces = array_map('cleanID', $options->args);
for
$namespaces = array_map('cleanID', $options->getArgs());

I attached the file in case is any good.

grapher (1).zip