mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-12-01 03:16:45 +00:00
f121c39613
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 |
||
---|---|---|
.. | ||
TemplateStylesContentHandlerTest.php | ||
TemplateStylesContentTest.php | ||
TemplateStylesFontFaceAtRuleSanitizerTest.php | ||
TemplateStylesHooksTest.php | ||
TemplateStylesMatcherFactoryTest.php |