Hi Keith! Thanks for the advice, it works now! I was just been updating my CollaborationDiagram extension and wasn't aware of the fact that the graphviz api have changed a little bit since last time.
----- Yury Katkov
On Tue, Dec 23, 2014 at 10:09 PM, Keith Welter welterkj@gmail.com wrote:
Hi Yury, Please refer to the GraphViz link documentation: https://www.mediawiki.org/wiki/Extension:GraphViz#Links
If you change: node [URL="/mw/index.php?title=\N"] ; To: node [URL="http://mw/index.php?title=%5CN"] ;
Your graph will be accepted.
The GraphViz extension continues to supports the full dot language except for a very small set of documented restrictions: https://www.mediawiki.org/wiki/Extension:GraphViz#Restrictions
As for madness and regular expressions in Imagemap_body.php (I think you meant GraphViz_body.php?) I'd welcome more specific code review comments. In fact, the extension could sorely use an additional maintainer. I've been doing it solo since January. Let me know if you're interested. Thanks, Keith Welter
On Tue, Dec 23, 2014 at 10:51 AM, Yury Katkov katkov.juriy@gmail.com wrote:
Hi everyone!
I've seen that Graphviz extension is being developed again! The old
version
could parse the following graph:
<graphviz> digraph W { rankdir = LR ; node[fontsize=10, fontcolor="blue", shape="none", style=""] ;
node [URL="/mw/index.php?title=\N"] ;
"User:MediaWiki default" "User:MediaWiki default" [tooltip="MediaWiki default"] ; "User:MediaWiki default" [fontcolor="#BA0000"];
"User:Us0" "User:Us0" [tooltip="Us0"] ; "User:Us0" [fontcolor="#BA0000"];
"User:Admin" "User:Admin" [tooltip="Admin"] ; "User:Admin" [fontcolor="#BA0000"];
"User:MediaWiki default" -> "Main Page" [ penwidth=2.0968239556951 label=1] ; "User:Us0" -> "Main Page" [ penwidth=10.340079843406 label=6] ; "User:Admin" -> "Main Page" [ penwidth=5.7720138182848 label=3] ;}</graphviz>
It seems that the new version doesn't understand any parameters except
the
-> links. I'm having an error:
Error: No valid link was found at the end of line 2. At Imagemap_body.php I see a lot of madness going on: regular expressions and other horrible things. It seems that now Graphviz extension supports only a little fraction of the dot language. Is that because of Imagemap?
Cheers,
Yury Katkov _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l