Help:Extension/CreateGraph
From Metabolomics.JP
(Difference between revisions)
Line 39: | Line 39: | ||
<li>Insert the follow lines to LocalSettings.php | <li>Insert the follow lines to LocalSettings.php | ||
<pre>require_once( "$IP/extensions/CreateGraph.php" ); | <pre>require_once( "$IP/extensions/CreateGraph.php" ); | ||
− | $egScriptPath = "path to directory in graph.php from DocumentRoot"; // ex. "/mediawiki/scripts"</pre></li> | + | $egScriptPath = "path to directory which in graph.php from DocumentRoot"; // ex. "/mediawiki/scripts"</pre></li> |
<li>set $jpgraph variable in graph.inc | <li>set $jpgraph variable in graph.inc | ||
<pre>$jpgraph = "path to jpgraph"; // ex. "/var/www/htdocs/mediawiki/scripts/jpgraph</pre></li> | <pre>$jpgraph = "path to jpgraph"; // ex. "/var/www/htdocs/mediawiki/scripts/jpgraph</pre></li> |
Revision as of 13:59, 29 September 2008
Extension Information | |
Implementation | |
Description | |
Author(s) | K, Suwa |
Version | 0.1 |
MediaWiki | 1.11 only |
License | |
Hooks used | |
Token type | |
Contents |
Extension to display graphs by using jpgraph.
Requirements
Download
version | source | md5 |
0.1(September 17,2008) | CreateGraph.phps | abb3cbdb2d65afcccd52e91c7cb7a369 |
version | source | md5 |
0.1(September 17,2008) | graph.phps | f43944b3a54577a793edf379ba0ff2a9 |
version | source | md5 |
0.1(September 17,2008) | graph_inc.phps | 1325096054243aa333a98033c4d35c18 |
Installtion
- Install jpgraph.
- Download CreateGraph.phps and rename it to CreateGraph.php.
- Place it in the extensions/ directory.
- Download graph.phps and graph_inc.phps, rename them to graph.php and graph.inc.
- Place them in any directory (the same place under DocumentRoot).
- Insert the follow lines to LocalSettings.php
require_once( "$IP/extensions/CreateGraph.php" ); $egScriptPath = "path to directory which in graph.php from DocumentRoot"; // ex. "/mediawiki/scripts"
- set $jpgraph variable in graph.inc
$jpgraph = "path to jpgraph"; // ex. "/var/www/htdocs/mediawiki/scripts/jpgraph