Date   

A Script to Import into MediaWiki #mediawiki #migration

Tom H
 
Edited

I came across this 8-day old PHP script: Import wiki from WikiSpaces to MediaWiki

It was referenced in this MediaWiki discussion.

If you try it, let us know how it goes...


Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Migration of ArduinoInfo.info to MediaWiki #mediawiki #mywikis

Terry King
 

Hi Everyone,

This is going pretty well for me. I was OK with not a pure transplant as it was time to reorganize things.. 

I like many of the MediaWiki features, especially being able to edit a small section of an overall page.

See my site-in-work here:  https://arduinoinfo.mywikis.net/wiki/HOME
The original site here: http://arduino-info.wikispaces.com/

Jeffrey at mywikis.org has been helpful and knowledgeabke. He has installed a few extensions for me. Especially REPLACE TEXT which is helpful but dangerous for global test-text changes. Also SECURE HTML as I need to show html formatted Arduino IDE source like you can see here: http://arduinoinfo.mywikis.net/wiki/Accelerometer-MMA7455,    and allowing external images.

That said, I've done a LOT of cleanup, uploading missing images in some cases etc.. And a lot of learning about stuff like Tables..

...just an update..


Re: Clean up "gotchas" before exporting #export

Tom H
 

Another potential "gotcha" in migration is the use of uncommon characters in the name of a Wikispaces page or file. Now Wikispaces has its own restrictions but they may differ from those of the migration target or may even be mishandled in Wikispaces own Export procedure. I'm guilty of taking such liberties and am now paying the price for it. Not one of my trial migrations was clear of any such translation problems. Understandable, perhaps when a name may go through one or more encoding processes, e.g., the space character translated to "%20" and then to an underscore "_". And the same algorithm must be used for both the filename and the hyperlink for the link to continue unbroken.

I have problems with the comma, question mark and Greek pi characters and maybe others that I have used with wild abandon. I haven't made a comprehensive study that identifies all of them on all of the trial migration sites.

Fixing them seems impractical to me on Wikispaces. You cannot rename pages or files. You would have to create new ones and edit all the links to them for which Wikispaces has no global search & replace tool. You may not have renaming and/or global search & replace on the migration host either. The one place you are sure to have both is on your computer where you can work on the Export fileset with the computer's file manager and a multifile text editor such as Notepad++.

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Re: [Fixed] Flawed links to wiki pages in HTML export #export #bugs #html

Creuset
 

Hi Tom

Thanks for making this site, its been a bit of a struggle to find a new host and new system for our wiki, but finding this and reading your news has been both informative and reassuring.


Re: Clean up "gotchas" before exporting #export

Tom H
 

Discovered why the links to postimg.org are broken. An undated bulletin on the postimages.org/contact page says:

postimg.ORG domain is locked by Registry, no prior notice.

 

While we hope to resolve the issue, we chose postimg.CC as our new home.
Please update codes embedded in your websites.

 

Simply replacing postimg.org with postimg.cc in the URL restores the link to the image file. I guess the question remains whether to await a (hopefully) timely restoration of the postimg.org domain to postimages.org or to plough ahead finding and editing one's old posts.

Pity that Wikispaces has no global search & replace. Therefore, more speedily done on the set of exported pages or on the migration host, unless you plan to migrate the image files from postimg.org in which case the difference in efficiencies may be minor.


Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Clean up "gotchas" before exporting #export

Tom H
 

This topic is intended to cover some things that you might be better off cleaning up on your Wikispaces site before exporting, especially if you are more comfortable with the tools available in Wikispaces than you are in your new host. I'm discovering them with each attempt I make with my comparative trials, inspecting this page or that or examining import logs or comparing statistics for things like the  number of files in my export versus the number imported. Of course, if you can execute repeated imports on your new host, you may learn of things that are problematic from your Wikispaces site that correspond with nothing I've encountered with mine.

Broken links

To conserve storage on Wikispaces in the period my site was on the Free Plan (what was the limit? 100MB?), I put a lot of images onto postimage.org and link-pasted them into my Wikispaces pages, e.g. <img src="https://s6.postimg.org/ozq0j20s1/Groups_Population.png" alt="As ... -- I've just discovered that postimage.org has revamped its site/storage servers and these are all now broken. So they will still be broken after migration. When, where to fix?

Now that my Wikispaces site is on a fee plan, space is not an issue, nor does it appear to be with any of the hosts I am looking at, with the possible exception of Classic Google Sites (100 MB although you can put files onto Google Drive). So another question is whether to fix links or to download the file from the external host and upload it to the wiki host? If the latter, to the old one or the new one? That decision may be driven by how intensively your site is used, by reports of broken links from users, by when you plan to migrate and how much time it will take to fix the breaks.

