GithubHelp home page GithubHelp logo

wikimigrate's Introduction

wikiMigrate

Migrate from MediaWiki to Wikidot

This is a little script that will help move your files from a MediaWiki site (MW) to a Wikidot site (WD).

What it does:

  • Downloads your MW files.
  • Converts basic MW markup to WD syntax.
  • Lets you preview the WD versions.
  • Uploads the final WD versions to the wikidot site.

Configuration:

Comes with a sample_config.rb file. You'll need to rename it to config.rb and edit the values with your wikidot and mediawiki info.

Usage:

ruby wikiMigrate.rb <download|convert|preview|upload>
- Run each phase as many times as you want, but do them in order

Disclaimer:

This script is provided as-is with no warranty. It is not a silver bullet for migration, and has several limitations described in more detail below.

Details:

The 'download' phase will grab everything from:

  • The root namespace (what you see when you go to the 'All Pages' special page)
  • The uploaded files
  • The template namespace

It does NOT do anything with Help, Talk, or Nav pages.

The 'convert' phase will convert basic wiki syntax to wikidot format: Bold, italics, lists, links... that sort of thing. See markup_converter.rb source for a complete list. It does NOT do more complicated items like tables, special div/styles, etc.

The 'preview' phase will upload each page one by one to a page named "preview" on your wikidot site. This gives you a chance to preview and tweak the wiki markup (on DISK!) before finally committing.

The 'upload' phase will upload all page and files to the wikidot site.

To get a Wikidot API key, see: http://developer.wikidot.com/

Credits:

Thanks to:

wikimigrate's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

perce-neige

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.