Table of Contents
MediaSyntax Plugin
Compatible with DokuWiki
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" no
- 2018-04-22 "Greebo" unknown
- 2017-02-19 "Frusterick Manners" unknown
Similar to creole, markdowku, pageredirect
Needed for acronym
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
- If you want the “edit” buttons to be above and not below the section to edit, install the editsections plugin (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 2009-12-25, 2010-11-07, 2011-05-25, 2012-01-25, 2013-05-10 and 2014-05-05.
Changes
- Merge pull request #28 from splitbrain-forks/master (2022-01-02 17:26)
- compatibility fixes for Hogfather. fixes #27 (2020-10-21 08:56)
- Merge pull request #26 from ctrueden/patch-1 (2020-01-11 13:58)
- Fix conversion of multiple tables (2020-01-08 21:58)
- thanks thecreator1970, issue 25 (2018-08-26 19:49)
- compatibility to PHP 7; thanks to jsmota; issue 23 (2017-08-25 18:28)
- Merge pull request #22 from renatoram/master (2016-03-03 15:45)
- Allow linking to any file extension. (2016-03-02 11:02)
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.