DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:mediasyntax

MediaSyntax Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" yes

plugin MediaWiki syntax for DokuWiki. Comes with a converter.

Last updated on
2023-07-29
Provides
Syntax
Repository
Source
Conflicts with
include

Download and Installation

  • Log in as Administrator to your DokuWiki
  • Choose Admin→Extension Manager
  • Under “Search and Install” search for “mediasyntax”
  • Click on “Install”.

Optional

  • To use tables in MediaWiki syntax, install the exttab3 plugin (previous: exttab1 or exttab2).
  • To have MediaWiki's styleset, install the Monobook or Vector skin.
  • If you want the “edit” buttons to be above and not below the section to edit, install the editsections plugin (NOTE: URL No longer exists source site).
  • Test your installation by writing a new article starting with '''hello world'''. This should be displayed bold.

Syntax and usage

After installation, MediaWiki syntax is used to display your pages. This also includes the #redirect command.

Tables

Tables stay in the DokuWiki syntax because the MediaWiki syntax does not allow for simple tables. If you really want mediawiki-style tables, use the exttab1 or exttab2 or exttab3 plugins.

Images

To add an image, store your image (let's assume it is called myimage.png) into the image folder (e.g. /srv/www/htdocs/dokuwiki/data/media/image). To show it use the syntax

[[Image:myimage.png]]

Compatibility

It is tested with DokuWiki 2023-04-04a “Jack Jackrum”, 2022-07-31b “Igor”, Hogfather, 2009-12-25, 2010-11-07, 2011-05-25, 2012-01-25, 2013-05-10, 2014-05-05.

Changes

Developer's information

The mediasyntax plugin is derived from the cool Creole, combined with the goto, 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.

Feedback

Thank you so much 🙏 for your amazing plugin. I am surprised more don’t use your useful plugin since MediaWiki syntax is so popular (even more than MarkDown) and it lets DokuWiki be a simpler to maintain MediaWiki clone. — The Cloud Monk 2023/05/23 :: Thanks for the feedback - Thorsten

plugin/mediasyntax.txt · Last modified: 2023-10-30 23:44 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki