Bug 4402 - Can we have Extension:GraphViz installed?
Summary: Can we have Extension:GraphViz installed?
Status: ASSIGNED
Alias: None
Product: Websites
Classification: Unclassified
Component: wiki.mageia.org (show other bugs)
Version: trunk
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Sysadmin Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-03 17:46 CET by Simon Parsons
Modified: 2012-03-17 18:19 CET (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Simon Parsons 2012-02-03 17:46:30 CET
I was looking at some of the instructions on the wiki - specifically some of the how-tos - and wondered if the GraphViz extension was available as it's very useful for creating flow charts to visualise procedures.

Is it possible to have this plugin installed??
Manuel Hiebel 2012-02-03 19:07:28 CET

CC: (none) => sysadmin-bugs

Comment 1 Marja Van Waes 2012-02-07 20:15:38 CET
assigning to Oliver Burger at his wish

CC: (none) => marja11
Assignee: mageia-webteam => oliver.bgr

Comment 2 Oliver Burger 2012-02-08 07:50:17 CET
Simon: In such requests, it's always nice to provide urls, although it's easy to find in this case:
http://www.mediawiki.org/wiki/Extension:GraphViz

Status: NEW => ASSIGNED

Comment 3 Simon Parsons 2012-02-08 09:40:46 CET
Oliver: I try to keep your mind active by giving you these little extra tasks ;-)
Actually, I must apologise as I completely forgot to include the link!
Comment 4 Oliver Burger 2012-02-12 14:48:21 CET
Imported into Cauldron, please test, so we can backport it and install into our wiki.
Comment 5 claire robinson 2012-02-27 12:23:24 CET
The following 5 packages are going to be installed:

- graphviz-2.28.0-4.mga2.x86_64
- lib64cgraph6-2.28.0-4.mga2.x86_64
- lib64gvpr2-2.28.0-4.mga2.x86_64
- mediawiki-graphviz-0.9-1.89857.1.mga2.noarch
- mscgen-0.20-1.mga2.x86_64

4.4MB of additional disk space will be used.

----------

The installation instructions are a incomplete..

To use this extension, you have to add the following three lines to your LocalSettings.php
include("extensions/GraphViz/GraphViz.php"); ->execPath = "/usr/bin/"; ->mscgenPath = "/usr/bin/";

From the extension URL

include("extensions/GraphViz/GraphViz.php"); //includes the extension<br />
$wgGraphVizSettings->execPath = "/path/to/graphviz/"; //Path to the Graphviz Installation
$wgGraphVizSettings->mscgenPath = "/usr/bin/";

It looks like the variables have been stripped out.

Once the correct lines put in LocalSettings.php tested using code borrowed from Simon

<graphviz caption='Inset Assignment Procedure'>

digraph INSETS {

SITE -> "Home Cell"; "Home Cell" -> Prediction; Prediction -> Dominant; Dominant -> "Use in-Cell channels"; "Use in-Cell channels" -> "Check C to I"; Prediction -> Smaller; Smaller -> "Use Insets"; "Use Insets" -> "Check C to I"; "Check C to I" -> "Print Plots";

}

</graphviz>

Produced a flowchart.


Other than the installation instructions this appears to be working fine.

Thanks :)
Comment 6 claire robinson 2012-02-27 12:43:27 CET
The variables appear to have been removed from the README.install.urpmi file so it is displaying correctly. They have probably been removed by the build system.
Comment 7 Simon Parsons 2012-02-27 12:59:04 CET
Hi Claire,

Thank you very much!  
I'll have to write a how-to for getting Mediawiki-GraphViz working in Mag2, won't I? ;-)

Simon
Comment 8 Oliver Burger 2012-02-27 14:19:51 CET
Display of php variables in README.install.urpmi fixed.
Comment 9 claire robinson 2012-03-02 18:11:55 CET
Where does this go from here Oliver?

CC: (none) => doc-bugs

Comment 10 Oliver Burger 2012-03-02 18:42:44 CET
I'd say to sysadmins...

Assignee: oliver.bgr => sysadmin-bugs

Oliver Burger 2012-03-02 18:43:11 CET

CC: (none) => oliver.bgr

Comment 11 claire robinson 2012-03-02 18:56:32 CET
Sysadmin.. Does this need an mga1 version before it can be applied to the wiki or can you do so with this mga2?

If mga2 is Ok could this be applied please.

Thankyou :)
Comment 12 claire robinson 2012-03-17 18:19:03 CET
sysadmin any feedback on this please?

Note You need to log in before you can comment on or make changes to this bug.