Last modified: 2014-11-17 09:21: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 T8071, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6071 - Transwiki image import
Transwiki image import
Status: NEW
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
unspecified
All All
: Normal enhancement with 8 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 11439 27082 (view as bug list)
Depends on: 13827
Blocks: 27082
  Show dependency treegraph
 
Reported: 2006-05-24 10:35 UTC by Daniel Kinzler
Modified: 2014-11-17 09:21 UTC (History)
8 users (show)

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


Attachments

Description Daniel Kinzler 2006-05-24 10:35:32 UTC
It would be very useful to have a clean way to import images into another wiki,
especially into a central repository like Commons. Maybe the same mechanism
could be used by non-wikiemdia wikis to import images from Commons or Wikipedia.
The import should include the image description (all revisions), and
(optionally?) all versions of the file. For a clean import of the description-
and upload history, a shared userbase (aka single login) would probably be required.

Some suggestions for the implementation:
* There should be an image-import permission, so this feature can be restricted
to sysops if desired.
* The list of possible source wikis should be fixed. Some per-source
configuration is probably required.
* The import interface should be a special page.
* The import should have two stages: in the first, the source wiki and file to
import is specified. In the second, the import can be further refined.
* The image to transfer should be shown in the second step, to avoid mistakes.
* A checklist of image versions could be presented, so the user can choose which
versions can be ignored.
* The imported description text should be shown for further editing. The user
importing the file would become the author of a new revision of the description
text.
* The imported description text could be mangeled automatically, to insert
interwiki-prefixes into links, convert well known templates (esp. license tags),
etc.
* The description text (all revisions) could be imported using the
Special:Export interface, if direct access to the wiki's database is not
possible. This could be configured on a per-source-wiki basis.
* The Special:Export interface would need to get an option to export the upload
history of a file.
* The files themselves could be copyied on-disk, if the upload directories of
source and target wiki are on the same server (which is the case for most
wikimedia wikis, but not all). If that is not the case, the images can be loaded
via HTTP, perhaps using Special:Filepath
* Since the import potentially involves quite a bit of slow and unreliable
interaction over the net, care must be taken to implement transactinal logic in
order to prevent partial/broken imports.

A clean & easy way to transfer images between wikis has often been requested. I
am putting this here to have a place for tracking and discussing the issue, and
collection thoughts on the technical side of things.
Comment 1 J JIH 2006-08-10 04:37:45 UTC
There are no users at Wikimedia Commons with importing privileges. Even I,
User:Jusjih there as an admin, get "No transwiki import sources have been
defined and direct history uploads are disabled." How may I get importing
privilege at Wikimedia Commons?
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-08-10 04:41:33 UTC
I *could* be wrong, but don't brion's changes to import make this FIXED?  It
just needs to be enabled for Commons (presumably import from any project should
be possible).  Unless the changes don't allow images to be transferred; I'm not
sure.
Comment 3 Raimond Spekking 2006-08-10 06:17:29 UTC
The import sources has to be defined for every Wikimedia-Wiki separately. Then
every admin of this wiki can do the import. But only for articles up to 100
revisions and import of images are not possible yet.
Comment 4 Daniel Kinzler 2006-08-10 10:46:30 UTC
This request is about importing *images* along with the neccessary upload
history and license tags. This is related to, but quite different from what
Special:Import does. Please keep that separate. For a working image import,
several issues would have to be resolved first, such as mapping license tags and
user names, aids for categorization, etc - not to mention the transfer of the
image itself.  Image import is, unlike a text import, not a streight copy.
That's what this request is about.
Comment 5 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-08-10 19:44:24 UTC
(In reply to comment #4)
> For a working image import,
> several issues would have to be resolved first, such as mapping license tags and
> user names, aids for categorization, etc - not to mention the transfer of the
> image itself.  Image import is, unlike a text import, not a streight copy.
> That's what this request is about.

Ah, I see.  Good point.
Comment 6 Rob Church 2007-09-25 12:07:43 UTC
*** Bug 11439 has been marked as a duplicate of this bug. ***
Comment 7 Siebrand Mazeland 2008-08-18 18:55:33 UTC
Mass compoment change: <some> -> Export/Import
Comment 8 Rehman 2011-02-01 15:05:23 UTC
Whats's the current status of this bug?
Comment 9 Chad H. 2011-02-01 15:06:40 UTC
(In reply to comment #8)
> Whats's the current status of this bug?

It still needs bug 13827 to be resolved, see the dependency list.
Comment 10 Diederik van Liere 2011-11-29 23:12:35 UTC
*** Bug 27082 has been marked as a duplicate of this bug. ***
Comment 11 Rehman 2012-03-08 13:44:43 UTC
Sad this is moving so slow. It would really help in the huge Move-To-Commons backlogs, and also more importantly, help save the original history...
Comment 12 Quim Gil 2014-03-21 16:46:48 UTC
This old request is blocked by the also old Bug 13827 - Add image data option to Special:Export 

Please check my question at the other blocker report about the convenience of promoting this task as a possible project for out outreach programs.

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


Navigation
Links