DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:displaytitle

Display Title Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" yes
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" yes

plugin The Display Title Plugin can display the id or title of the current page or the title of an arbitrary page

Last updated on
2021-01-27
Provides
Syntax
Repository
Source

Similar to var

Tagged with display, id, page, title

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.

plugin/displaytitle.txt · Last modified: 2021-11-22 20:18 by Aleksandr

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