https://bugzilla.wikimedia.org/show_bug.cgi?id=45031
--- Comment #15 from Ori Livneh <[email protected]> --- (In reply to comment #14) > Why can't you register the CanonicalNamespaces hook in the normal way? Why > does it need to be deferred? Because there are several things that need to be executed on the target configuration wiki, not just the namespace registration, and it seemed neater to have the activation logic be all in one place rather than sprinkled in multiple places. I suppose I could aggregate it all in the CanonicalNamespaces hook handler, though that looks a bit odd. > $wgExtensionFunctions is meant to be as late as possible in the setup > process, I think it's too late for adding namespaces. Well, OK, but in that case why have the hook at all? If namespace registration shouldn't be deferred, the only interface for adding namespaces should be adding entries to $wgCanonicalNamespaceNames. -- 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
