Page MenuHomePhabricator

Extensions should be able to define a configuration option as "public"
Closed, ResolvedPublic

Description

With the current idea of having a special page (like Special:Configurations) to be visible by everyone, this requires, that there's a way to hide options, that shouldn't be visible in the public. Instead of having an option, that allows extension developers to _hide_ options, @Legoktm and I agreed, that a better way is to require extension developers to explicitly define the a configuration as "public". So, there should be a way of doing this, e.g. by adding a new property to the config object in extension.json:

"config": {
  "myCoolConfiguration": {
    "value": "defaultValue",
    "public": true
  }
}