It's better when it's simple

User Tools

Site Tools


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

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

Similar to var

Tagged with display, id, page, title


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.


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.


The plugin has no abnormal security concerns related to the provided functionality.


Bugs should be reported through the Issue Tracker.

  • There are currently no know bugs.


Discussion should be kept on the Plugin's Discussion Page.

plugin/displaytitle.txt · Last modified: 2024-02-08 20:48 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