Jump to content

Topic on Manual talk:Extension registration

How to make site-specific changes to an extension's configuration *Without* touching extension.js?

2
Summary by Berot3

e.g. with $wgMyExtVarname = 'site-specific value'; in LocalSettings.php.

Otheus (talkcontribs)

There is also no documentation on the PHP code corresponding to the config section for version 2. The reader is left to experiment.

Samwilson (talkcontribs)

(I assume you mean 'extension.json'.)

You change extensions' config values the same way in version 2 of the extension.json schema, e.g. with $wgMyExtVarname = 'site-specific value'; in LocalSettings.php.