Help:Extension:FileImporter/zh



The FileImporter and FileExporter extensions aim to make moving files from a local wiki to Wikimedia Commons easier. The new functionality allows to move files with all their original data intact, while documenting the move in the version history.

The FileExporter provides a link to Wikimedia Commons on the local wiki and hands over a URL to the extension FileImporter. The FileImporter is a Wikimedia Commons extension which imports the file including all data when all prerequisites are met. Technically, the files won't be "moved", but "copied".

FileImporter has been deployed to Wikimedia Commons on June 25, 2018. To make use of it, you need to activate the FileExporter in your local wiki, provided as a beta feature on first wikis on June 25, 2018.

背景

 * FileImporter and FileExporter aim to fulfil 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.

用法
Enabling the FileExporter: 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. You don't have to activate the FileImporter on Wikimedia Commons.

Template Matching: Support needed
Based on the configuration file of the source wiki, the FileImporter checks the local file's templates and then processes the file accordingly. This page documents what the FileImporter does and how the configuration files work. The configuration files are based on the CommonsHelper2 tool. They should be maintained by the communities. Please have a look at them and update them if needed.

部署路线图

 * 2018年6月12日：导出至test.wikipedia.org
 * 文件导出器作为测试功能在mediawiki.org及test2.wikipedia.org提供.
 * （要测试导出，您也需要成为这些wiki上的自动确认用户. ）
 * 文件导入器在test.wikipedia.org提供


 * 2018-06-25: Export to Wikimedia Commons
 * FileExporter as a beta feature on de.WP, fa.WP, ar.WP
 * exporting from mediawiki.org now to Wikimedia Commons
 * FileImporter on Wikimedia Commons
 * 2018-07-11:
 * FileExporter as a beta feature on sourcewiki
 * Deployment of the FileExporter beta feature to other wikis: tba
 * We're improving the template matching (more info)

Links

 * Main project page on Meta
 * FileImporter extension manual
 * FileImporter configurations
 * FileExporter extension manual
 * Phabricator project
 * overview: How templates are matched with the FileImporter extension