DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:approve

This is an old revision of the document!


approve Plugin

Compatible with DokuWiki

Greebo, Frusterick Manners

plugin An approval/draft system for DokuWiki

Last updated on
2018-10-23
Provides
Syntax, Action
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to publish, structpublish

Tagged with moderation

Donation

If you like this plugin or want to thank me for development of your requested features please consider buying me a coffee. Thank you ;-)

Description

The plugin is an alternative to the publish plugin and it differs in some ways:

  • the user always see the diff of the last approved version and the current draft before they can approve the page
  • the plugin shows version numbers of approved pages
  • additional intermediate state: Ready for approval may be used (turn on in the plugin config)
  • filtering on approval table
  • it uses smaller banner on top of the page
  • adds the nice looking banner on top of the document while printing (turn on in the plugin config)

Syntax

The syntax component allows you to place the table with all the pages and its states. The minimal syntax is:

---- approve table ----
----

You can narrow the results only to specific namespace:

---- approve table ----
namespace: some:namespace
----

Show the page id's that satisfy the regular expression:

---- approve table ----
filter: /regex/
----

Show the pages that have some status:

---- approve table ----
states: approved, draft, ready for approval
----

Hide the summarize at the bottom of the table:

---- approve table ----
summarize: 0
----

You may join several filters:

---- approve table ----
namespace: some:namespace
filter: /regex/
states: approved, draft, ready for approval
summarize: 0
----

You may need to add ~~NOCACHE~~ to the page.

Development

Change Log

Releases:

Discussion

plugin/approve.1540277798.txt.gz · Last modified: 2018-10-23 08:56 by solewniczak

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