projects:dokuwiki_redact_plugin
Table of Contents
Dokuwiki Redact Plugin
Summary:
Create a plugin that allows you to easily place `<redact></redact>` around sensitive information. This will replace all characters with breaking and non breaking spaces and a style applied to make them appear to be black boxes like they were sharpied over in a sensitive document
Goals:
Create plugin
- Identify plugins with similar functionality
- Identify and document changes required in source code
- Fork plugin and make changes
Post plugin
- Send to Dokuwiki to be included in plugins directory
Notes:
Information on ACL - page/asset control system used by dokuwiki.
No Display Plugin - Perfect functionality for what I need.
- Change Regex to `<redact>` instead of `<nodisp>`
- Change default behavior to be acl level 2, not send as text with hidden styling
- Replace word characters with a non breaking space, and all white space with breaking spaces
- This allows for the HTML/CSS engine to break in the same locations that the original words would
- Add inline style or find how to add through plugin at top level
projects/dokuwiki_redact_plugin.txt · Last modified: 2021/06/14 15:05 by chrisbolas
