]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/online_configuration.mdwn
similarity to internal pages
[ikiwiki.git] / doc / todo / online_configuration.mdwn
1 It should be possible to configure ikiwiki online, in the wiki admin's
2 preferences form. Rather than the current situation where most settings are
3 in ikiwiki.setup, and one or two (like locked pages and upload limits) in
4 the admin preferences.
5
6 In theory, every setting could be configured there. In practice, some
7 settings, like `srcdir` and `destdir` are ones you want to keep far away
8 from editing via the web.
9
10 The underlying work has been done to privide metadata about all options via
11 getsetup hooks, so it's just a matter of writing a web interface plugin.
12
13 The plugin could have these config options:
14
15         # list of options to include in web setup (safe = all things with safe = 1)
16         websetup_include => [qw{safe}],
17         # list of options to exclude from web setup
18         websetup_exclude => [qw{option_baz}],
19         # list of plugins that cannot be enabled/disabled via the web
20         # interface
21         websetup_force_plugins => [qw{git svn bzr mercurial monotone tla}]
22
23 Leaning toward just making it write out to the same setup file, rather than
24 writing to a subsidiary setup file. However, this would mean that any
25 comments in the file would be lost, and that it couldn't be used if the
26 setup file had weird stuff (perl code, etc).
27
28 [[!tag wishlist done]]