https://bugzilla.wikimedia.org/show_bug.cgi?id=45031
--- Comment #13 from Ori Livneh <[email protected]> --- (In reply to comment #12) > Setup.php line 530 doesn't seem very early to me. Why are namespaces being > added after that? Usually, early initialisation problems affect > LocalSettings.php. The CanonicalNamespaces hook handler is registered in a $wgExtensionFunctions[] function. It's a pattern I started with EventLogging. Possibly an anti-pattern. Yuvi uses it in UploadWizard and Yuri uses it in ZeroRatedMobileAccess and Molly uses it in BookManagerv2. It has possibly spread to another extension in the time it took me to write this comment. I don't think there's a reason for UploadWizard or BookManagerv2, since these two extensions are either wholly enabled or disabled; they don't branch on the wiki name. EventLogging and ZeroRatedMobileAccess are different: the extensions are active on multiple Wikimedia wikis but select a specific wiki to house the configuration namespace for the entire cluster. (It's metawiki in both cases, but EventLogging also enables the Schema namespace on test2wiki.) The wikis on which the extra namespace is activated are specified via configuration variables. I'm game for cleaning it up if it's bad pattern. How should this be done? -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
