Extension:External Data/Download and installation
Download
You can download the External Data code, in .zip format, here.
You can also download the code directly via Git from the MediaWiki source code repository. From a command line, you can call the following:
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ExternalData
cd
into ExternalData
and run composer install
.
Run npm install
, if you want access to developer tools.
You can also view the code online here.
Not recommended
External Data can also be downloaded via the MediaWiki Extension Distributor, which lets you download any extension for any version of MediaWiki. This is not recommended because the code being downloaded represents a random snapshot in time, which could contain bugs that were fixed later - or, if the "development/trunk" version is used, it could conversely contain code that is too new, and has not been fully tested yet.
Installation
To install this extension, create an 'ExternalData' directory (either by extracting a compressed file or downloading via Git), and place this directory within the main MediaWiki 'extensions' directory.
Run composer update
in that directory.
Then, in the file 'LocalSettings.php', add the following line:
wfLoadExtension( 'ExternalData' );
Then run update.php to create the cache table `ed_url_cache`
.