Skip to content
tstaerk edited this page Oct 16, 2010 · 24 revisions

Mediasyntax is a plugin for Dokuwiki that enables Mediawiki syntax.

Install it

  • Log in as Administrator to your dokuwiki
  • Choose Admin->Manage Plugins
  • Under "Download and install a new plugin" enter http://www.staerk.de/files/mediasyntax.tar.gz and click on "Download".
  • To use tables in mediawiki syntax, install the exttab1 plugin.
  • If you want the "edit" buttons to be ''above'' and not ''below'' the section to edit, install the editsections plugin.
  • Test your installation by writing a new article starting with '''hello world'''. This should be displayed bold.

Readyness

what works

I use it productively in a team. The following items work:

  • Headers in mediawiki style
  • unordered list items in mediawiki style
  • <pre>-tag
  • coding style (one blank at the beginning of a line)
  • external links in mediawiki style
  • redirects in mediawiki style Here is a demo of syntax that works.

what could be better

You may want to

  • install the monobook skin so you have mediawiki's appearance for your dokuwiki
  • change your dokuwiki's editing help (wiki:syntax) to look like this
  • change the toolbar above the article textarea
  • install the exttab2 plugin
  • install the editsection plugin

Compatibility

It is tested with Dokuwiki 2009-12-25 and 2010-10-07.

Developer's information

The mediasyntax plugin is derived from the cool creole plugin, combined with the goto plugin, which is now the redirect component. To download mediasyntax' latest development code, open a Linux console and type

git clone git:github.com/tstaerk/mediasyntax.git

You can also view the code online.

You can start developing mediasyntax.

See also