plugin:comment
Table of Contents
Comment Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" yes
- 2023-04-04 "Jack Jackrum" yes
- 2022-07-31 "Igor" yes
- 2020-07-29 "Hogfather" yes
Similar to commentsrc, commentsyntax, htmlcomment, wrap
This tiny plugin allows you to leave notes to yourself (and other authors of your wiki) in the wiki source code that won't be shown on the wiki page. The syntax is like C and PHP:
Example:
The text /* between the slash-asterisk and asterisk-slash */ is hidden
Becomes:
The text is hidden
You can also have multi-line comments:
/** * @todo: rewrite this section to reflect changes made recently * * this is a longer note */
But this single line example works too:
/********** added by Esther **********/
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Bugs / Feature Requests
Please report bugs or feature requests at the Bug tracker.
Further Resources
Changes
- Update plugin.info.txt (2023-08-18 09:14)
- Clean up code (2023-08-18 09:12)
- Merge pull request #17 from Miro-Collas/master (2023-08-18 09:11)
- Update syntax.php (2023-08-17 22:19)
- Upped version. (2016-04-26 18:02)
- Merge pull request #10 from splitbrain-forks/php7-signature (2016-02-27 18:32)
- Adjust method signatures to match parent (2016-02-02 13:03)
- replaced VERSION/getinfo() by plugin.info.txt (2010-11-22 13:43)
Comments
- Email address is wrong
- This doesn't work on 2013-12-08 “Binky”
- Does not filter out comments within data plugin entries - they are shown. Bugreport
- For the current Dokuwiki version, use the 'comment syntax' plugin
- Which version is meant with 'current Dokuwiki'? The 'comment' plugin is marked as 'compatible' for Frusterick Manners (which is the current version as of the writing of this question), while 'comment syntax' is marked as 'probably' — Dralli72 2018-03-07 00:43
- Could this feature be controlled with a boolean value whether it should be shown or not?
- If you disable the plugin in the extensions list then the comments will show. if you reenable it they will not be shown. Is this the boolean functionality you are looking for?
.
plugin/comment.txt · Last modified: by 80.209.162.130