Extensión: Datos externos/Descargar e instalar

From mediawiki.org
This page is a translated version of the page Extension:External Data/Download and installation and the translation is 86% complete.

Descargar

You can download the External Data code, in .zip format, here.

También puede descargar el código directamente vía Git desde el repositorio de código de MediaWiki. Desde una línea de comando, puede llamar lo siguiente:

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.

No recomendado

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.

Instalación

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`.