Page MenuHomePhabricator

Use HTML5 FileAPI for Special:Import XML upload
Open, LowPublicFeature

Description

By using the HTML5 FileAPI interface in supporting browsers, we can read an .xml import file directly through the web application and send it to the server in smaller pieces.

Things that could be done:

  • 'preview' of what will be imported before uploading
  • parse the <siteinfo> header before upload, give chance to map namespaces etc
  • run import during upload, instead of after the entire thing
  • show progress as it goes along
  • recovery after network outage or computer sleep/suspend
  • import files much larger than the PHP upload limit
  • allow modifying/fixing up errors as it goes along

Version: 1.20.x
Severity: enhancement
URL: https://en.wikipedia.org/wiki/Special:Import

Details

Reference
bz32730