Wiki Manager Plugin

Version 31.2 by Thomas Mortagne on 2013/04/07 14:46

cogAllows creating subwikis from templates and XARs, and deleting wikis
TypeOther
Category
Developed by

XWiki Development Team

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1
Bundled With

XWiki Enterprise Manager

Description

Current features :

  • create empty wiki
  • create wiki from template wiki
  • create wiki from xar package
  • delete wiki

For now HSQLDB, Derby and Postgre are not fully supported. You will have to use MySQL or Oracle databases engines.

Dependencies

The Wiki Manager Plugin depends on the Application Manager Plugin.

This plugin is mostly written to be used by the Wiki Manager Application.

Usage

Since 3.3

The plugin way of accessing the API is still valid if you registered the plugin in xwiki.cfg but the recommended way is now

{{velocity}}
$services.wikimanager
{{/velocity}}

Before 3.3

You can access the plugin API using

{{velocity}}
$xwiki.wikimanager
{{/velocity}}

Prerequisites & Installation Instructions

You have to make sure the xwiki.virtual property is set to xwiki.virtual=1 in the xwiki.cfg file.

Since 3.3

  • Add the JAR in your container classpath (WEB-INF/lib)

Before 3.3

Follow these steps:

  • Add the JAR in your container classpath (WEB-INF/lib)
  • Edit xwiki.cfg and add the following line to the list of plugins :
    xwiki.plugins=\
          [...]
           ... ,\
         <plugin package>
  • Restart your container
  • Verify the plugin is properly installed by typing the following in a wiki page :
    {{velocity}}
    $xwiki.<plugin name>.name
    {{/velocity}}

    If the installation has been successful, you will see <plugin name>.

The <plugin name> for Wiki Manager is wikimanager.

Get Connected