I don’t think there’s any need to impose a naming requirement for extension
namespaces. Some vendors may choose to use their own namespace scheme.

In the end, as long as the namespace chosen is PSR-4 compliant, it should not
matter.
-- 
Tyler Romeo
0xC86B42DF

From: Antoine Musso <hashar+...@free.fr>
Reply: Wikimedia developers <wikitech-l@lists.wikimedia.org>>
Date: June 25, 2014 at 4:16:38
To: wikitech-l@lists.wikimedia.org <wikitech-l@lists.wikimedia.org>>
Subject:  Re: [Wikitech-l] What namespaces should we use when we use them  

Le 24/06/2014 23:30, Bryan Davis a écrit :
> I suggested MediaWiki\Extensions\OAuth because it seems like the most
> natural naming to me. PSR-4 [2] is very opinionated about namespaces.
> It requires a top-level (or vendor) namespace. I chose "MediaWiki"
> because ... MediaWiki. Beyond that sub-namespaces are optional, but
> the file system path from the base directory to the php file must
> match. Assuming that $IP is the base directory led me to suggest
> MediaWiki\Extensions\OAuth.

Hello,

Looks good to me =)

--  
Antoine "hashar" Musso


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Attachment: signature.asc
Description: Message signed with OpenPGP using AMPGpg

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to