
dan_the_man at telus
Jun 6, 2008, 8:25 PM
Post #3 of 3
(304 views)
Permalink
|
|
Re: TorBlock to specific, why not create a SimpleTor Extension?
[In reply to]
|
|
Yes, I know that I did read the code. But installing TorBlock just to get Tor related features in another extension doesn't really fit. ~Daniel Friesen(Dantman) of: -The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools subgroup (http://wiki-tools.com) --Games-G.P.S. (http://ggps.org) -And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) Andrew Garrett wrote: > On Fri, Jun 6, 2008 at 5:45 PM, DanTMan <dan_the_man [at] telus> wrote: > >> But basically what I'm saying is, just like how we have SimpleRegex >> which is used by two or more of the Regex based extensions, It would be >> nice if half of TorBlock was cut out into a SimpleTor extension which >> would handle the basic parts of identifying Tor nodes. Then we could >> make features in other extensions depend on SimpleTor and use it's >> shared functionality to build those checks in. >> > > Read the code, please. > > The TorBlock extension has a method TorBlock::isExitNode( $ip = null > ), where null means the current IP. All features can be disabled with > configuration settings. The TorBlock extension, as it exists, already > accomplishes this goal. > > > _______________________________________________ Wikitech-l mailing list Wikitech-l [at] lists https://lists.wikimedia.org/mailman/listinfo/wikitech-l
|