DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:structautolink

structautolink Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" unknown

plugin Automatic page linking based on struct data

Last updated on
2023-02-15
Provides
Render
Repository
Source
Requires
struct

Similar to autolink2, autolink3, autolink4

Tagged with glossary, links

This plugin works similar to the other autolinking plugins in that it will add links to other pages automatically. However this is a struct plugin and uses it to configure the terms that should be linked to a page.

Installation

:!: This plugin requires the struct plugin to work. You should be familiar with struct before using this plugin.

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Configuration and Usage

The plugin needs to be configured with a schema and field in that schema. The field should be a text field and support multiple entries.

Once configured, every page that has the configured schema assigned will automatically be linked when one of the keywords in the configured field is found in the text of a page.

Note: only the first occurrence of one of the page keywords will be linked.

You can optionally restrict the autolinking by configuring an appropriate Regular Expression in the match config.

plugin/structautolink.txt · Last modified: 2023-02-15 11:00 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki