HomePhabricator

Allow extensions to register additional namespaces in extension.json
8226bd40b182Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Allow extensions to register additional namespaces in extension.json

Extensions can register additional namespaces by setting the
"TemplateStylesNamespaces" attribte in their extension.json. This change is
analogous to Ia5d34cb78fa6af.

There isn't really a simpler way to do this here, as the config setting uses
namespaces as keys, while the attribute is using them as values. Furthermore,
keys with falsey values are ignored in the config setting, and attributes can't
use the same setting architecture, as array_merge_recursive doesn't maintain
numeric keys.

Bug: T200914
Depends-On: I9e62a02ed2044c847e9ab2dcdfab094001f88986
Change-Id: I2fa9b822ee39bcc5f95a293c8c4aad4d53ede30a

Details

Provenance
MGCheckerAuthored on Oct 18 2018, 1:32 PM
LegoktmCommitted on Jan 12 2019, 7:38 PM
Parents
rETSTc3b4da5cd192: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
References
refs/changes/16/468316/9
ChangeId
I2fa9b822ee39bcc5f95a293c8c4aad4d53ede30a