الامتداد:بيانات خارجية/تنزيل وتثبيت

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

التنزيل

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

يمكنك أيضًا تنزيل الكود مباشرة عبر Git من مستودع كود مصدر MediaWiki. من سطر الأوامر، يمكنك استدعاء ما يلي:

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.

غير مستحسن

External Data can also be downloaded via the MediaWiki Extension Distributor, which lets you download any extension for any version of MediaWiki. لا يوصى بهذا لأن التعليمات البرمجية التي يتم تنزيلها تمثل لقطة عشوائية في الوقت المناسب، والتي يمكن أن تحتوي على أخطاء تم إصلاحها لاحقًا - أو، إذا تم استخدام إصدار "التطوير/الجذع"، فقد تحتوي على تعليمات برمجية جديدة جدًا، ولها لم يتم اختبارها بشكل كامل بعد.

التثبيت

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