Page MenuHomePhabricator

Re-enable functionality of --uploads option of importDump.php; introduce --namespaces filter option for importDump.php
Closed, ResolvedPublic

Description

Author: cnit

Description:
Re-enable functionality of --uploads option of importDump.php; introduce --namespaces filter option for importDump.php

I needed to selectively import files from URL's defined in previousely made XML dump. This worked fine in 1.15, but to my surprise wasn't working with 1.17, producing an error. I've partially fixed upload code (including supplying of original User instance for local upload) and introduced new option to selectively import only the listed namespaces in importDump.php command line.


Version: 1.17.x
Severity: enhancement

Attached:

Details

Reference
bz27823

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:30 PM
bzimport set Reference to bz27823.
bzimport added a subscriber: Unknown Object (MLST).