Open main menu

راهنما:افزونه:برون‌ریز پرونده

This page is a translated version of the page Help:Extension:FileImporter and the translation is 16% complete.

Other languages:
Deutsch • ‎English • ‎Türkçe • ‎dansk • ‎español • ‎italiano • ‎português do Brasil • ‎русский • ‎українська • ‎فارسی • ‎ไทย • ‎中文 • ‎日本語 • ‎한국어
Logo for the beta feature FileExporter.svg

توسعهدهندگان FileImporter و FileExporter قصد دارند فایل های متحرک را از ویکی های محلی به ویکی پدیا تبدیل کنند. قابلیت جدید اجازه می دهد تا فایل ها را با تمام داده های اصلی خود دست نخورده، در حالی که مستند سازی حرکت در تاریخ نسخه.

FileExporter یک پیوند به Wikimedia Commons در ویکی محلی فراهم می کند و یک URL را به Extension FileImporter انتقال می دهد. FileImporter یک افزونه ویکیمدیا است که فایل را از جمله تمام داده ها وارد می کند، زمانی که همه پیش شرط ها برآورده می شوند. از لحاظ فنی، فایل ها "نقل مکان نمی شود"، بلکه "کپی" می شوند.

FileImporter در ژوئن 2018 به Wikimedia Commons مستقر شده است. برای استفاده از آن، باید FileExporter را به عنوان یک ویژگی بتا در ویکی محلی خود فعال کنید.


FileImporter and FileExporter aim to fulfill a request from the German-speaking community's Technical Wishlist and are developed by WMDE's tech team. More information can be found on the main project page on Meta.


Getting started

1) To enable the FileExporter on a local wiki, you have to be logged in and tick the checkbox for FileExporter on the beta features preferences page. (Be sure to visit the preferences page for the wiki from which you intend to export files. The preceding link will take you to the preferences page for the MediaWiki wiki.) You don't have to activate the FileImporter on Wikimedia Commons.

2) There needs to be a configuration file for your wiki. Many files already exist, based on the files from the CommonsHelper2 tool. We're asking users to have a look at them and update or create them if needed to make sure the imports are done right. For more info, read the documentation how the configuration files work and what they are needed for.

Step by step

You need to be logged in in order to use the feature.

How imported files can be found

  • In the revision history of a file, the import is shown as a null revision (i.e. an entry in the revision list that doesn’t actually change the page).
  • For the import, an upload log entry and an import log entry are created and associated with the null revision and with the importing user, and timestamped with the import date. Having both the null revision and the upload log entry is the default for uploads, although it leads to "doubled" entries on the history page, see this example file and its log entries.
  • For (old) imported file revisions, upload log entries are created with the date and user of the original upload to make all file revisions appear in Commons' upload log.
  • Imports are tagged with the tag fileimporter, so you can filter them in Recent Changes.

Deployment roadmap

  • 2018-06-25: Export to Wikimedia Commons
    • FileExporter as a beta feature on de.WP, fa.WP, ar.WP   OK
    • exporting from now to Wikimedia Commons   OK
    • FileImporter on Wikimedia Commons   OK
  • 2018-07-11:
  • 2019-01-16:
    • Deployment of the FileExporter beta feature to all other wikis   OK
  • اوت Template:Formatnum:
    • Deployment of the FileExporter as a default feature to first wikis