幫助:伺服器端上載

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This page is a translated version of a page Help:Server-side upload and the translation is 67% complete. Changes to the translation template, respectively the source language can be submitted through Help:Server-side upload and have to be approved by a translation administrator.

在维基共享资源的上传,最大文件大小通常被限制为 100 MiB (虽然最大5 GiB = 5,368,709,120 字节的文件可以通过上传向导和分段上传进行上传[1]).

但是,系统管理员可以上传100 MiB至5 GiB 的文件,如果需要的话你可以向他们寻求帮助。

条件

  • URL(s), publicly accessible without logins or passwords, to
    • the files themselves. They should already have the correct names in UTF-8.
    • the file description page (wikitext) for each file, as a UTF-8 .txt file. So the description page for Foo.ogv should be in Foo.ogv.txt
  • Commitment to deal with post-upload complaints. Regarding licence or file description...

可以以TAR/TGZ压缩包的形式提供文件(如果文件数量大的话优选此方法)。

Tiff 檔案

Tiff图像一般很大。如果你的tiff文件为未压缩模式 请将任何大到需要服务器端上传的文件转换为 deflate/zip (preferred) 或 LZW 压缩。可以使用tiffcp程序进行转换,使用命令行 tiffcp -c zip:p9 infile.tif outfile.tif

流程

Please file a request on Phabricator via this link, where a system administrator will process your request. Make sure your Phabricator account is linked to the MediaWiki account you want the upload made under. (See more information on Phabricator)

如果文件大小为几百GB至几TB怎么办

If you prepare a mass upload of large files, for example dozens of videos from a GLAM project, and it's not technically possible to upload so much content, you can prepare a hard disk with the files, using the same procedure described above.

Once done, open a task on Phabricator, and you will be provided with the address of the datacenter to mail the disk to (don't mail the disk before you receive a confirmation with a tracking number: we need to register the delivery before it's received by the datacenter staff).

You should use FedEx, UPS or DHL as the carrier. We're unable to receive USPS mail.

It will then be added to a shell machine, and processed, as URL requests are.

由于这种方式需要额外的人工处理,这个过程只适用于技术上无法通过网络进行上传的情况。

过去的请求示例:T50205(成功)T69477(失败) – 寄件人拒绝使用推荐的邮递公司。

參見

脚注

  1. 然而,注意一个大文件上传可能被其他限制影响,如处理请求的PHP工作进程时限(参见T118887)。