In my case, migration becomes unavoidable by the end of September and I have not yet decided on the new platform and host. And I'm hoping that there will be still more improvements to the Wikispaces export so I'm inclined to fix first. And given the volatility of image hosts, I might just as well transfer files from them to Wikispaces to be included in my final export package.

So the next step is to find the links to postimg.org on my Wikispaces pages. To my surprise and initial shock, Wikispaces Search tool does not look into hyperlinks so it found nothing. I then used Google Search with this term "postimg.org" site:sqlitetoolsforrootsmagic.wikispaces.com. That was better; 28 images were shown (will they disappear next time the site is crawled if I don't fix the links) but only two different pages, neither of which proved useful (one was different dates for Changes and the other had no external images - baffled why it was in the search results). The 28 image results are a very effective way of getting to the page needing a fix, as long as they don't disappear, but I think the surest way to find all pages with a known systemically broken link such as this is by searching through an export of the Wikispaces site.

I've been exploring the HTML export more extensively than MediaWiki or Dokuwiki because I know HTML better and because it is the medium I've had to use for multiple trial migrations, e.g., static HTML site, WordPress hosts, EditMe. Like @lectrichead, I use Notepad++ to search the whole folder of HTML files exported by Wikispaces; its regular expression search tool is very powerful and fast. Using the regular expression search term <img src="http[^"]+postimg.org resulted in 31 hits in 15 files in the export's "mainspace" folder that holds the exported page files. I haven't checked if the 31 image links are unique or if there are some repeats and Google found them all but now I have a list of pages to work through. 

Something similar can be done for other types of links. And there are utilities that crawl a website to find broken links - useful to use both before and after migration.
  
Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Re: [Fixed] Flawed links to wiki pages in HTML export #export #bugs #html

Tom H
 
Edited

CORRECTION and my apology. I erred due to a mixup of folders in which I was searching with Notepad++. The .html extension IS now properly placed between the page name and the anchor. 
 
Was: .htmlURLencodedpagename   -- wrong
Now: URLencodedpagename.html   -- correct
 
Was:  .htmlURLencodedpagename#URLencodedanchorname  -- wrong
Now:  URLencodedpagename.html#URLencodedanchorname  -- correct
 

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Re: [Fixed] Flawed links to wiki pages in HTML export #export #bugs #html

Tom H
 

Wikispaces has fixed the problem of the .html cart coming before the horse for page and file links. When that happened, I don't know as there has been no announcement. Searching for instances of ".html in the Wikispaces export of my site:
March 30 Export: 642 hits in 46 files
April 15 Export:        0 hits in   0 files

That's one less thing to worry about whether you use the HTML export directly for a static HTML website or as the medium for conversion to a wiki or WordPress host.

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Re: MyWikis offers migration to MediaWiki #mediawiki #mywikis #migration

Tom H
 

I am making no progress with batch fixing links on my trial site. Too many system glitches. The Visual Editor does not load reliably and appears to crash the site for tens of seconds or some minutes. The source code editor may be more reliable but I'm unfamiliar with the format; I relied primarily on the visual editor in Wikispaces and only went into the Wikitext editor when necessary to sort out something that just wouldn't work as it should. 

I got the Replace Text extension added. While it looks to work for plain text search & replace, every time I've tried the regular expression option, even with plain text, I get a "database error occurred". Methinks this is due to the database engine. SpecialPage:Version reports

Installed software

 SQLite supports regex for search but not for replace.
@Terry: do you get the same results?

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Re: MyWikis offers migration to MediaWiki #mediawiki #mywikis #migration

Terry King
 

Hi Tom,

I asked Jeffrey (ticket) in install the extension. Special Pages > version
is where you will see installed extensions.

Regards, Terry King
...In the Woods in Vermont USA
terry@...

-The One who Dies with the most Parts LOSES. What do you need??

On Fri, April 13, 2018 4:48 pm, Tom H wrote:
Thanks for that post, Terry. I was about to look into a global search and
replace - am brand new to MediaWiki so everything is low on the learning
curve. I cannot open the page with your tool, of course, so perhaps you
could tell us how you got the tool onto your site.

Your migration looks very presentable and I found your original site so I
will add it to the Migration Examples table. What status would you say
your migration is currently at? You can update it in the Databases area of
the Group.


Re: MyWikis offers migration to MediaWiki #mediawiki #mywikis #migration

Tom H
 

Thanks for that post, Terry. I was about to look into a global search and replace - am brand new to MediaWiki so everything is low on the learning curve. I cannot open the page with your tool, of course, so perhaps you could tell us how you got the tool onto your site.

Your migration looks very presentable and I found your original site so I will add it to the Migration Examples table. What status would you say your migration is currently at? You can update it in the Databases area of the Group.

--

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


MyWikis offers migration to MediaWiki #mediawiki #mywikis #migration

Terry King
 
Edited

Hi,
I see similar issues (expected) with links.. Some are rights, some have original wikispaces URL, and some, like in your example:

