On Fri, Mar 20, 2015 at 3:09 PM, Chad <[email protected]> wrote:
> On Fri, Mar 20, 2015 at 12:51 PM Bryan Davis <[email protected]> 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
-- 
Bryan Davis              Wikimedia Foundation    <[email protected]>
[[m:User:BDavis_(WMF)]]  Sr Software Engineer            Boise, ID USA
irc: bd808                                        v:415.839.6885 x6855

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to