Jump to content

為Special:Upload加入分段上傳 (Community Wishlist/W46/zh)

In progress
From Meta, a Wikimedia project coordination wiki
This page is a translated version of the page Community Wishlist/W46 and the translation is 100% complete.

View all wishes.

Description

目前在維基媒體內有多種檔案上傳方式,如:Special:UploadSpecial:UploadWizard、UploadDialog上傳對話框、上傳新版本和共享資源的ChunkedUpload JS工具。其中每一個都有各自的用例、優點和缺點。

我建議為Special:Upload加入分段上傳功能,並進一步統一這些其他工具所使用的底層API和後端。

這有以下優點:

  • Special:Upload將能夠上傳超過100MB檔案
  • 「上傳新版本」連結將能夠上傳超過100MB檔案。這幾乎消除了對共享資源上的ChunkedUpload JS工具的需求
  • 所有維基媒體wiki都將能夠使用分段上傳
  • 沒有Special:UploadWizard的網站/第三方使用者能夠上傳更大的檔案。這增強了MediaWiki致力成為「所有」使用者的平台的目標。
  • 為使用者降低複雜性。您無需過多思考哪個工具支援哪些檔案。
  • 分段上傳將更常用,但環境不比Special:UploadWizard複雜。這使得WMF/開發人員可以更輕鬆、更有可能檢測和偵錯分組上傳流程的問題。
  • 我們可以進一步將所有重試和復原邏輯集中在Special:Upload、UploadDialog和Special:UploadWizard之中,並使它們能更好測試。
  • 除了提供更多關於我們功能的文件外,更好、更一致的使用方式還能讓第三方工具更容易提供大量上傳工具,這也是另一個社群普遍希望實現的目標。
  • 對於UploadWizard目前正在進行的工作來說,這將是一個很好的後續專案。有關這些主題的知識將再次於WMF呈現,因此讓我們能任用已累積的技能。
  • 可能會提供對Special:Upload表單進行Codex化的機會,並對其UI進行其他早該進行的小改進。

缺點:

  • 更多非資深使用者可能會成功上傳檔案,可能導致需要對檔案嚴加審查

附帶要求:

  • 保留Special:Upload的基本表單作為備援,以在不啟用JS的情況下保留上傳功能。
  • ChunkedUpload JS僅能用於超過100MB的檔案上傳
Assigned focus area

Unassigned

Type of wish
System change
Tags
Affected users

維基媒體wiki及第三方wiki的檔案上傳者

Phabricator tasks
Other details
  • Created: 15:03, 24 July 2024
  • Last updated: 19:11, 16 May 2026
  • Author: TheDJ (talk)
Voting

This wish currently has 5 supporters. Voting for this wish is open until it is completed.

Supporters of this wish
Support TheDJ (talk) 15:03, 24 July 2024
Support Pppery (talk) 16:46, 10 October 2025
Support Ignacio Rodríguez (talk) 03:45, 23 October 2025
Support I would hope this is not a large task: the code to do chunked uploads is already in the Upload Wizard. Either it is or should be reasonably modularized rather than being part of a monolith there. Jmabel (talk) 06:59, 5 December 2025
Support The underlying demand for this upgrade can only increase with time, and it can be argued that it's already overdue at this point. It bears mentioning that 100MiB became the standard upload size upper constraint almost entirely due to being the default value for max_upload_size in PHP 5, released in the summer of 2004, IIRC. RogueScholar (talk) 08:06, 22 February 2026