This is an old revision of the document!
Table of Contents
No Highlight Plugin
Compatible with DokuWiki
2009-12-25, 2010-11-07, 2011-05-25, 2012-01-25
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Download and Installation
Download and install the plugin using the Plugin Manager using the following URL.
Using the Plugin Manager is the recommended way. If you are manually installing, you need to rename the extracted directory to “nohighlight”. In that case, refer to Plugins on how to install plugins manually.
Changelog:
- New version 2012-08-05 (2012-08-05 15:13)
- Fix arguments of ft_queryParser which changed in Rincewind (2012-08-05 15:12)
- fit codes to my current coding standard (2010-12-08 15:39)
- added a compensation for "remove_url_params" option (2010-01-23 06:12)
- added URL option "?nohighlight=[0|1]" (2010-01-22 16:52)
Overview
This plugin adds functionalities to deactivate search term highlightings.
For more details please read a forum topic Deactivating search term highlighting?.
Configuration
Site-Wide Settings
The following options can be configured through the Configuration Manager.
disable_highlight
You can set which types of search term highlighting functions to be disabled in wiki pages.
- Type: string
- Default:
all
Value | Description |
---|---|
all | Disables all highlighting features |
query | Disables highlighting by URL param ?s[]=term |
auto | Disables auto-highlighting by HTTP_REFERER info |
none | Disables nothing (DokuWiki default behavior) |
remove_url_params
You can remove “?s[]=term
” part in search result link URLs by checking this option.
- Type: boolean
- Default: 1 (checked)
Per-User Setting
For skilled users only.
Users can select either “Use site-wide setting” or “Disable all highlighting features” by manually adding URL parameter ?nohighlight=0
or ?nohighlight=1
.
Feedback
Any feedback is welcome. Please use the Issue Tracker to send your feedback.