/Source%20List%20Query Source List Query

Are missing the first part of the URL.

I made a hotkey that Prepends the needed part. In my case: http://arduinoinfo.mywikis.net/wiki

It's possible but somewhat dangerous to have an extension added that can do totally global find-replace . "REPLACE TEXT" "Provides a special page to allow administrators to do a global string find-and-replace on all the content pages of a wiki" 

MAYBE I'll do that...  


MyWikis offers migration to MediaWiki #mediawiki #mywikis #migration

Jeffrey Wang (MyWikis)
 

Hello everyone,
I'm Jeffrey with MyWikis. We offer MediaWiki hosting at low monthly or annual prices. If you are interested in migrating your Wikispaces wiki to a MediaWiki instance, we would be more than happy to assist you. Our migration process is free of charge and painless on your side; it is done under supervision of our tech support team using an automated script that bulk imports your content into MediaWiki.

As Tom as previously mentioned, we have imported his wiki with minimal effort on his side for the import process. Not only do we import pages, but also the images. Since MediaWiki does not include a nested comments-based discussion feature, we do not import comments automatically (and we'd like to work with everyone here to see how we should best proceed). While I will admit that Wikispaces syntax is not perfectly compatible with MediaWiki syntax (and therefore causes some formatting glitches), they can be fixed manually after the import is complete. We're always open to input and we'd like to reach our goal of helping everyone who wants to migrate their wiki to MediaWiki, as easily as possible on your side.

Please check out more info at our webpage for Wikispaces migration if you are interested: https://www.mywikis.com/wikispaces and please let me know if you have any questions. I'd be happy to answer them. Thanks!


Comparative Migrations of the Same Wikispaces Site #wordpress #civihosting #editme #mywikis #export

Tom H
 

Thanks to cooperating providers, I have multiple trials going for migrations of the same Wikispaces site. I hope to get around to making some comparisons and observations but you can look at them yourself and make your own. They are all listed in the Databases table "Wikispaces Migration Examples".

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


MyWikis offers migration to MediaWiki #mediawiki #mywikis #migration

Tom H
 

Just discovered this blog post announcing a migration service by MyWikis. No charge conversion. $50 p.a. Basic Plan supports 1 MediaWiki wiki but editing is in wikitext. The $100 p.a. Pro Plan supports 2 wikis and adds a WYSIWYG visual editor.

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Re: [Fixed] Flawed links to wiki pages in HTML export #export #bugs #html

Tom H
 

A fix is projected for next week. From Wikispaces Help Fri, Apr 6, 2018 at 6:37 AM ET:

Hello,

Many thanks for your email

I have queried this issue with our technical team

They have advised that they are currently working on a fix

Which should be released within the next week

We do apologise for any inconveniences this may have caused

Should you require further assistance do not hesitate to contact us again


Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Re: Other migration examples, discussions #wikispaces

Tom H
 

Here's another Wikispaces site with a page on its Migration search. Some good info here.
https://lifebushido.wikispaces.com/Wikispace+Migration

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Re: Other migration examples, discussions #wikispaces

Tom H
 

GoDaddy does not offer a migration service beyond uploading your files, which you can do yourself. Site configuration and any conversion of the files into some wiki system or into WordPress is up to you or your independent consultant. We know of two hosting services with Wikispaces Migration tools or services and one consultant. There are some examples of converted sites or wikispaces sites to watch in our database section. It's my hope that there will be more reports posted from Wikispaces Organizers who have made conversions that will inform us of their experience.

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Check host's terms for file types #export #problem

Tom H
 

One thing to check in choosing a target host for your transfer is whether it allows all the file types you are exporting from your Wikispaces site. This won't be an issue for most but it is for me. One free web hosting service with which I have been experimenting says the following:
You will not use this Site or the Services in a manner (as determined by hostname in its sole and absolute discretion) that:
  • ...
  • Contains or installs .exe, .apk, .dmg, .cmd, .com, .bat, .osx, .msi, .app files;
A control that it applies is discernible in its FTP service in that the FTP client reports that it has successfully uploaded a .bat file but it is unlisted in the remote directory. This suggests that the host has a filter that immediately deletes the file on completion of the upload.

A workaround, in this case, is to add the .bak extension to the filename and then upload it. However, would the renamed file remain for the long term? Also any links to the original filename would have to be revised.

So it may be safer all around to seek a host that permits all of your file types. 

Tom
Looking to move SQLite Tools For RootsMagic from Wikispaces


Re: Other migration examples, discussions #wikispaces

w.thompson@loma.k12.ca.us
 
Edited

Has anyone had experience migrating their wiki education pages to a service such as GoDaddy who is willing to comment on how seamless/or not it was?

 

Thank you

 

Wayne

 

 

A. Wayne Thompson


 

 

A. Wayne Thompson, M.Ed.
Science Educator