wiki.techinc.nl/tests/phpunit/unit
Kevin Israel 1636c24306 Don't add $wgExtraNamespaces to $wgCanonicalNamespaceNames
This fixes a bug experienced by jawiki users in which overriding names
of extension namespaces (e.g. "モジュール・トーク") would unexpectedly
also override extension-provided canonical names (e.g. "Module talk").

Pretty much the only Wikimedia-deployed code that reads the config
variable directly is NamespaceInfo::getCanonicalNamespaces(), which
already takes into account $wgExtraNamespaces, so this should be OK.

Bug: T314013
Change-Id: Icd3405c02886651f8e4ec87f6d66783314c1024b
2022-07-28 08:23:41 -04:00
..
documentation Merge "Add composer releasenotes command" 2021-12-23 17:43:34 +00:00
includes Don't add $wgExtraNamespaces to $wgCanonicalNamespaceNames 2022-07-28 08:23:41 -04:00
languages Add structure test for Messages*.php files 2022-06-16 03:09:39 +00:00
linker Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
maintenance Runner: Handle more params in runner. 2022-06-13 16:10:51 +00:00