2008-07-21 13:49:07 +02:00
|
|
|
It should be possible to configure ikiwiki online, in the wiki admin's
|
|
|
|
preferences form. Rather than the current situation where most settings are
|
|
|
|
in ikiwiki.setup, and one or two (like locked pages and upload limits) in
|
|
|
|
the admin preferences.
|
|
|
|
|
|
|
|
In theory, every setting could be configured there. In practice, some
|
|
|
|
settings, like `srcdir` and `destdir` are ones you want to keep far away
|
|
|
|
from editing via the web.
|
|
|
|
|
2008-07-27 22:31:22 +02:00
|
|
|
The underlying work has been done to privide metadata about all options via
|
|
|
|
getsetup hooks, so it's just a matter of writing a web interface plugin.
|
2008-07-21 13:49:07 +02:00
|
|
|
|
2008-07-27 22:31:22 +02:00
|
|
|
The plugin could have these config options:
|
2008-07-21 13:49:07 +02:00
|
|
|
|
2008-07-27 22:31:22 +02:00
|
|
|
# list of options to include in web setup (safe = all things with safe = 1)
|
|
|
|
websetup_include => [qw{safe}],
|
|
|
|
# list of options to exclude from web setup
|
|
|
|
websetup_exclude => [qw{option_baz}],
|
2008-07-30 20:36:40 +02:00
|
|
|
# list of plugins that cannot be enabled/disabled via the web
|
|
|
|
# interface
|
2008-08-02 22:40:46 +02:00
|
|
|
websetup_force_plugins => [qw{git svn bzr mercurial monotone tla}]
|
2008-07-21 13:49:07 +02:00
|
|
|
|
2008-07-27 22:31:22 +02:00
|
|
|
Leaning toward just making it write out to the same setup file, rather than
|
|
|
|
writing to a subsidiary setup file. However, this would mean that any
|
|
|
|
comments in the file would be lost, and that it couldn't be used if the
|
|
|
|
setup file had weird stuff (perl code, etc).
|
2008-07-21 13:49:07 +02:00
|
|
|
|
2008-08-06 02:20:24 +02:00
|
|
|
[[!tag wishlist done]]
|