DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:lastcomp

Lastcomp 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 The plugin compares the last modification date of two wiki pages

Last updated on
2023-07-21
Provides
Syntax
Repository
Source
Requires
wrap

Similar to lastmod

Tagged with changelog

Installation

Additionally required for the output:

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.

Usage

The use of this plugin is to compare the last modification date of two wiki pages and to output a message which page is outdated.

Syntax

The syntax allows for two alternatives:

~~LASTCOMP|<page1>~~
~~LASTCOMP|<page1>|<page2>~~

You can refer to one page (“<page1>”) which is compared to the current page, or you can list two pages, separated by a pipe, which are compared to each other.

Examples:

a) This syntax compares the current wiki page with the page 'mynamespace:mypage'

~~LASTCOMP|mynamespace:mypage~~

b) And this page compares the wiki page 'mynamespace:mypage' with the page 'playground:start'

~~LASTCOMP|mynamespace:mypage|playground:start~~
          

Change Log

  • 2023-07-21
    • Initial release
plugin/lastcomp.txt · Last modified: 2023-07-21 17:00 by juergen-aus-zuendorf

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