This is an old revision of the document!
Table of Contents
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
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 (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
- Update plugin.info.txt - homepage changed (2023-08-04 14:07)
- Update plugin.info.txt - bump version (2023-08-04 14:05)
- Update include.php - allow includes, https://github.com/tstaerk/media… (2023-07-30 12:44)
- Update plugin.info.txt - this should fix https://github.com/tstaerk/m… (2023-07-29 22:07)
- Update codeblock.php - https://github.com/tstaerk/mediasyntax/issues/34 (2023-07-29 18:01)
- bump year && document PHP 8 change (2023-07-29 14:14)
- PHP 8: do not use curly brackets to address parts of a string. https:… (2023-07-29 13:37)
- Merge pull request #32 from splitbrain-forks/master (2023-06-18 21:15)
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