Table of Contents
Display Title Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" yes
- 2020-07-29 "Hogfather" yes
The Display Title Plugin can display the id or title of the current page or the title of an arbitrary page
Similar to var
Installation
Search and install the plugin using the Extension Manager or install directly using the latest download url, otherwise refer to Plugins on how to install plugins manually.
Usage
The plugin offers three inline elements that expand into the text of either a page id or page title.
Element | Replaced By |
---|---|
<<display id>> | The id of the current page. |
<<display title>> | The title of the current page. |
<<display title ID>> | The title of the page ID or current page if ID is empty. |
Argument | Required | Description |
---|---|---|
ID | no | Arbitrary local wiki page id as would be passed to normal local wiki links. |
Configuration Settings
usePersistent: store pagetitle (= title) on persistent metadata storage
DokuWiki has two types of metadata storage for each page. They are called “current” and “persistent”. See developer documentation at: metadata
The usePersistent option allows you to store your page title into persistent metadata $persistent[‘title’] instead of current one. The title will be kept even if DokuWiki may set current metadata $meta[‘title’] to the first heeading depending on useheading settings.
Future Plans
- Fix any bugs that are reported.
- Update as necessary for future DokuWiki versions.
Security
The plugin has no abnormal security concerns related to the provided functionality.
Bugs
Bugs should be reported through the Issue Tracker.
- There are currently no know bugs.
Discussion
Discussion should be kept on the Plugin's Discussion Page.