Plugin for DokuWiki.
Pops up a tooltip when the user selects text on wiki and search result pages. Clicking the tooltip searches the wiki for the selected text.
Prerequisites:
- PHP 8 for PHP static code analysis and optimization
- closure-compiler for Javascript static code analysis and optimization
- gzip for asset precompression
- zip for packaging
Run ./make.sh release
to build a release package. This minifies PHP and Javascript code.
Run ./make.sh debug
to build a debug package with better readable code.
Install the plugin package using the Extension Manager.
There are three configuration options available through the Admin interface:
Name | Default |
---|---|
Minimal length of the selection | 3 |
Actions where the tooltip is activated | search,show |
Open search in new tab or window | yes |
GPLv2, for better compatibility with DokuWiki itself.