--- Comment #2 from Brion Vibber <> 2011-01-22 02:16:01 UTC ---
The installer require()s extension files from within the
Installer::includeExtensions() method, so I think any reference to global
configuration variables directly in the extension file will fail.

Using a 'global' declaration before each global, or accessing them via
$GLOBALS, should resolve that, but I think most extensions that actually need
to be doing configuration setup at install time will be potentially affected.

In this case it's extra bogus because not having $wgResourceModules triggers a
fatal error with the array  += operator; most cases are probably just spewing
E_NOTICE whinging about undefined variables.

Now, if the point of including the extensions at this time is to get hooks set
up so it'll do the database installation, I don't think this is going to work
-- any changes to the global arrays will get wiped out... so the updater hooks
won't be there?

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to