Skip to content

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

@amglez

Description

@amglez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions