MindTouch Developer Center > Deki > FAQ > Migration > How do I... Migrate from MediaWiki to Deki Wiki

MindTouch has developed a converter to migrate MediaWiki content into Deki Wiki.  This guide provides instructions for installing and running the converter. 

Requirements

  • You must convert to a fresh installation of MindTouch Deki (either VM or Windows). 
  • You must have access to the MediaWiki MySQL database and attachments folder.
  • The MediaWiki converter is based on MediaWiki 1.11. You must upgrade the installation to that version before attempting the conversion.

Conversion Using Deki VM

The MindTouch Deki VM is the easiest way to migrate from MediaWiki to Deki since minimal configuration is required.

Running the Converter

1. Log into the Deki VM.

2.  cd /opt/deki/dist

3. Open mindtouch.deki.mwconverter.xml in a text editor and change it to match your installation:

  • Change <startup-xml> element to point to the location of the mindtouch.deki.startup.xml file.  On a VM installation, use /var/www/deki-hayes/config/mindtouch.deki.startup.xml.
  • Change <uri.converter> element to point to the IP address or FQDN of the MediaWiki-Bridge.  To leverage MindTouch's public MediaWiki-Bridge, use http://mwc.mindtouch.com.  If your wiki contains private data that should not be sent over the internet, you will need to install a local copy of the MediaWiki-Bridge.
  • Change <db-server> to the IP address or FQDN of your MySQL server containing the MediaWiki database.
  • Change <db-port> to the port of your MySQL server containing the MediaWiki database
  • Change <db-catalog> to MySQL catalog name for the MediaWiki database.  
  • Change <db-user> to an account in your MySQL Database that can read the MediaWiki database
  • Change <db-password> to the password of a MySQL account that can read the MediaWiki database
  • Change <mwrootpage> to the path of a MediaWiki page that should be treated as the Deki home page. 
  • Change <db-userprefix> and <db-prefix> to your MediaWiki database  prefix (if any), or blank if none.
  • Change the <image-dir> to the location of your MediaWiki file attachment directory.  This directory must be accessible to your VM (copied to a local directory or via a file share mount).
     

Below is a sample mindtouch.deki.mwconverter.xml configured for a VM:

<?xml version="1.0" encoding="utf-8" ?>
<config>
  <deki>
    <!-- Path to mindtouch.deki.startup.xml -->
    <startup-xml>/var/www/deki-hayes/config/mindtouch.deki.startup.xml</startup-xml>
  </deki>

  <!-- MediaWiki configuration settings -->
  <mediawiki>

    <!-- MediaWiki URL ex.  http://deki-hayes/config/mw/index.php -->
    <uri.converter>http://mwc.mindtouch.com</uri.converter>
    
    <!-- MediaWiki database connection information -->
    <db-server>localhost</db-server>
    <db-port>3306</db-port>
    <db-catalog>mediawikidb</db-catalog>
    <db-user>root</db-user>
    <db-password hidden="true">password</db-password>
    <db-options>pooling=true; Connection Timeout=5; Protocol=socket; Min Pool Size=2; Max Pool Size=50; Connection Reset=false;character set=latin1;ProcedureCacheSize=25;Use Procedure Bodies=true;</db-options>
    
    <!-- MediaWiki user table prefix.  Leave blank if the MediaWiki database tables do not use a prefix -->
    <db-userprefix></db-userprefix>
    <sites> 
      <site>

        <!-- MediaWiki table prefix.  Leave blank if the MediaWiki database tables do not use a prefix -->
        <db-prefix></db-prefix>
        
        <!-- Path of the MediaWiki home page.  All other pages will be placed under this page -->
        <mwrootpage>Main_Page</mwrootpage> 

        <!-- Path to MediaWiki images folder -->
        <imagedir>/mediawiki/files</imagedir>

      </site>
    </sites>
  </mediawiki>
</config>

 

4. Set execute permissions:  chmod +x mindtouch.deki.mwconverter.exe

