Support conditionally registered namespaces in extension.json
Closed, ResolvedPublic


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

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

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.