summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110506/004453.html
blob: dfbf8240dea969c77568f4927a7f87baf7ebc944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
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:

&gt;<i> On Fri, 06 May 2011, Christiaan Welvaart wrote:
</I>&gt;<i>
</I>&gt;&gt;<i> The current mediawiki package puts the temporary writable config dir in
</I>&gt;&gt;<i> /usr/share which AFAIK violates FHS - /usr should only be written during
</I>&gt;&gt;<i> package (de)installation. I checked out the mediawiki package in fedora and
</I>&gt;&gt;<i> I think we should use it as a base for the mageia package. Significant
</I>&gt;&gt;<i> differences are:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>   - tex (tetex/texlive) dependency separated into a mediawiki-math pkg
</I>&gt;&gt;<i>   - separate code (in /usr/share) from configuration (user defined, e.g.
</I>&gt;&gt;<i>     /var/www or /srv) and allow multiple wiki configs
</I>&gt;<i>
</I>&gt;<i> Interesting. To allow multiple wikis with same code, it can be done
</I>&gt;<i> in the config file, after setting some variable in the vhost config, the
</I>&gt;<i> config file use this variable to decide which config to load.
</I>&gt;<i>
</I>&gt;<i> However the config file is usually created by mediawiki itself, by the
</I>&gt;<i> install steps in mediawiki, when the database is created. If the config
</I>&gt;<i> file is already there, the database will not be created by mediawiki.
</I>&gt;<i> I don't know how it can be done automatically during package install.
</I>&gt;<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).

&gt;&gt;<i> I got it working on mageia cauldron after fixing installation for
</I>&gt;&gt;<i> postgresql databases, but my package is not finished: I didn't check yet if
</I>&gt;&gt;<i> anything should be merged from the mageia/mandriva package, and I had to
</I>&gt;&gt;<i> configure the apache side manually, while I would expect some parts to be
</I>&gt;&gt;<i> preconfigured.
</I>&gt;<i>
</I>&gt;<i> Yes. However, it should not prevent using the package with something
</I>&gt;<i> else than apache, or with different settings.
</I>&gt;<i>
</I>&gt;<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>