The NEW Build Your Own Arcade Controls

Main => Wiki Discussion => Topic started by: PL1 on January 15, 2014, 11:23:35 pm

Title: How do you transfer files/images from the old wiki?
Post by: PL1 on January 15, 2014, 11:23:35 pm
I'm pretty sure I'm missing something.  (http://secondaryrds.com/wp-includes/images/smilies/surrender.gif)

From Statistics page (http://wiki.arcadecontrols.com/wiki/Special:Statistics) on old wiki:
Content pages   2,198
Pages (All pages in the wiki, including talk pages, redirects, etc.)   4,215
Uploaded files    1,082

From Statistics page (http://newwiki.arcadecontrols.com/index.php?title=Special:Statistics) on new wiki:
Content pages   1,152
Pages (All pages in the wiki, including talk pages, redirects, etc.)   1,661
Uploaded files   196

Looks like there are 1,000+ missing content pages and 900+ missing images.   :dizzy:

I haven't even been able to successfully Transwiki import (http://newwiki.arcadecontrols.com/index.php?title=Special:Import) a page from the old wiki without getting a "Import failed: Bad interwiki link " message.   :hissy:

Is there ANY way to batch import files and/or images that doesn't require root access?   (http://secondaryrds.com/wp-includes/images/smilies/dunce.gif)

I'd like to avoid slogging through manual image transfers and have no idea on how to transfer pages with the history intact.   :banghead:

If there's nothing I can do, there's a python Wikipedia script here (http://en.wikipedia.org/wiki/Wikipedia:Scripts/ImageFileMigrator) and Linux directions on how to zip/copy files here (http://sharkysoft.com/wiki/how_to_move_a_MediaWiki_wiki_from_one_server_to_another) that Saint or Sirwoogie might be able to use.   :dunno


Scott
Title: Re: How do you transfer files/images from the old wiki?
Post by: saint on January 16, 2014, 09:13:57 am
I couldn't get the image transfer to work, so I've been just manually copy/pasting stuff :(
Title: Re: How do you transfer files/images from the old wiki?
Post by: PL1 on January 16, 2014, 09:45:49 pm
That's what I was afraid of -- image transfer drudgery underway.   :(

Sorted images in alphabetic order for both wikis on the Special: File List (http://newwiki.arcadecontrols.com/index.php?title=Special:ListFiles&sort=img_name&limit=500) page to determine what's already been uploaded while working down the list.

Already transferred all images up to Asylumarcade.jpg.   ;D

Also figured out how to use Special: Export pages (http://wiki.arcadecontrols.com/wiki/Special:Export) to export pages to an XML file.

In the large box on Special: Export pages, copy/paste the list of page titles you want to transfer from Special: All pages (http://wiki.arcadecontrols.com/w/index.php?title=Special:All Pages).

Each title needs to be on a separate line (instead of a tab between titles), deselect "Include only the current revision, not the full history",  select "Save as file", click on the Export button and save file to HDD.

Go to Special: Import (http://newwiki.arcadecontrols.com/index.php?title=Special:Import) and under "Upload XML data", click on Browse button to select the file then "Upload File".  Any pages that already exist will return the message "All revisions were previously imported."   8)


Scott
Title: Re: How do you transfer files/images from the old wiki?
Post by: Felsir on January 24, 2014, 09:57:59 am
Man, I see the wiki "recent changes" page... that's a lot of work there... :notworthy:
Title: Re: How do you transfer files/images from the old wiki?
Post by: PL1 on January 24, 2014, 02:42:46 pm
I knew you'd be busy elsewhere for a few days and figured that would give me time to get started on transferring the images.  ;D

All images thru CrazyCanadianCocktail.jpg transferred so far. (~200 done, ~700 to go)  :cheers:


Scott
Title: Re: How do you transfer files/images from the old wiki?
Post by: PL1 on March 14, 2014, 12:31:24 am
I think that all files and pages have been transferred from the old wiki.   :woot

Time for a Grand Opening celebration.   :cheers:


Scott
Title: Re: How do you transfer files/images from the old wiki?
Post by: Felsir on March 14, 2014, 04:17:20 am
I think that all files and pages have been transferred from the old wiki.   :woot
:notworthy: :notworthy: :notworthy:
Awesome work Scott! That was a lot of work you did there! Adding another  :notworthy: for emphasis.

Time for a Grand Opening celebration.   :cheers:

 :woot