Extension talk:Plotters

Hello Ryan,

You examples look very nice. I am trying to install your extention on mediawiki-1.12.0. I have followed your installation instructions. But until now, with no success.

When I add: require_once( "$IP/extensions/Plotters/Plotters.php" ); to my LocalSettings.php, I get the error: Error, Setup.php must be included from the file scope, after DefaultSettings.php

When I add: $wgPlottersRendererFiles = array( "customrenderer" = array( "/customjs/Custom.js", "/customjs/MoreCustom.js", "..." ) ); to my LocalSettings.php, I get the error: $wgPlottersRendererFiles = array( "customrenderer" = Error: expected a )

Futher: What is the best place to install plotkit and MochiKit and are there any symbolic links needed to resolve the scrips inside these packages.


 * Are you adding the require to the end of LocalSettings.php? What version of MediaWiki are you using?


 * As for plotkit/mochikit, here's how I have it set up:

laner@ubuntu:/var/www/html/static/scripts$ ls * mochikit: Async.js    DOM.js          Logging.js      __package__.js  Sortable.js Base.js      DragAndDrop.js  LoggingPane.js  Position.js     Style.js Color.js     Format.js       MochiKit.js     Selector.js     Test.js DateTime.js  Iter.js         MockDOM.js      Signal.js       Visual.js

plotkit: Base.js   EasyPlot.js  PlotKit.js         SweetCanvas.js Canvas.js  excanvas.js  PlotKit_Packed.js  SweetSVG.js dummy.svg  Layout.js    SVG.js


 * A URL to one of Plotkit's javascript files would look like: http://localhost/static/scripts/plotkit/SweetCanvas.js


 * I have the following at the end of LocalSettings.php:


 * Hope that helps. --Ryan lane 03:12, 16 July 2009 (UTC)