[Pkg-mediawiki-devel] Bug#703852: Bug#703852: [mediawiki] mw{en, dis}ext ineffective for new installs
Thorsten Glaser
t.glaser at tarent.de
Mon Mar 25 09:43:15 UTC 2013
tags 703852 + pending
thanks
On Sun, 24 Mar 2013, Filipus Klutiero wrote:
> The scripts mwenext and mwdisext are supposed to respectively enable and
> disable a MediaWiki extension. But this doesn't work anymore on new installs
> following
> http://anonscm.debian.org/viewvc/pkg-mediawiki?view=revision&revision=261
Oh.
> Although most of debian_specific_config.patch may have been merged the
> upstream, the last part hasn't. It is needed to load
> /etc/mediawiki-extensions/extensions.php, which is the basis of the extensions
> mechanism.
Thanks, added it back (for now, in SVN).
> I recommend that the snippet above be restored, but in system files rather
> than in LocalSettings.php. The snippet is necessary for the Debian
> mediawiki-extensions system to work, so it is not local configuration.
No, LocalSettings.php is the place this *must* go (which is also
the reason e.g. I didn’t notice it earlier, as the FusionForge
LocalSettings contain this inclusion) because it doesn’t use the
require_once statement. Adding it *also* in some other place
would include it twice, which *will* break existing installations,
both these where it’s part of the admin’s setup and these where
it’s part of the code (such as fusionforge-plugin-mediawiki).
Yeah, that’s sad.
Maybe we should note this in NEWS.Debian or something? jmw?
> By the way, the extensions list needs an update at least for Interwiki.
Which list, where?
Thanks,
//mirabilos
--
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