[Pkg-mediawiki-devel] Fwd: Re: MediaWiki tarballs and the WMF

Chad innocentkiller at gmail.com
Tue Jun 12 10:52:05 UTC 2012


On Tue, Jun 12, 2012 at 3:37 AM, Thorsten Glaser <t.glaser at tarent.de> wrote:
> On Mon, 11 Jun 2012, Platonides wrote:
>
>> How are extensions there loaded?
>
> mediawiki-extensions-base ships /etc/mediawiki-extensions/extensions.php
> which includes all enabled ones, and is included by the standard MW as
> patched in Debian.
>
>> Note:
>> http://anonscm.debian.org/viewvc/pkg-mediawiki/mediawiki-extensions/trunk/sbin/mwenext?view=markup
>> should also run update.php in case the new extension needs extra tables.
>
> Hm. How does update.php cope with disabling and enabling extensions
> often? I’m enabling a lot of them in the metapackage we use at work,
> and disabling them before uninstalling/upgrading just to enable them
> again thereafter.
>

update.php can be run as often as you need. It does need to be run
every time MediaWiki or its extensions are upgraded or a new
extension is added. No need to run it at uninstallation time (nothing
new will happen--any custom tables/fields added by an extension
will continue to exist in your database).

-Chad



More information about the Pkg-mediawiki-devel mailing list