Page MenuHomePhabricator

$wgTemplateStylesNamespaces cannot be correctly set in LocalSettings.php
Closed, ResolvedPublic

Description

Attempting to set $wgTemplateStylesNamespaces in LocalSettings.php results in a broken setting

>>> $wgTemplateStylesNamespaces
=> [
     true,
     true,
   ]

This seems to be due to it using the default "array_merge" merge strategy where it should probably use "array_plus"

Event Timeline

Change 467718 had a related patch set uploaded (by Anomie; owner: Anomie):
[mediawiki/extensions/TemplateStyles@master] Upgrade extension.json to version 2 and add merge strategy for $wgTemplateStylesNamespaces

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

Change 467718 merged by jenkins-bot:
[mediawiki/extensions/TemplateStyles@master] Upgrade extension.json to version 2 and add merge strategy for $wgTemplateStylesNamespaces

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