Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tetsuo13/mediawiki-to-dokuwiki-importer

Convert MediaWiki to DokuWiki
https://github.com/tetsuo13/mediawiki-to-dokuwiki-importer

Last synced: 11 days ago
JSON representation

Convert MediaWiki to DokuWiki

Awesome Lists containing this project

README

        

# MediaWiki2DokuWiki

![Continuous integration](https://github.com/tetsuo13/MediaWiki-to-DokuWiki-Importer/workflows/Continuous%20integration/badge.svg)

Import MediaWiki into DokuWiki. Will also translate from MediaWiki syntax to
DokuWiki as best as it can (not all modifiers from MediaWiki are available in
DokuWiki). It processes pages and images/files.

Tested against:

* MediaWiki 1.17.1 and DokuWiki 2012-01-25 "Angua".
* MediaWiki 1.16.1 and DokuWiki 2011-05-25a "Rincewind"

**This project is not under active development or maintenance.**

Try the [yamdwe](https://github.com/projectgus/yamdwe) project if you encounter serious issues during migration.

## Requirements

* Physical access to the MediaWiki and DokuWiki installation on server.
* Read access to MediaWiki's LocalSettings.php script.
* PHP 5.4 or greater.
* PDO extension with MySQL/PostgreSQL binding -- whatever DB type MediaWiki is
using.

## Usage

Can be run either through a web server or from the command line, if you have
SSH access to the server. For large MediaWiki installations the command line
is preferred as the web server may terminate the process due to maximum
execution time limits, if safe mode is enabled and cannot be disabled.

Copy the ``src`` directory either in a temporary location if you will be using
the command line or in a web accessible location otherwise.

Copy ``settings.php.dist`` to ``settings.php`` and edit the contents to
provide the path to the source MediaWiki and target DokuWiki installations.
Even if running from a web server, the paths cannot be URLs.

Whether you will be using the command line or a web server, the target file
to be called is the same. If using the command line:

$ php index.php

If using a web server:

/index.php