Last modified: 2011-03-04 18:26:33 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 T29823, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27823 - Re-enable functionality of --uploads option of importDump.php; introduce --namespaces filter option for importDump.php
Re-enable functionality of --uploads option of importDump.php; introduce --na...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.17.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-02 10:45 UTC by Dmitriy Sintsov
Modified: 2011-03-04 18:26 UTC (History)
2 users (show)

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


Attachments
Re-enable functionality of --uploads option of importDump.php; introduce --namespaces filter option for importDump.php (6.66 KB, patch)
2011-03-02 10:45 UTC, Dmitriy Sintsov
Details

Description Dmitriy Sintsov 2011-03-02 10:45:38 UTC
Created attachment 8232 [details]
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.
Comment 1 Mark A. Hershberger 2011-03-04 18:26:07 UTC
See r83227

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


Navigation
Links