Last modified: 2013-05-14 17:31:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32228, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30228 - Enable upload of XML files on Incubator (for MediaWiki dumps)
Enable upload of XML files on Incubator (for MediaWiki dumps)
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Sam Reed (reedy)
: shell
Depends on:
Blocks: incubator
  Show dependency treegraph
 
Reported: 2011-08-04 17:41 UTC by Robin Pepermans (SPQRobin)
Modified: 2013-05-14 17:31 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Robin Pepermans (SPQRobin) 2011-08-04 17:41:09 UTC
It should be possible to upload XML files of MediaWiki dumps to Incubator and/or Commons.

It is needed because some Incubator wikis are exported and deleted, but users should be able to download those deleted pages.

At Incubator, upload is restricted to bureaucrats, so there wouldn't be a big security issue, but Brion said it's better to validate the XML file anyway.
Comment 1 Brion Vibber 2011-08-04 20:10:16 UTC
As a note -- we may want to test to confirm that it lets you upload arbitrary XML files when configured this way. :) Our file type checkers are sometimes a bit.... overzealous.

Also might want to compress em, which adds another element to test for (gzip or bzip2 format, additional extension).
Comment 2 Robin Pepermans (SPQRobin) 2012-01-21 13:51:43 UTC
Perhaps uploading xml can be enabled on Incubator, without the file type validation? Only bureaucrats are allowed to upload on Incubator, so it wouldn't cause security problems. Then we can leave this bug open to implement the file type validation later on.
Comment 3 Nemo 2013-05-14 17:31:02 UTC
Fixed by Reedy. https://gerrit.wikimedia.org/r/#/c/63686/
Validation and stuff should be in separate bug reports.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links