DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:editions

Editions Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" unknown

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.

Search and install the plugin using the Extension Manager. 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: by ach

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