Tim Starling wrote:
Does anyone
see a problem with that approach?
The web installer should not be a part of installation from a package
at all. We should just get the wiki name from debconf, use the system
locale as the language, and install it with defaults otherwise. Then
the user will have a working wiki after install.
-- Tim Starling
I disagree. Existing packages do try to install it in /mediawiki or so,
leaving it half-configured for the user to finish by running the web
installer but that's not smart.
IMHO installing the mediawiki package should provide you with a command
like install-mediawiki which would request the location and setup all
the server alias needed.
On 06/08/10 09:10, Platonides wrote:
My idea for a FHS-friendlier setup was based in
storing the
LocalSettings for all installed wikis inside /etc/mediawiki.d, all of
them pulling from a CommonSettings.php where default overrides and
extensions affecting all installs would be stored.
That's basically what it does already, but it does it by patching the
setup code. I'd rather see a distributed LocalSettings.php file which
pulls in the necessary sub-config files. That can be done without any
changes to our source.
Oh, you mean distributed as in the package? That's another option.Other
than the different instructions needed, debian_specific_config.patch
could be done by playing with ENV vars.