Translations of this page?:

changemarks plugin

changemarks plugin by Gina Häußge, Michael Klier
This plugin is used to mark portions of text as inserted, deleted or highlighted. It replaces the older Inserted and Hilited plugins. (previous authors: Esther Brunner)

Last updated on 2008-02-12. Provides Syntax.
Compatible with DokuWiki >= 2006-11-06.

Similar to hilited, inserted.

Tagged with colors, highlight, ins, inserted, marking.

Download plugin-changemarks.tgz

Description

This plugin is used to mark portions of text as inserted, deleted or highlighted. It replaces the older inserted and hilited plugins.

Unlike the older plugins and unlike the markup for deleted built in to DokuWiki, you may specify a title which will appear as a tooltip in the browser.

Components

++title>text++ <ins title>text</ins>

Inserted

++[title]>[text]++
<ins [title]>[text]</ins>
[title] title to appear as tooltip; could be the name of the user who proposed the change and current date or a short comment optional; default is none
[text] text to mark as inserted; other formatting markup may be used inside required

Deleted

--[title]>[text]--
<del [title]>[text]</del>
[title] title to appear as tooltip; could be the name of the user who proposed the change and current date or a short comment optional; default is none
[text] text to mark as deleted; other formatting markup may be used inside required

Hilited

!![title]>[text]!!
[title] title to appear as tooltip; could be the name of the user who proposed the change and current date or a short comment optional; default is none
[text] text to mark as hilighted; other formatting markup may be used inside required

Further Resources

Discussion

  • The use of the ”-->” markup to indicate deleted text is rather unfortunate because Dokuwiki already uses two hyphens to indicate an en-dash, and this results in unexpected rendering in some cases. For instance, I had to replace en-dash markups in pages wiki/dokuwiki and wiki/syntax in my local installation to have them properly displayed. Presumably, this problem could be fixed by using a different markup (I've locally replaced ”-->” with ”@@>”) or by using an improved regular expression. Miquel Cabañas
 
plugin/changemarks.txt · Last modified: 2008/08/25 15:04 by 158.109.48.53
 
Imprint Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsTranslate