| Summary: | Can we have Extension:GraphViz installed? | ||
|---|---|---|---|
| Product: | Websites | Reporter: | Simon Parsons <simonnzg> |
| Component: | wiki.mageia.org | Assignee: | Sysadmin Team <sysadmin-bugs> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | doc-bugs, marja11, oliver.bgr, sysadmin-bugs |
| Version: | trunk | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
Simon Parsons
2012-02-03 17:46:30 CET
Manuel Hiebel
2012-02-03 19:07:28 CET
CC:
(none) =>
sysadmin-bugs assigning to Oliver Burger at his wish CC:
(none) =>
marja11 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 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! Imported into Cauldron, please test, so we can backport it and install into our wiki. 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 :)
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. 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 Display of php variables in README.install.urpmi fixed. Where does this go from here Oliver? CC:
(none) =>
doc-bugs I'd say to sysadmins... Assignee:
oliver.bgr =>
sysadmin-bugs
Oliver Burger
2012-03-02 18:43:11 CET
CC:
(none) =>
oliver.bgr 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 :) sysadmin any feedback on this please? |