Re: [Wikitech-l] What namespaces should we use when we use them

2014-06-25 Thread Tyler Romeo
: Wikimedia developers > Date: June 25, 2014 at 4:16:38 To: 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

Re: [Wikitech-l] What namespaces should we use when we use them

2014-06-25 Thread Antoine Musso
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-na

Re: [Wikitech-l] What namespaces should we use when we use them

2014-06-24 Thread Gergo Tisza
On Tue, Jun 24, 2014 at 2:30 PM, Bryan Davis wrote: > 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

Re: [Wikitech-l] What namespaces should we use when we use them

2014-06-24 Thread Tim Starling
On 25/06/14 07:30, Bryan Davis wrote: > 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-namespa

Re: [Wikitech-l] What namespaces should we use when we use them

2014-06-24 Thread Jack Phoenix
On Wed, Jun 25, 2014 at 12:30 AM, Bryan Davis wrote: > Chris initially chose `MWOAuth` but later amended to use > `MediaWiki\Extensions\OAuth` at my suggestion. > > [...] > I suggested MediaWiki\Extensions\OAuth because it seems like the most > natural naming to me. +2. Abbreviations are mostly

[Wikitech-l] What namespaces should we use when we use them

2014-06-24 Thread Bryan Davis
Chris Steipp submitted a patch add namespaces to the OAuth extension [0] in order to fix a compatibility issue with HHVM [1]. This change led to a bit of bikeshedding on the proper namespace to use for the extension. Chris initially chose `MWOAuth` but later amended to use `MediaWiki\Extensions\OAu