Jump to content

Extension:StockCharts: Difference between revisions

From mediawiki.org
Content deleted Content added
extension collects information from your computer
m This extension appears to be in SVN, not Git.
Line 10: Line 10:
|update=2009-06-04
|update=2009-06-04
|mediawiki=1.9.3+
|mediawiki=1.9.3+
|download={{WikimediaDownload|StockCharts}}
|download={{WikimediaDownload|StockCharts}}
|readme=
|readme=
|description=Allows users to include interactive financial charts within an article. Charts cover stocks prices, but also economic data such as the Consumer Price Index and interest rates. Charts are flash-powered and users can pan and zoom without a page refresh. Data is provided by Thomson / Reuters and Xignite, with a 15-20 minute delay.
|description=Allows users to include interactive financial charts within an article. Charts cover stocks prices, but also economic data such as the Consumer Price Index and interest rates. Charts are flash-powered and users can pan and zoom without a page refresh. Data is provided by Thomson / Reuters and Xignite, with a 15-20 minute delay.

Revision as of 22:50, 13 August 2012

Note: this extension collects information from your computer - see the Terms of use.

MediaWiki extensions manual
StockCharts
Release status: beta
Implementation Special page
Description Allows users to include interactive financial charts within an article. Charts cover stocks prices, but also economic data such as the Consumer Price Index and interest rates. Charts are flash-powered and users can pan and zoom without a page refresh. Data is provided by Thomson / Reuters and Xignite, with a 15-20 minute delay.
Author(s) Brendan Meutzner, Anton Zolotkov, Roger Fong
Latest version 0.1 (2009-06-04)
MediaWiki 1.9.3+
License No license specified
Download Template:WikimediaDownload/svn
Translate the StockCharts extension if it is available at translatewiki.net

The StockCharts extension adds a <stockchart ticker="TIKR"/> tag extension and {{#stockchart: ticker="TIKR"}} parser function that allows users to include interactive financial charts within an article. Charts cover stocks prices, but also economic data such as the Consumer Price Index and interest rates. Charts are flash-powered and users can pan and zoom without a page refresh. Data is provided by Thomson / Reuters and Xignite, with a 15-20 minute delay.

License

Copyright 2007-2009 Wikinvest.com

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Authors

Brendan Meutzner ( brendan @ wikinvest.com )

Anton Zolotkov ( anton @ wikinvest.com )

Roger Fong ( roger @ wikinvest.com )

Pre-requisites

This extension was tested with Mediawiki 1.9.3 and 1.15alpha.

Configuration & Installation

  • Get the source via SVN
  • Add this line to your LocalSettings.php
require_once('extensions/StockCharts/StockCharts.php');

Use and Options

To embed a stock chart in an article, use the syntax:

<stockchart ticker="TIKR"/>

or

{{#stockchart: ticker="TIKR"}}

The 2nd syntax works within templates.


Options you can specify are:

  • ticker - stock ticker (required)
  • width - width of chart
  • height - height of chart
  • title - custom title for chart
  • range - range / zoom of chart. Possible values: "1 day", "5 days", "1 month", "3 months", "6 months", "1 year", "2 years", "5 years", "10 years", "full"

Bugs and enhancements

Bugs or feature requests can be sent to the author at charts-help @ wikinvest.com.