Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech
Re: [MediaWiki-CVS] SVN: [36018] trunk/extensions/TorBlock
 

Index | Next | Previous | View Flat


Simetrical+wikilist at gmail

Jun 8, 2008, 10:57 AM


Views: 269
Permalink
Re: [MediaWiki-CVS] SVN: [36018] trunk/extensions/TorBlock

On Sun, Jun 8, 2008 at 6:48 AM, <werdna[at]svn.wikimedia.org> wrote:
> +// Define new autopromote condition
> +define('APCOND_TOR', 'tor'); // Numbers won't work, we'll get collisions

Speaking of which, is there any reason for us to ever use named
constants like APCOND_TOR rather than just strings? This isn't C,
after all. I think it would be wise to deprecate such things for the
future and just use strings, arrays of them if necessary, as with
wfMsgExt() and similar. (Although in this particular case a named
constant might be better, to be consistent with the
already-established core conditions.)

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

Subject User Time
Re: [MediaWiki-CVS] SVN: [36018] trunk/extensions/TorBlock Simetrical+wikilist at gmail Jun 8, 2008, 10:57 AM
    Re: [MediaWiki-CVS] SVN: [36018] trunk/extensions/TorBlock tstarling at wikimedia Jun 8, 2008, 7:50 PM
        Re: [MediaWiki-CVS] SVN: [36018] trunk/extensions/TorBlock Simetrical+wikilist at gmail Jun 11, 2008, 2:09 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.