About This File
Embed interactive visualizations from OurWorldInData into your wiki pages.
Requirements
- MediaWiki 1.37 or later
Installation
Download the file (a free account is required) and extract the file to your extensions directory. We recommend that you "follow" the download so that you are notified of new updates via email when they are released.
To install the extension, add the following to your LocalSettings.php file:
wfLoadExtension( 'OurWorldInData' );
Configuration
This extension does not require any configuration. See Usage below for usage instructions.
Usage
This extension adds a new parser tag, <ourworldindata>. Place the chart name or OurWorldInData URL inside of the tag. Additional parameters can be used to adjust how the chart is displayed.
== Simple Usage == Copy/paste the share link into the page <ourworldindata>https://ourworldindata.org/grapher/historic-and-un-pop-projections-by-age</ourworldindata> The share link may include parameters to filter the chart <ourworldindata>https://ourworldindata.org/grapher/historic-and-un-pop-projections-by-age?time=1950..2020</ourworldindata> == Advanced Usage == Specify a chart name directly <ourworldindata>historic-and-un-pop-projections-by-age</ourworldindata> Filter parameters can be added to the tag <ourworldindata time="1950..2020">historic-and-un-pop-projections-by-age</ourworldindata>
Support
Free community support is available on the mwusers.org forums. Paid support plans are available as well.