History: Wiki Handler
Preview of version: 7
- «
- »
Wiki Page Handler
Profile installer in Tikiwiki would not be very useful without wiki pages, thus, a handler was created. To create a wiki page, the page content must exist in the profile repository. The page name is provided in the profile to reference to it.
YAML
Copy to clipboard
preferences: enable: [ feature_wiki ] objects: - type: wiki_page ref: wiki_sample_page data: name: SamplePage description: A sample page lang: en content: wikicontent:WikiHandlerSamplePage
_help:_ what is the syntax for a list of pages?
Wiki Object Parameters
Field name | Mandatory | Value |
name | yes | The name of the page to be created. |
description | The page description | |
lang | Page language as the two letter code (ex: fr, en, es) | |
content | yes | Initial page content. To simplify the profile, large pages can be included from a remote location in the same profile repository. This is done by using the wikicontent: prefix, as seen in the example. |