Application - Wiki Initializer - API
| An extension that allows to initialize the main wiki and sub-wikis |
| Type | JAR |
| Category | Other |
| Developed by | |
| Active Installs | 27 |
| Rating | |
| License | GNU Lesser General Public License 2.1 |
Table of contents
Description
This extension allows to automatically initialize wikis and sub-wikis upon deployment of the XWiki web application.
Configuration
Currently, configuration can only be set within the file xwiki.properties. The following configuration keys are available :
# ***** Wiki Initializer Configuration *****
# Controls whether the main wiki and / or every sub-wiki should be started automatically
# wikiInitializer.initializeMainWiki=false
# wikiInitializer.initializeSubWikis=false
# In case wikiInitializer.initializeSubWikis is set to false, but some sub-wikis still
# need to be automatically started, it is possible to define a comma-separated list of wiki
# identifiers to start.
# wikiInitializer.initializableSubWikis=wiki1,wiki2
# Controls if the first request on each initialized wikis should be made to the view action
# or to the distribution action. Using the distribution action will automatically start the
# distribution job.
# wikiInitializer.startDistributionWizardOnInit=false
# Initial request configuration
# Controls the first request parameters of the main wiki. These configuration
# options allow the URL Factories to work properly, and can be used to initialize
# the main wiki descriptor if the extension is used for the first XWiki start.
# Controls the URL of the first request made to the wiki
# wikiInitializer.initialRequest.url=https://mywiki.example.com/xwiki/bin/view/Main/
# Controls the context path of the first request made to the wiki
# wikiInitializer.initialRequest.contextPath=/xwiki
# Controls the URL parameters of the first request made to the wiki
# wikiInitializer.initialRequest.parameters=param1,param2
# wikiInitializer.initialRequest.parameters.param1.value=value1
# wikiInitializer.initialRequest.parameters.param2.value=value2
# Controls the request headers of the first request made to the wiki
# wikiInitializer.initialRequest.headers=header1,header2
# wikiInitializer.initialRequest.headers.header1.value=value1
# wikiInitializer.initialRequest.headers.header2.value=value2
# Controls the cookies of the first request made to the wiki
# wikiInitializer.initialRequest.cookies=cookie1,cookie2
# wikiInitializer.initialRequest.cookies.cookie1.value=value1
# wikiInitializer.initialRequest.cookies.cookie2.value=value2
# Controls the remote address of the initial request
# wikiInitializer.initialRequest.remoteAddress=mywiki.example.comPrerequisites & 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.
Versions
Dependencies
Dependencies for this extension (org.xwiki.contrib.wikiinitializer:application-wiki-initializer-api 1.2.3):
- org.xwiki.commons:xwiki-commons-observation-api 14.10
- org.xwiki.commons:xwiki-commons-component-api 14.10
- org.xwiki.platform:xwiki-platform-oldcore 14.10