[Mageia-sysadm] mediawiki

Oliver Burger oliver.bgr at googlemail.com
Thu Feb 17 08:05:00 CET 2011


2011/2/17 Michael Scherer <misc at zarb.org>
> Le dimanche 13 février 2011 à 16:48 +0100, Oliver Burger a écrit :
> > First: there is no ldap-extension in the package, since I don't know
> > ldap.
> > Second: the src.rpm creates two rpm packages, a normal mediawiki
> > package and our multilingual one.
> > We should somehow patch it so that normal mediawiki uses its own user
> > registration tool and authentification while the mageia multilingual
> > one should use catdap for registration and ldap for authentification...
>
> Well, that's something that do not requires patching, as when the wiki
> was choosed, ldap authentication was on the required feature list.
No ldap-support itself doesn't need patching, it's just an extension
to add and some
configuration strings in LocalSettings.php that have to be set after
installation and
initial mediawiki setup.
But shouldn't we use identity.mageia.org instead of mediawiki's own registration
tool? Or can this be done by configuration in LocalSettings.php?
blingme told me in webteam meeting yesterday he could help.

> What is the planned url ?
> http://wiki.mageia.org/$code/ ?
I think, the planned URL was "http://wiki.mageia.org/<langcode>", I
think it's the one
people will go to automatically.
>
> > - my bash script has to be run once for creating the database
> > template, note:
> > my scripts are using a database naming schema of "prefix_<langcode>",
> > the template is called "prefix_template1.
>
> This would be imho clearer to use mediawiki_<langcode>. We do have
> several application in the server, so it is easier to find who is who.
The "prefix" can be chosen in the script as you wish. I personally would use
"mediawiki_<langcode>" myself.
>
> Also, why is the script in /var/www/ if it is not intended to accessed ?
> Wouldn't /usr/bin be a better location ?
>
> > - mediawiki's setup procedure has to be run once for creating the
> > LocalSettings.php file. As database name enter the name of the template
> > database. At the end of LocalSettings.php you have to add a line
> >       include 'LocalSettingsChanges.php';
>
> If there is something to run after installation, it should be in the rpm
> documentation ( not that people do read it, but at least we can tell
> them this is there ).
Will do. I will create another rpm today with the ldap extension and
some changes.

>
> I also think you should show the spec to shikamaru, as he will ikely
> complain about "apache-mod_php" that prevent to use nginx :p
I was just reusing the old Mandriva mediawiki src.rpm but I will show
it to him...

> I personally would prefer to have our setup separated from the main
> package. I maybe was not clear when we discussed about that, sorry. I
> guess I will reuse your work for the setup still ( once I finish to
> deploy forums ).
You mean two src.rpms? No problem, can be done. I just thought it
would be easier
this way, both flavors do use the same source code after all.

Oliver


More information about the Mageia-sysadm mailing list