5.  Stop  Deki:  /etc/init.d/dekiwiki stop

6.  Launch the converter:  ./mindtouch.deki.mwconverter.exe. 

WARNING:   Running the converter will replace your existing Deki data.

7.  Restart Deki:   /etc/init.d/dekiwiki restart

8.  Rebuild the search index

 

Installing the MediaWiki-Bridge

NOTE:  this procedure is only necessary if you cannot use http://mwc.mindtouch.com due to privacy concerns.

To install a private copy of the MediaWiki-Bridge:

 

Later, if you need to update the MediaWiki-Bridge files:

  • Log into the Deki VM.
  • cd /var/www/deki-hayes/config/mw
  • svn up

 

Once the files for the MediaWiki-Bridge have been installed, follow the usual mediawiki installation procedure:

  • Navigate to http://your-vm-ip/config/mw/config
  • Fill out the form (call the new database "mediawikidb")
  • Move the generated LocalSettings.php file from /var/www/deki-hayes/config/mw/config to /var/www/deki-hayes/config/mw.

 

To configure the <uri.converter> element in mindtouch.deki.mwconverter.xml, use http://your-vm-ip/config/mw/index.php.

Conversion Using Windows

Using Windows to convert from MediaWiki to Deki is more complex than using the MindTouch Deki VM.  

Running the Converter

Prepare the MediaWiki Environment

The MediaWiki converter is based on MediaWiki 1.11. It's recommended to upgrade the installation to that version before attempting the conversion. mediawiki has a pretty track record of cleanly upgrading existing installations, so this step shouldn't be a chore.

You should also use the latest version of Deki Wiki to build your environment.  Each successive version has subtle database schema changes that can cause problems during the conversion.

Setup Deki Wiki Converter Environment 

This section describes the steps to install the Deki Wiki converter.  It is written from the viewpoint of someone setting up a freshly installed computer.  If you are planning to use an existing installation you will need to skip the steps that don't apply. 

The converter consists of two parts:  a modified MediaWiki installation that will convert articles to XHTML and a C# application that creates a converter as a Dream server plugin.  It expects Deki Wiki to be installed on the same computer (or at least I wasn't savy enought to configure it with the Dream server and Deki Wiki web server running on another host) along with the modified MediaWiki PHP files.

Install Visual Studio

Microsoft has relased several versions of Visual Studio.  Install your favorite  flavor.

Install DekiWiki for Windows

Install and configure a new Deki Wiki installation on the same computer the converter will be run on.  This guide assumes the Deki Wiki environment is installed in C:\var\www\dekiwiki and the mindtouch.deki.startup.xml file is installed in C:\dekiwiki.

Install TortiseSVN

You will need a subversion client to download the Deki Wiki Converter source code.  TortiseSVN is a reasonable choice (although you can install the subversion command line tools instead.

Install the MediaWiki Converter

Create a directory where you want the DekiWiki converter installed and fetch the source code from the Mindtouch Subversion server.  From a command prompt enter the following command, to create directory where you want the code installed (something along the lines of C:\Documents and Settings\%USER%\src\dekiwiki\trunk is a reasonable choice, assuming %USER% is your Window user name) and fetch the source code:

C:\> cd \Documents and Settings\%USER%
C:\Documents and Settings\user> mkdir src
C:\Documents and Settings\user> mkdir src\dekiwiki
C:\Documents and Settings\user> mkdir src\dekiwiki\trunk

Open Windows Explorer, navigate to the C:\Documents and Settings\{user}\src\dekiwiki\ directory, right click  on the trunk directory and select "SVN Checkout..." from the context menu. 

ExplorerMenu.png

Note:  Once you have performed this step the first time, the TortiseSVN content menu changes to "SVN Update" and you no longer have to enter the URL.  When the TortiseSVN checkout dialog opens, enter the URL https://svn.mindtouch.com/source/public/dekiwiki/trunk in the "URL of Repository" text box and click "OK".  

TortiseCheckout.png

Configure the MediaWiki Converter

Navigate to the directory C:\Documents and Settings\%USER%\src\dekiwiki\trunk\src\tools\mindtouch.deki.mwconverter and open the Visual Studio file mindtouch.deki.mwconverter.csproj.  Depending on your version of Visual Studio, it may want to perform a conversion first (Visual Studio 2008 needs to convert the project first).

There are five dependencies that you need to resolve:  mindtouch.core, mindtouch.deki, mindtouch.deki.services, mindtouch.dream and mindtouch.indexservice.  To resolve them, right click on the "References" folder in the  Visual Studio Solution Explorer and click "Add Reference...", select the "Browse" tab in the "Add Reference" dialog box and select the five files.  The files you need to add are located in the directory C:\Documents and Settings\%USER%\src\dekiwiki\trunk\web\bin.  The files are:

  • mindtouch.core.dll
  • mindtouch.deki.dll
  • mindtouch.deki.services.dll
  • mindtouch.dream.dll
  • mindtouch.indexservice.dll

Note:  The reason these references cannot be resolved is a glitch in the  mindtouch.deki.mwconverter.csproj file.  Each of these references contains a <HintPath> element that points to where the file should be.  The paths are set incorrectly.  If you change the <HintPath>, then Visual Studio will find them.  For example:  The <HintPath> for mindtouch.core should be change from "..\..\bin\mindtouch.core.dll" to "..\..\..\web\bin\mindtouch.core.dll".

Open mindtouch.deki.mwconverter.xml in a text editor and change it to match your installation:

  • Change <startup-xml> element to point to the location of the mindtouch.deki.startup.xml file.
  • Change <uri.converter> element to point to the IP address or FQDN of the MediaWiki-Bridge.  To leverage MindTouch's public MediaWiki-Bridge, use http://mwc.mindtouch.com.  If your wiki contains private data that should not be sent over the internet, you will need to install a local copy of the MediaWiki-Bridge.
  • Change <db-server> to the IP address or FQDN of your MySQL server containing the MediaWiki database.
  • Change <db-port> to the port of your MySQL server containing the MediaWiki database
  • Change <db-catalog> to MySQL catalog name for the MediaWiki database.  
  • Change <db-user> to an account in your MySQL Database that can read the MediaWiki database
  • Change <db-password> to the password of a MySQL account that can read the MediaWiki database
  • Change <mwrootpage> to the path of a MediaWiki page that should be treated as the Deki home page. 
  • Change the <db-userprefix> to your MySQL database user prefix (if any), or blank if none
  • Change the <image-dir> to the location of your MediaWiki file attachment directory. 

  Below is a config.xml file with the options used in this guide:

<?xml version="1.0" encoding="utf-8" ?>
<config>
  <deki>
    <!-- Path to mindtouch.deki.startup.xml -->
    <startup-xml>C:\dekiwiki\mindtouch.deki.startup.xml</startup-xml>
  </deki>

  <!-- MediaWiki configuration settings -->
  <mediawiki>

    <!-- MediaWiki URL ex.  http://deki-hayes/config/mw/index.php -->
    <uri.converter>http://mwc.mindtouch.com</uri.converter>
    
    <!-- MediaWiki database connection information -->
    <db-server>localhost</db-server>
    <db-port>3306</db-port>
    <db-catalog>mediawikidb</db-catalog>
    <db-user>root</db-user>
    <db-password hidden="true">password</db-password>
    <db-options>pooling=true; Connection Timeout=5; Protocol=socket; Min Pool Size=2; Max Pool Size=50; Connection Reset=false;character set=latin1;ProcedureCacheSize=25;Use Procedure Bodies=true;</db-options>
    <sites> 
      <site>

        <!-- Path of the MediaWiki home page.  All other pages will be placed under this page -->
        <mwrootpage>Main_Page</mwrootpage> 

        <!-- Path to MediaWiki images folder -->
        <imagedir>C:\Temp\wiki-images\en</imagedir>

      </site>
    </sites>
  </mediawiki>
</config>

Because the converter runs as a plugin to the Dream server, any output is encoded in XML and returned to the calling program.  Towards the bottom of the main() function in program.cs, it invokes an HTTP POST method using service.PostAsync().  Unfortunately the PostAsync() call discards any errors and this makes it hard to tell what the program is doing.  In order to display any errors encountered, change the bottom of the main() function in program.cs to the following:

            Plug service = Plug.New(host.Uri.AtAbsolutePath("converter"), TimeSpan.MaxValue);
            DreamMessage m = service.PostAsync().Wait();
            if (!m.IsSuccessful)
                Console.WriteLine(m);
            else
                Console.WriteLine("Success!");
            Console.WriteLine("Press Enter to continue...");             Console.ReadLine();         }     } }

       

Launch the Converter

WARNING:   Running the converter will replace your existing DekiWiki data.  Once you've run the converter, you need to rebuild the search index.

If all goes well, you'll see output similar to the following.

MediawikiConverterOutput.png

      

The converter will automatically open a web browser with details about the conversion process.

Installing the MediaWiki-Bridge

NOTE:  this procedure is only necessary if you cannot use http://mwc.mindtouch.com due to privacy concerns.

Create a directory where you want the modified MediaWiki files to be installed and fetch the source code from the Mindtouch Subversion server.  From a command prompt enter the following command, to create directory where you want the code installed (something along the lines of C:\Documents and Settings\%USER%\src\mediawiki-bridge is a reasonable choice, assuming %USER% is your Window user name) and fetch the source code:

C:\> cd \Documents and Settings\%USER%
C:\Documents and Settings\user> mkdir src\mediawiki-bridge

Open Windows Explorer, navigate to the C:\Documents and Settings\{user}\src\ directory, right click  on the mediawiki-bridge directory and select "SVN Checkout..." from the context menu.  When the TortiseSVN checkout dialog opens, enter the URL https://svn.mindtouch.com/source/public/mediawiki-bridge in the "URL of Repository" text box and click "OK".  Note:  Once you have performed this step the first time, the TortiseSVN content menu changes to "SVN Update" and you no longer have to enter the URL.

You will need to copy all of the modified MediaWiki PHP files into your Deki Wiki environment.  The default location is in a mw subdirectory in the Deki Wiki config directory.  The example below assumes you installed your local Deki Wiki in C:\var\www\dekiwiki.

C:\> cd \Documents and Settings\%USER%\src\mediawiki-bridge\
C:\Documents and Settings\%USER%
\src\mediawiki-bridge\trunk> xcopy /E trunk c:\var\www\dekiwiki\config\mw
Does C:\var\www\dekiwiki\config\mw specify a file name
or directory name on the target
(F = file, D = directory)? d

You will need a LocalSettings.php file in C:\var\www\dekiwiki\config\mw (or wherever you installed your modified MediaWiki pages).  If you visit http://{IP address}/config/mw/config/index.php where {IP address} is the IP address of the conversion box (Note:  on my configuration, I had to use the IP address since localhost would redirect the traffic to the Dream server), you'll be presented with the MediaWiki setup page.  Enter the same values as your production MediaWiki installation, with the exception of the Database server (the database is not used during the conversion, so you can use your local copy on the Deki Wiki conversion box or create a new one).  Copy the resultant LocalSettings.php file from C:\var\www\dekiwiki\config\mw\config to C:\var\www\dekiwiki\config\mw (or wherever you installed your modified MediaWiki pages).

Open a browser and visit http://{IP address}/config/mw/index.php.  You should see "Hellow World!".  If you don't you'll need to fix your HTTP configuration. 

Note:  If you have an older MediaWiki installation, you may get a database error that complains about tables not found.  You can either return to step 1 (Prepare the MediaWiki Environment) and upgrade MediaWiki, or determine which tables are missing and manually create them now.  If you chose to determine which tables are missing, open the file C:\var\www\dekiwiki\config\mw\maintenance\tables.sql to see which table definitions the modified MediaWiki expects.  Open a MySQL prompt and execute

mysql> use {wikidb}; show tables;

(where {wikidb} is the name of your MediaWiki database instance).  Compare each table in the tables.sql file to the list of tables in MySQL.  Likely candidates will (probably) be at the bottom of the file.  If any are missing, copy and paste the table defenition command from the tables.sql file into a new file mediawiki_upgrade.sql.  Once you are finished, run the mediawiki_upgrades.sql file in MySQL with the following command:

mysql> source mediawiki_upgrade.sql

Testing the Installation 

Visit your new Deki Wiki site.  In addition to playing around and getting used to how your content now looks, you should:
 

  • Ensure the DekiWiki site map has the pages you were expecting
  • Scrutinize pages that have tables and images (If you specify width and/or height in pixels in MediaWiki you may need to resize your images for Deki Wiki)
  • Take a look at any pages that contain MediaWiki templates
  • Make sure your MediaWiki categories were converted into Deki Wiki Tags

Areas To Pay Special Attention  

This section lists areas that have been known to cause problems in earlier versions of the Mediawiki converter.

It is important to point out that the Mediawiki converter is rapidly evolving and these problems may be removed as the converter is updated.

Mediawiki Templates

MediaWiki frequently incorporates cascading style sheets to provide a uniform layout to a set of pages.  Frequently they tend to appear in MediaWiki templates.  The Deki Wiki converter will convert the template, but may not handle the content as cleanly as you may like. 

First, the converter will add calls to the the mediawiki.args template.  This is a service provided by mindtouch.mediawiki.dll,.  You must build and install the mediawiki extension.

The remainder of this section catalogs some cleanup required when converting a fairly simple Mediawiki template.  It uses a fairly simple example that exposes a couple of things to watch out for.  In this example, the following MediaWiki template is used to format the contents of a file (grabbed from some other MediaWiki page back in 2005 (I've long since forgotten where):

{| WIDTH="75%" style="background-color: #f2fff2; border: solid 1px #bfffbf;" 
| style="background-color: #c1ffc1; border: solid 1px #a0ffa0" | <font size="-1">Code: {{{1}}}</font> 
|- 
|
{{{2}}}
|}

It expects two arguments:  the name of a file, and the file contents.  It can be invoked with the following Mediawiki syntax (this example shows an edit to be made to the /etc/conf.d/ntpd file:

 {{Box File|<b>/etc/conf.d/ntpd</b>|
 <nowiki># /etc/conf.d/ntpd
 
 # Options to pass to the ntpd process
 # Most people should leave this line alone ...
 # however, if you know what you're doing, feel free to tweak
 NTPD_OPTS="-u ntp:ntp"</nowiki>}}

and produces output that looks like the following:

   mediawiki-box_file-template (2).png

The converter does a very good job at converting the template and properly created a template in Deki Wiki with the same colors and borders, however the sytax that calls the template may have errors.  For the  example above, the following output appeared after running the Mediawiki converter (for every revision of this article):

line 1, column 100: invalid Primary

The converter created the following:

{{ wiki.template('Box_File', mediawiki.args(['<b>/etc/conf.d/ntpd</b>', 
'<span class=\"plain\">' .. 
# /etc/conf.d/ntpd

# Options to pass to the ntpd process 
# Most people should leave this line alone ... 
# however, if you know what you're doing, feel free to tweak 
NTPD_OPTS="-u ntp:ntp" .. 
'</span>'])) }}

Note:  Line spacing has been added for clarity, the converter produced the output on two (very long) lines.  The content of the /etc/conf.d/ntpd file contains characters that were being interpreted by Deki Wiki.  To fix that, I had to enclose the argument in single quotes (the second argument falls between the two ellipsis, "..", and in the example above runs from the 3rd to the 8th line).  Unfortunately the content of the argument actually contains a single quote in the form of an apostrophe in the word "you're" (which is one reason it was selected as an example).  I modified it to the following:

{{ wiki.template('Box_File', mediawiki.args(['<b>/etc/conf.d/ntpd</b>', 
'<span class=\"plain\">' .. 
'# /etc/conf.d/ntpd\n
\n
# Options to pass to the ntpd process \n
# Most people should leave this line alone ... \n
# however, if you know what you\'re doing, feel free to tweak\n
NTPD_OPTS="-u ntp:ntp"' .. 
'</span>'])) }}

Note:  Line spacing has been added for clarity, as soon as you save the changes and edit it again, the arguments will be run together.  The following steps fix the error:

  1. Manually enclose the argument (between the ".." ellipsis) in single quotes to prevent Deki Wiki from interpreting the template contents (the <nowiki> tag does the same thing in Mediawiki)
  2. Escape any appostrophe characters or single quotes that appear in the argument's content
  3. Replace newlines with "\n". 

This is a reasonable translation of the look and feel of the Mediawiki content.  There are some issues you need to be aware of, however:

  • You may need to manually visit a subset of the pages that call a template, not just the template itself:
    • In many cases newlines are critical to the content of the template.  Mediawiki preserves newlines in template arguments, while in Deki Wiki you need to explicitly use '\n' syntax in the Deki Wiki tempalte arguments.  Unfortunately the mediawiki converter replaces newlines with spaces.  You can imagine how difficult it will be if the content is a capture of the Linux "make menuconfig" output cataloging all the options in a Linux kernel configuration, all run together on one line (yes, I have some of those).
    • Deki Wiki may try to interpret characters in the arguments to the template, causing an error message.  You may need to quote the arguments, and escape any apostrophe characters that appear in the argument (by preceeding them with a backslash ('\') character.
  • Even after editing the page, prior revisions (from before the Mediawiki conversion) will no longer look right.
     

This is a very simple use of Mediawiki templates.  They can easily get much more complex. 

Tags

Before troubleshooting tags, make sure you rebuild the search index.  Login to your newly converted Deki Wiki site as your administrator, and visit "Control Panel" --> "Site Settings" --> "Rebuild Site Index >>".  This may take a few minutes to complete.

After running the converter and viewing the converted pages, ensure that each has the tags expected listed at the bottom of the page. Click on the tag names to ensure that all the pages have the desired tag.  In my case, however, Deki Wiki frequently showed fewer page titles than expected or none at all (the message "There are no pages that are tagged xxx in this language."  was displayed).

What made it stranger was that if I created a Deki Wiki tag definition page (user the tag "define:xxx"), the full set of pages showed up under "Related Pages for 'xxx'", it was only on the "Site Tags" page where results were omitted.

After munging around in the MySQL database, I found that a number of pages ended up being owned by user ID 0 (page_user_id = 0), which is non-existant.  Here's a list of the Deki Wiki users table after the migration:

mysql> select user_id, user_name from users;
+---------+-----------+
| user_id | user_name |
+---------+-----------+
|       3 | Anonymous |
|       2 | Moderator |
|       1 | Admin     |
+---------+-----------+

Only those pages with page_user_id = 0 didn't show up in the Site Tags list (http://{FQDN}/Special:Tags?tag=xxx) when you clicked on a tag name.  Selecting a new owner fixed the problem:

mysql>  UPDATE pages SET page_user_id = 2 WHERE page_user_id = 0;

Note:  I picked page_user_id = 2 because that was a moderator on my Mediawiki site.

After restarting my Dream server, all my tags were available.  Woo Hoo!!!

Migrating Deki to your Production Server

Once you're happy, migrate the Deki Wiki database back to your production database using this FAQ.  Be sure to restart Deki once you've imported your data.
 

Note:  If you production server is Linux, you need to change the attachment path.  Visit your newly migrated production Deki Wiki site, navigate to "Control Panel" --> "Configuration" --> "storage/fs/path" and change C:\var\www\dekiwiki\attachments to /var/www/dekiwiki/attachments.

 

Tag page
Viewing 7 of 7 comments: view all
The issues with cascading style sheets should be addressed in the wikitext to html conversion. If not, let me know.
Posted 17:55, 27 Apr 2008
Here is an easier way to install the MediaWiki-Bridge files:
1) log into the vm
2) cd /var/www/deki-hayes/config
3) svn co https://svn.mindtouch.com/source/public/mediawiki-bridge/trunk/ mw

Later, if you need to update the MediaWiki-Bridge files, just do this:
1) log into the vm
2) cd /var/www/deki-hayes/config/mw
3) svn up

That's it!
Posted 17:59, 27 Apr 2008
Once the files for the MediaWiki-Bridge have been installed, follow the usual mediawiki installation procedure:
1) go to http://your-vm-ip/config/mw/config
2) fill out the form (call the new database "mediawikidb")
3) move the generated LocalSettings.php file from /var/www/deki-hayes/config/mw/config to /var/www/deki-hayes/config/mw

Now, go to http://your-vm-ip/config/mw/. You should see a simple "Hello World!" message.

Note that the MediaWiki-Bridge creates a dummy database that is not used during the conversion process. It's only needed to properly initialize the mediawiki environment. All pertinent information is either past in by the POST request or configured locally in the index.php file (which is really just a hack for now until the converter does everything else as expected; then these settings should also be passed in by the POST request).
Posted 18:05, 27 Apr 2008
Hey,

Maybe it will looks as stupid question, but I is there way how can I do it through dekiwiki running on Linux without installing Visual Studio and compiling MediaConvertor.
I don't have installed dekiwiki server on Windows (not sense at all). As well as, my question is, why people have to install Visual Studio (As I am person, which will have to install for this purpose) and compile MediaCovertor.

Why you can't provide MediaCovertor same way, as you providing other extension?
Why it can’t be part of Dekiwiki application it self?

I am just thinking about the people, which does not want complex way to transfer data, but they will appreciate simple way, where they will be able to do everything through dekiwiki interface, ie.: When they will start to do installation of DekiWiki, it will ask them (Do you want to covert data from another wiki).

How do you want to convince people with MediaWiki to go with DekiWiki, if they will have to go through long and complex process of converting?


BTW: I am still appreciate, you gave us finally some manual, how to convert data from MediaWiki. Thanks for that.
Posted 01:47, 7 May 2008
Unfortunately after clicking on a tag name (in this example I clicked on the tag Acronym, the migrated Deki Wiki reported "There are no pages that are tagged Acronym in this language."

>>> The search index needs to be rebuilt since the MediaWiki to Deki Wiki converter does not update it. To do this: Tools->Control Panel->Site Settings and click "Rebuild Search Index"

The converter did a very good job at converting the template and properly created a template in Deki Wiki with the same colors and borders, however the sytax that calls the template may have errors. In my case it called the mediawiki.args template which wasn't included in the Deki Wiki 8.05 release. The same /etc/sysctl.conf file contents appeared as the following after running the Mediawiki converter (for every revision of this article):

line 1, column 119: "]" expected

>>> The reason for this is that you need mindtouch.mediawiki.dll to be present in your /var/www/deki-hayes/bin/services directory. The project for this binary exists in \public\dekiwiki\trunk\src\services\mindtouch.mediawiki edited 18:45, 13 May 2008
Posted 18:45, 13 May 2008
OMG, this is an amazing tutorial. THANK YOU, THANK YOU!! edited 03:09, 19 May 2008
Posted 00:15, 19 May 2008
You'll need to rebuild the index. That will solve the issue with the tags not working.

As for the 'mediawiki' extension. The source code is included. You'll need to compile it, place the binary in the /bin/services folder, and add it in the control panel (SID: sid://mindtouch.com/2008/04/mediawiki). edited 00:50, 19 May 2008
Posted 00:20, 19 May 2008
Viewing 7 of 7 comments: view all
You must login to post a comment.
Powered by MindTouch Deki v.8.08.2