Page MenuHomePhabricator

Implement HTTP based file-copy functionality
Closed, ResolvedPublic

Description

This should copy the files from the exporting wiki over http.

Things to consider:

  • Files (especially video) can be VERY big, we do not want to hold them in memory, but steam them to a file.
  • We can also do a dumb check of the file size reported by the metadata against the max file size allowed on the target wiki.

Event Timeline

Change 344100 had a related patch set uploaded (by Addshore):
[mediawiki/extensions/FileImporter] HTTP based file copy implementation

https://gerrit.wikimedia.org/r/344100

Change 344100 merged by jenkins-bot:
[mediawiki/extensions/FileImporter@master] HTTP based file copy implementation

https://gerrit.wikimedia.org/r/344100

We can also do a dumb check of the file size reported by the metadata against the max file size allowed on the target wiki.

This has not yet been done but is still probably a good idea.

Addshore moved this task from Currently in sprint to Done on the WMDE-TechWish board.