On Fri, Mar 20, 2015 at 3:09 PM, Chad innocentkiller@gmail.com wrote:
On Fri, Mar 20, 2015 at 12:51 PM Bryan Davis bd808@wikimedia.org wrote:
The color I have picked for this namespace bikeshed is MediaWiki\Core\Logger. The MediaWiki root namespace is a pretty obvious choice. "Core" is inserted to distinguish this fundamental MediaWiki functionality from any existing or future extensions that might use namespaces. I'm hoping "Logger" is sufficiently distinct from other uses of the term "log" in MediaWiki which generally mean "audit trail" rather than "debugging information". I'd be fine with throwing Debug in between Core and Logger too if consensus found for that instead.
MediaWiki\Core is a terrible name. Core is stupid and redundant and it's a terrible pattern I hate having encouraged.
Ok. Just MediaWiki\Logger then? In the last discussion there were many examples of reasons that an extension might use any random namespace root other than MediaWiki\Extension\Foo but we didn't try to set a standard for namespaces *not* to use. I think I've seen some extensions that used MediaWiki\Foo as their namespace.
Bryan