Wiki Manager API
![]() | XWiki Platform - Wiki Manager - API |
Type | JAR |
Category | |
Developed by | |
Active Installs | 29 |
Rating | |
License | GNU Lesser General Public License 2.1 |
Table of contents
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
$services.wikimanager
{{/velocity}}
Before 3.3
You can access the plugin API using
$xwiki.wikimanager
{{/velocity}}
Prerequisites & Installation Instructions
We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).
You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.
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.
Dependencies
Dependencies for this extension (org.xwiki.platform:xwiki-platform-wiki-manager-api 5.4.7):
- org.xwiki.platform:xwiki-platform-oldcore 5.4.7
- org.xwiki.platform:xwiki-platform-application-manager-api 5.4.7