[Wikitech-l] Regular expressions searching

2009-07-06 Thread Amir E. Aharoni
(Originally asked at [[Wikipedia talk:Searching]] and [[WP:VPT]].) Is there any existing way to search Wikipedia or MediaWiki in general using full-fledged regular expressions? Such as those found in Perl, PCRE, Python, JavaScript? I started writing a Perl program that uses Parse::MediaWikiDump,

Re: [Wikitech-l] Regular expressions searching

2009-07-06 Thread Andrew Garrett
On 06/07/2009, at 12:05 PM, Amir E. Aharoni wrote: 2. The info won't be up-to-date. Would it be too much to ask to search the database directly using regexes? Yes. We wouldn't allow direct searching from the web interface with regexes for two related reasons: 1/ A single search with the

Re: [Wikitech-l] Regular expressions searching

2009-07-06 Thread Amir E. Aharoni
On Mon, Jul 6, 2009 at 14:43, Andrew Garrett agarr...@wikimedia.org wrote: On 06/07/2009, at 12:05 PM, Amir E. Aharoni wrote: 2. The info won't be up-to-date. Would it be too much to ask to search the database directly using regexes? Yes. We wouldn't allow direct searching from the web

Re: [Wikitech-l] FlaggedRevs for Mediawiki.org?

2009-07-06 Thread Steve Sanbeg
On Thu, 02 Jul 2009 21:07:01 -0400, Chad wrote: All, I had this idea cross my mind earlier today, but I got so tied up in meetings that I couldn't sit down and write out a proper e-mail until this evening. I was curious as to whether we think FlaggedRevs might be of use to Mediawiki.org,

Re: [Wikitech-l] Regular expressions searching

2009-07-06 Thread Aryeh Gregor
On Mon, Jul 6, 2009 at 7:43 AM, Andrew Garrettagarr...@wikimedia.org wrote: Yes. We wouldn't allow direct searching from the web interface with regexes for two related reasons: 1/ A single search with the most basic of regexes would take several minutes, if not hours. It isn't

Re: [Wikitech-l] Regular expressions searching

2009-07-06 Thread Gregory Maxwell
On Mon, Jul 6, 2009 at 2:37 PM, Aryeh Gregorsimetrical+wikil...@gmail.com wrote: On Mon, Jul 6, 2009 at 7:43 AM, Andrew Garrettagarr...@wikimedia.org wrote: Yes. We wouldn't allow direct searching from the web interface with regexes for two related reasons: 1/ A single search with the most

Re: [Wikitech-l] Formatting links according to the wikiproject

2009-07-06 Thread Ahmad Sherif
but that would still match any interwiki URL containing .wikipedia.org/w, so theoretically false positives are possible. And it doesn't work in IE6.  Still, that's about the best you can do, I think. We make it strict to #bodyContent then :) #bodyContent a.extiw[href*=.wikipedia.org/w] { ...

Re: [Wikitech-l] secure slower and slower

2009-07-06 Thread Remember the dot
On Sun, Jul 5, 2009 at 8:19 PM, Steve Bennettstevag...@gmail.com wrote: Really? Personally, security is of no concern to my use of Wikipedia, but I guess I can imagine contexts where it might be. Theoretically, a man-in-the-middle attack could allow a malicious person to hijack your session

Re: [Wikitech-l] Regular expressions searching

2009-07-06 Thread Steve Bennett
On Mon, Jul 6, 2009 at 9:05 PM, Amir E. Aharoniamir.ahar...@gmail.com wrote: 2. The info won't be up-to-date. Would it be too much to ask to search the database directly using regexes? What's your use case? Obviously all the points below are valid and rule out directly regex searching on the

Re: [Wikitech-l] secure slower and slower

2009-07-06 Thread Steve Bennett
On Tue, Jul 7, 2009 at 11:47 AM, Remember the dotrememberthe...@gmail.com wrote: Theoretically, a man-in-the-middle attack could allow a malicious person to hijack your session cookies and take over your account. HTTPS makes this practically impossible. Yeah, and so what? OMG THEY MADE EDITS

Re: [Wikitech-l] secure slower and slower

2009-07-06 Thread Aryeh Gregor
On Mon, Jul 6, 2009 at 9:47 PM, Remember the dotrememberthe...@gmail.com wrote: Theoretically, a man-in-the-middle attack could allow a malicious person to hijack your session cookies and take over your account. . . . but even if it mattered a little (like if you had an admin account), nobody

Re: [Wikitech-l] secure slower and slower

2009-07-06 Thread Marco Schuster
On Tue, Jul 7, 2009 at 4:03 AM, Aryeh Gregor simetrical+wikil...@gmail.comsimetrical%2bwikil...@gmail.com wrote: But really -- have there been *any* confirmed incidents of MITMing an Internet connection in, say, the past decade? Real malicious attacks in the wild, not proof-of-concepts or

[Wikitech-l] Proposal: switch to HTML 5

2009-07-06 Thread Aryeh Gregor
HTML 5 is the up-and-coming version of the HTML standard, which supports all sorts of new and exciting features. For those who don't know about it, here's some background: Wikipedia article: http://en.wikipedia.org/wiki/HTML_5 Summary of major differences from HTML 4: