# Todo Done Mover for DokuWiki
Adds a page action named **Move tagged todos**. When clicked, it rewrites the current page source by moving whole-line todo items whose opening tag contains a hashtag token to a bottom `## done` section.
## Example
Before:
```text
first thing
second thing
third thing
```
After clicking **Move tagged todos**:
```text
first thing
third thing
## done
second thing
```
## Install
Copy this folder to:
```text
lib/plugins/todomover/
```
Then visit a DokuWiki page where you have edit permission and click **Move tagged todos** in the page tools/menu.
## Notes
- It only moves whole-line todo items, optionally preceded by a simple list marker such as `* ` or `- `.
- It detects a hashtag token in the opening tag, e.g. `...`.
- It does not move `...`.
- It intentionally requires DokuWiki edit permission and a security token.
- DokuWiki's native heading syntax is equals-sign based, not Markdown `##`. This plugin writes `## done` because that is the requested output. If your wiki does not use Markdown-style headings, change `DONE_HEADING` in `action.php` to something like `===== done =====` and adjust `finalLevelTwoSectionIsDone()` accordingly.