Extension talk:Gchart4mw

Security Issues
This is a great wiki extension for public wikis. However, if your wiki is intranet based you may be sending info out that is sensitive (because Google renders the image from a url that is not secured). So at the very least you are sharing your data with Google and also with any one who picks up the communication.

Even with this draw back this is still a useful extension for internal wikis, it just needs to be clear that the data being charted is heading out on the internet. I modified gchart4mw.php to include a warning label. Here is the changed code:

// - function gfLinesRender( $input, $args, $parser ) { global $gchartWikiDefaults; global $gchartLinesDefaults;

gfChartInit ; gfArgsParseCommon ($gchartWikiDefaults); gfArgsParseCommon ($gchartLinesDefaults); gfArgsParseCommon ($args);

$retval = '';

// Insert a dislamer caption $retval = ' ';

return $retval; }

function gfBarsRender( $input, $args, $parser ) { global $gchartWikiDefaults; global $gchartBarsDefaults;

gfChartInit ; gfArgsParseCommon ($gchartWikiDefaults); gfArgsParseCommon ($gchartBarsDefaults); gfArgsParseCommon ($args);

$retval = '';

// Insert a dislamer caption $retval = ' ';

return $retval; }

function gfPieRender( $input, $args, $parser ) { global $gchartWikiDefaults; global $gchartPieDefaults;

gfChartInit ; gfArgsParseCommon ($gchartWikiDefaults); gfArgsParseCommon ($gchartPieDefaults); gfArgsParseCommon ($args);

$retval = '';

// Insert a dislamer caption $retval = ' ';

This will render the image looking like this: