Support conditionally registered namespaces in extension.json
Closed, ResolvedPublic

Description

Some extensions (e.g. EventLogging) conditionally register a namespace depending upon the wiki's configuration using the CanonicalNamespaces hook. Since the "namespaces" key automatically registers the namespace, we should have an option to not register it and let the extension take care of that manually using the hook.

Legoktm created this task.Jul 29 2016, 8:07 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 29 2016, 8:07 AM

Change 301751 had a related patch set uploaded (by Legoktm):
registration: Support conditionally registered namespaces

https://gerrit.wikimedia.org/r/301751

Change 301751 merged by jenkins-bot:
registration: Support conditionally registered namespaces

https://gerrit.wikimedia.org/r/301751

Florian closed this task as Resolved.Jul 29 2016, 8:53 PM
Florian added a subscriber: Florian.

This is now possible by adding a "conditional": true to the namespace definition.

Change 361199 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[mediawiki/core@REL1_27] registration: Support conditionally registered namespaces

https://gerrit.wikimedia.org/r/361199

Change 361199 merged by jenkins-bot:
[mediawiki/core@REL1_27] registration: Support conditionally registered namespaces

https://gerrit.wikimedia.org/r/361199