registration: Allow custom prefixes for configuration settings
authorKunal Mehta <legoktm@gmail.com>
Sun, 23 Aug 2015 22:56:59 +0000 (15:56 -0700)
committerTTO <at.light@live.com.au>
Thu, 3 Sep 2015 12:44:46 +0000 (12:44 +0000)
commit17a41f9277061f045e5c2081e41d668deb04f995
tree4369ec082c5e974124a9c235ff60d7c4dd1a60b4
parent4b7ba45d0c20609fc376b081ae80810e8d6e88d4
registration: Allow custom prefixes for configuration settings

Allow extensions which are using "$eg" or any other prefix to migrate.

Extensions can override the default of "wg" by setting a magic "_prefix"
key in the "config" object.

Note that the migration helper script will not be able to automatically
migrate custom-prefixed configuration settings.

Bug: T97186
Change-Id: I79203cd5e3a2405b92ad01da869de3bd3d359d19
docs/extension.schema.json
includes/registration/ExtensionProcessor.php
tests/phpunit/includes/registration/ExtensionProcessorTest.php