aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/websetup.mdwn
blob: b4d23ba9cfbf85d08dce8a3556ffc45730a29263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[[!template id=plugin name=websetup core=0 author="[[Joey]]"]]
[[!tag type/web]]

This plugin allows wiki admins to configure the wiki using a web interface,
rather than editing the setup file directly. A "Wiki Setup" button is added
to the admins' preferences page.

Warning: This plugin rewrites your setup file. Any comments or unusual
things (such as perl code) in the setup file will not be preserved. Also,
it will only work correctly with new format setup files, as introduced in
ikiwiki 2.60. Older setup files have a "wrappers" section, which will not
be properly preserved if this plugin is used.

Most settings can be modified using the web interface. Plugins can be
enabled and disabled using it too. Some settings are not considered safe
enough to be manipulated over the web; these are still shown, by default,
but cannot be modified. To hide them, set `websetup_show_unsafe` to false
in the setup file. A few settings have too complex a data type to be
configured via the web. To mark additional settings as unsafe, you can
list them in `websetup_unsafe`.

Plugins that should not be enabled/disabled via the web interface can be
listed in `websetup_force_plugins` in the setup file.

When the setup is saved, the setup file will be rewritten with the new
settings, and the wiki will be refreshed, or rebuilt, to make the setip
changes take effect.