diff options
Diffstat (limited to 'zarb-ml/mageia-dev/20110506/004453.html')
-rw-r--r-- | zarb-ml/mageia-dev/20110506/004453.html | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110506/004453.html b/zarb-ml/mageia-dev/20110506/004453.html new file mode 100644 index 000000000..dfbf8240d --- /dev/null +++ b/zarb-ml/mageia-dev/20110506/004453.html @@ -0,0 +1,119 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] mediawiki package + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20mediawiki%20package&In-Reply-To=%3Calpine.LMD.2.02.1105061309210.15906%40zem.cjw.nep%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="004452.html"> + <LINK REL="Next" HREF="004454.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] mediawiki package</H1> + <B>Christiaan Welvaart</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20mediawiki%20package&In-Reply-To=%3Calpine.LMD.2.02.1105061309210.15906%40zem.cjw.nep%3E" + TITLE="[Mageia-dev] mediawiki package">cjw at daneel.dyndns.org + </A><BR> + <I>Fri May 6 13:35:16 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="004452.html">[Mageia-dev] mediawiki package +</A></li> + <LI>Next message: <A HREF="004454.html">[Mageia-dev] Freeze push Request : KDE 4.6.3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#4453">[ date ]</a> + <a href="thread.html#4453">[ thread ]</a> + <a href="subject.html#4453">[ subject ]</a> + <a href="author.html#4453">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Fri, 6 May 2011, nicolas vigier wrote: + +><i> On Fri, 06 May 2011, Christiaan Welvaart wrote: +</I>><i> +</I>>><i> The current mediawiki package puts the temporary writable config dir in +</I>>><i> /usr/share which AFAIK violates FHS - /usr should only be written during +</I>>><i> package (de)installation. I checked out the mediawiki package in fedora and +</I>>><i> I think we should use it as a base for the mageia package. Significant +</I>>><i> differences are: +</I>>><i> +</I>>><i> - tex (tetex/texlive) dependency separated into a mediawiki-math pkg +</I>>><i> - separate code (in /usr/share) from configuration (user defined, e.g. +</I>>><i> /var/www or /srv) and allow multiple wiki configs +</I>><i> +</I>><i> Interesting. To allow multiple wikis with same code, it can be done +</I>><i> in the config file, after setting some variable in the vhost config, the +</I>><i> config file use this variable to decide which config to load. +</I>><i> +</I>><i> However the config file is usually created by mediawiki itself, by the +</I>><i> install steps in mediawiki, when the database is created. If the config +</I>><i> file is already there, the database will not be created by mediawiki. +</I>><i> I don't know how it can be done automatically during package install. +</I>><i> I will look at fedora package how they do this. +</I> +Users (well, administrators) run a script to create a wiki, this symlinks +index.php (which is in /usr/share) to the directory the user provided, and +creates a config directory where mediawiki will put the config file it +generates. So the website's wiki dir only contains a few symlinks, a +config file and an images dir (the config dir should be removed after +configuration, this is standard mediawiki practice). + +>><i> I got it working on mageia cauldron after fixing installation for +</I>>><i> postgresql databases, but my package is not finished: I didn't check yet if +</I>>><i> anything should be merged from the mageia/mandriva package, and I had to +</I>>><i> configure the apache side manually, while I would expect some parts to be +</I>>><i> preconfigured. +</I>><i> +</I>><i> Yes. However, it should not prevent using the package with something +</I>><i> else than apache, or with different settings. +</I>><i> +</I>><i> Maybe this config can be done by a subpackage ? +</I> +It has documentation in /etc/httpd/conf.d/mediawiki.conf which can be +uncommented or copy/pasted into some other config file. Maybe it just +needs to be moved to /etc/httpd/conf/webapps.d/mediawiki.conf where I +think the mandriva config file was. + + + Christiaan +</PRE> + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="004452.html">[Mageia-dev] mediawiki package +</A></li> + <LI>Next message: <A HREF="004454.html">[Mageia-dev] Freeze push Request : KDE 4.6.3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#4453">[ date ]</a> + <a href="thread.html#4453">[ thread ]</a> + <a href="subject.html#4453">[ subject ]</a> + <a href="author.html#4453">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |