[Pkg-mediawiki-devel] Re: mediawiki-toots

sean finney seanius at seanius.net
Fri Jul 29 15:21:36 UTC 2005


On Fri, Jul 29, 2005 at 09:36:56AM +0200, Andreas Tille wrote:
> >Well, as for now, I feel it more convenient to use the main mediawiki
> >installer that provides DB config.
> If I'm correct DB config common provides also a possibility to start
> a script (= the mediawiki installer).  I'll investigate a little bit
> into this topic for an other package and come back if I'd regard it
> as usefull also for MediaWiki.

yes, it does.  instead of running raw sql, you can place a copy/link
to your script in a specific location to let dbconfig-common to know
to run a script to install the database.  dbconfig-common will then
gather all the information for the user, write out its configuration
file (and other config files in the format you've requested such as
php format include files), and then will call the script, giving the
script the location of the main dbconfig-common config file for
said package.

if you're interested in dbconfig-common, i would highly recommend
taking a look at the "using dbconfig-common in debian packages"
document, which is located at:


which can give you an idea of some of the more advanced features.

> >dbconfig-common would be really more important when releasing a second
> >upstream to official debian, when it would be needed to handle some changes
> >for the DB upgrade.. If the installer from mediawiki doesn't do it..
> This would be an interesting application.

this is true, but you're missing out on half the fun if you're only
using it for upgrades :)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-mediawiki-devel/attachments/20050729/b882274c/attachment.pgp

More information about the Pkg-mediawiki-devel mailing list