On May 21, 2008, at 1:52 AM, Sergiu Dumitriu
wrote:
Hi devs,
This is somewhat in response to the discussion about the new
Administration page design.
Behind the scenes, there was a discussion about where should the
Import
page put the uploaded xar, in XWiki.Import (as it is done now), or
in
XWiki.XWikiPreferences. Both sides agreed that the administration
should
automatically find and use administration pages, but didn't agree on
what "use" means. So, how should things work?
A. The main administration page contains links to other pages
B. The main administration page includes other administration sheets
Option A means that each administration topic uses its own page to
store
configuration, which somehow breaks the current configuration
mechanism,
where all (global) settings go into the XWiki.XWikiPreferences page.
Global settings should still go to XWikiPreferences even with
option A.
Option B means that each administration document
is used only as a
sheet, so all objects will be in XWiki.XWikiPreferences. If we
choose B,
then the best thing to do is to attach imported xars to the
XWikiPreferences page, instead of Import. Doing otherwise will
either be
very hard or would break the convention.
So, the main question is: Do we keep all settings in the same
document?
Or do we allow each application/component to have its
configuration in
its own document?
BTW we already do this with the space's WebPreferences pages.
I don't understand this. WDYM?