[Pkg-mediawiki-devel] Multisite install - what about DB updates?

Thorsten Glaser t.glaser at tarent.de
Mon Jun 3 14:01:05 UTC 2013

On Sat, 1 Jun 2013, Michael Gissing wrote:

> OK, but I can't find how the .deb handles this. Packages like
> mediawiki-extensions-openid don't have any scripts at all. How does apt
> perform the update after installing a new version/extension?

Not for MediaWiki at all, right now. In FusionForge, we use a trigger:

In the latter, the upgrade_mediawikis shell function calls the
update.php script (with --quick) once per each target Wiki.

I seem to remember being told by MediaWiki people that the
upgrade process picks up (enabled) extensions automatically,
and IIRC, I saw a table being created after enabling one and
running update.php, once.

> But I don't understand how it works when extensions are installed. It just
> triggers changes in /usr/share/mediawiki/maintenance/postgres

Indeed, I changed that in EvolvisForge now.

tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-314
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Sebastian Mancke

More information about the Pkg-mediawiki-devel mailing list