DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:editions

Editions Plugin

Compatible with DokuWiki

No compatibility info given!

plugin Compare several editions of the same text in different versions or languages

Last updated on
2016-04-03
Provides
Action
Repository
Source
Requires
purplenumbers

Tagged with comparison, edition, version

Installation

Before this plugin can be used, you need to install the PurpleNumbers plugin first.

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.

Configuration and Settings

Add a config file named editions.conf into your wiki's "conf" folder (not the plugin's “conf” folder) with edition name and language code per row, e.g.

laforgue        fr
machen          en
conrad          de

You need to have a certain namespace and page structure, i.e.

  1. the edition namespace (configurable via the editionNamespace config option)
  2. needs sub namespaces for each edition
  3. all page names must be the same between the different editions
  4. all paragraphs need to be in the same order across same pages

Example for a first chapter page:

edition:laforgue:001
edition:machen:001
edition:conrad:001

For every edition add one PNG icon (16×16) with the name of the edition as written in editions.conf to the “images” folder.

Settings for PurpleNumbers plugin

The PurpleNumbers plugin needs

  • either numbering set to consecutive and uniqueness set to page-wide
  • or internalID needs to be switched on

Demo

The editions plugin is used on Paralis.org within each edition of Casanova's Memoirs, e.g. http://paralis.org/edition:machen:001

Change Log

Discussion

plugin/editions.txt · Last modified: 2016-04-03 20:02 by ach