#How do I import images from one Wiki to another?

21 messages · Page 1 of 1 (latest)

onyx skiff
#

Hi, sorry to make another thread so soon after my first one, the migration stuff is very overwhelming haha 😅
I run my OC Wiki on Fandom with my art and writing and I'm migrating it etc etc
I finished importing my articles, but I have like 2220 files of my art and gifts and videos and a bunch of junk currently uploaded to the Fandom wiki and reposting everything sounds like a massive headache :( I tried reuploading a few images with the MsUpload thing, but a weird bug happened where the images uploaded but all of their file names got swapped around which ended up being kind of a headache to fix and I'm worried it will happen again x(

I looked it up and found the "importImages.php" thing but I'm not very tech savvy and trying to read this page is just making my head spin and I just can't understand what I'm supposed to do with this or where or what I'm supposed to do with this script
https://www.mediawiki.org/wiki/Manual:ImportImages.php

Would it be okay for someone to explain what I'm supposed to be doing? :(
2220 files is a lot of stuff to reupload and I don't even know where I put most of files
Also if possible, I'd like to keep the image history and revisions as well

My Wikis
https://drimare.fandom.com/wiki/Special:NewFiles
https://drimare.miraheze.org/wiki/Special:NewFiles

importImages.php is a script which uploads images to MediaWiki from the same computer where the wiki is configured.
It does a remote upload if configuration parameter $wgForeignFileRepos is configured correctly, or if you are using an extension that correctly configures it, such as the AWS (S3) extension.

Drimare Universe
fast ore
#

on Miraheze Meta wiki there is a page about importing, it has info on image import as well
but in short - you get the images outta fandom and create a ticket for miraheze system admin to upload them on your new wiki

#

I suggest to search for guides on Meta wiki first

#

there might be a problem w/ first part pf the import - fandom deems illegal automated scraping of images, so legally users have to save all images manually
pain in the ass really
but - nobody stops you from doing it automatically anyway 👀

onyx skiff
#

Yeahh, saving everything all over again is a headache 😭

fast ore
#

as for saving descriptions and histories of files - I'm not sure how to get w/ that, needs advice from more experienced fellas here

onyx skiff
#

Also most of the stuff is my art or art that was done for me, so I don't mind the illegal scraping LOL

#

Yeah, the history stuff is optional x) I just like keeping archives of everything

fast ore
#

understandable

#

have you found the guide page tho?

#

I think wiki bot doesn't work here

onyx skiff
#

I only found the one I linked in the post :S

#

I'm also looking at the phabricator thing and put in a request but only linked the wikis so idk if it will work 😂

fast ore
onyx skiff
#

okay that makes sense 😭

fast ore
#

use WikiTeam tool for exporting images, link is somewhere on that same page

onyx skiff
#

Oof, I'll have to look into this later then 😭 thank you for the help

spice moat
#

I know this is mostly resolved, but I found this script on Fandom's Dev Wiki

onyx skiff
#

Ohhh thank you!! eyesblur