Extension talk:SiteGraph

From mediawiki.org
Latest comment: 5 years ago by Bryandamon in topic Error using the example

In MW 1.19.1 GraphViz extension is working correctly, but SiteGraph extension is not showing anyting, even in a test site with only 4 linked pages (a main page with links to three pages) — Preceding unsigned comment added by 200.198.222.40 (talkcontribs)

Changes in Script due to GraphViz Update[edit]

I am using the newest Version of Graphviz and had to modify the SiteGraph.php-Script, to make sure there won't be any Imagemap-errors. This is what I modified:

I changed the URL-Part in Line 126

from
  URL=\"" . $title->getLocalURL() . "\"];";
to
  URL=\"[[" . $title . "]]\"];";

Error using the example[edit]

Graphviz is working fine, but when I try to use the example shown on the page, I get the following error, "Error: No valid link was found at the end of line 2.". Using GraphViz(3.1.0) & MW(1.31.1) -- Bryandamon (talk) 23:15, 21 March 2019 (UTC)Reply