DokuWiki children pages plugin
Find a file
vv221 91c198cf0a Add a prefix to the type of menu items generated by this plugin
The prefix used is "childrenpages_".
This should make it easier for template builders to identify the menu
items added by this plugin.
2020-04-05 15:25:56 +02:00
conf Fix display of default list of namespaces used by the plugin in configuration manager 2020-04-03 22:42:25 +02:00
img Add screenshot to the README 2020-04-03 23:04:36 +02:00
lang Add French translation for default strings 2020-04-03 23:07:23 +02:00
action.php Fix mentions of old plugin name 2020-04-03 23:25:51 +02:00
LICENSE Initialize repository with plugin license 2020-03-30 22:51:58 +02:00
MenuItem.php Add a prefix to the type of menu items generated by this plugin 2020-04-05 15:25:56 +02:00
plugin.info.txt Rename plugin and update description 2020-04-03 00:14:46 +02:00
README.md Add installation instructions using tarballs 2020-04-03 23:45:20 +02:00

DokuWiki plugin: Children pages

For each page, this plugin adds children pages in pre-set namespaces, reachable through links in the page menu.

thumbnail

Installation

Right now, only installation through git is available. Alternatives will be proposed at a later point.

Installation using archives

Requirements

  • curl
  • tar
  • gzip

Current stable version (1.0.0)

Assuming the root directory of your DokuWiki installation is /srv/dokuwiki:

DOKUWIKI_PATH=/srv/dokuwiki
TARBALL_URL=https://forge.dotslashplay.it/vv221/dokuwiki-childrenpages/-/archive/1.0.0/dokuwiki-childrenpages-1.0.0.tar.gz
curl "$TARBALL_URL" > dokuwiki-childrenpages-1.0.0.tar.gz
mkdir --parents "$DOKUWIKI_PATH/lib/plugins/childrenpages"
gzip --stdout --decompress dokuwiki-childrenpages-1.0.0.tar.gz | tar xf - --strip-components=1 --directory="$DOKUWIKI_PATH/lib/plugins/childrenpages"
rm dokuwiki-childrenpages-1.0.0.tar.gz

Installation using git

Requirements

  • git

Current stable version (1.0.0)

Assuming the root directory of your DokuWiki installation is /srv/dokuwiki:

DOKUWIKI_PATH=/srv/dokuwiki
REPO_URL=https://forge.dotslashplay.it/vv221/dokuwiki-childrenpages.git
git clone --branch 1.0.0 --depth 1 "$REPO_URL" "$DOKUWIKI_PATH/lib/plugins/childrenpages"

Latest development version

Assuming the root directory of your DokuWiki installation is /srv/dokuwiki:

DOKUWIKI_PATH=/srv/dokuwiki
REPO_URL=https://forge.dotslashplay.it/vv221/dokuwiki-childrenpages.git
git clone --branch master --depth 1 "$REPO_URL" "$DOKUWIKI_PATH/lib/plugins/childrenpages"

Configuration

Namespaces list

The links to children pages are generated from a list of reserved top level namespaces. Normal pages should not be created in these namespaces.

This list can be modified in DokuWiki config manager, and defaults to:

animation, gameplay, dev, talk

Developers instructions

Up-to-date installation instructions for developers can be found on the project wiki.