Table of Contents

Extension Repository Plugin

This plugin is the counterpart of the extension manager. It manages extensions (plugins and templates) here at dokuwiki.org and provides the API for the extension manager.

(A plugin similar to this one but with more flexibility, aimed at usage outside dokuwiki.org, is also available. It's the data plugin.)

Plugins Entry

Each plugin should have a homepage in the plugin namespace, containing at least a short description and a data block like this at the start:

---- plugin ----
description: Just an example to prove the point
author     : Joe Blow
email      : joe@example.com
type       : syntax, action, admin, helper, render
lastupdate : 2007-12-17
compatible : Anteater, 2010-02-14
depends    : plugin1
conflicts  : plugin2
similar    : plugin3
tags       : example, sample

downloadurl: https://github.com/example/dokuwiki-plugin-sample/zipball/master
bugtracker : https://github.com/example/dokuwiki-plugin-sample/issues
sourcerepo : https://github.com/example/dokuwiki-plugin-sample/
donationurl: https://www.paypal.com/...

screenshot_img : http://<someserver>/image.png
----

The info is stored in a database and used to build a dynamic repository browser (see the plugins listing or the Extension Manager in your wiki).

About the fields:

Template Entry

Similar for templates, but in the template namespace.

---- template ----
description   : Just an example to prove the point
author        : Joe Blow
email         : joe@example.com
lastupdate    : 2007-12-17
compatible    : Anteater, 2010-02-14
depends       : 
conflicts     : example, template:sample
similar       : 
tags          : example, sample

downloadurl   : https://github.com/example/dokuwiki-plugin-sample/zipball/master
bugtracker    : https://github.com/example/dokuwiki-plugin-sample/issues
sourcerepo    : https://github.com/example/dokuwiki-plugin-sample/
donationurl   : https://www.paypal.com/...

screenshot_img: http://<someserver>/image.png
----

The info is stored in a database and used to build a dynamic repository browser (see the template listing or the Extension Manager in your wiki).

About the fields:

Security warning: predefined shortcuts

The security warning field allows usage of some predefined shortcuts. The following table shows the actually defined shortcuts and their meaning:

Shortcut Meaning
informationleak This extension exposes information that might be valuable to a hacker. It is not recommended in a public installation.
allowsscript This extension will allow execution of scripts. It should only be used when you trust ALL editors, best suited in private personal wikis.
requirespatch This extension requires patching the DokuWiki core. Manual patches may break compatibility with other extensions and make it harder to secure your installation by upgrading to the latest version.
partlyhidden Hiding parts of a DokuWiki page is not supported by the core. Most attempts to introduce ACL control for parts of a page will leak information through RSS feed, search or other core functionality.

An example for the partlyhidden security warning can be viewed at the plugin:ifauth page.

Repository Plugin Manual and API

The manual describes how to use the different components of the plugin on dokuwiki.org.

The API doc describes how to query the plugin info from remote.

Compatibility with release candidates

When a new release candidate is available please update the plugin homepage with appropriate compatibility, use the release name (i.e. “rincewind”) rather than the RC date. That way you won't have to update the compatibility information as the final release is done.