Re: [Wikitech-l] Html comments into raw wiki code: can they be wrapped into parsed html?

2012-12-29 Thread bawolff
On Sat, Dec 29, 2012 at 6:59 PM, Platonides wrote: >> Is there any sound reason to strip html comments away? If there is no sound >> reason, could such a stripping be avoided? Comments can sometimes be used to get XSS in unexpected ways (like conditional comments for IE). I think they're stripped

[Wikitech-l] "Big data" benefits and limitations (relevance: WMF editor engagement, fundraising, and HR practices)

2012-12-29 Thread ENWP Pine
I'm sending this to Wikimedia-l, Wikitech-l, and Research-l in case other people in the Wikimedia movement or staff are interested in "big data" as it relates to Wikimedia. I hope that those who are interested in discussions about WMF editor engagement efforts, WMF fundraising, or WMF HR prac

Re: [Wikitech-l] Time class in MediaWiki?

2012-12-29 Thread Brion Vibber
On Sat, Dec 29, 2012 at 6:41 AM, Nischay Nahata wrote: > I could find a method to covert a timestamp into the user preferred > timezone in the Language class; Looks like the wrong place to me. > Is there any other way (think global function) to convert to the user's > timezone and preferred format

Re: [Wikitech-l] Can we help Tor users make legitimate edits?

2012-12-29 Thread Platonides
On 28/12/12 18:29, Tilman Bayer wrote: > On Fri, Dec 28, 2012 at 1:26 AM, Sumana Harihareswara wrote: >> I've floated this problem past Tor and privacy people, and here are a >> few ideas: >> >> 1) Just use the existing mechanisms more leniently. Encourage the >> communities (Wikimedia & Tor) to u

Re: [Wikitech-l] Html comments into raw wiki code: can they be wrapped into parsed html?

2012-12-29 Thread Platonides
On 29/12/12 22:23, Alex Brollo wrote: > I'd like to use html comment into raw wiki text, to use them as effective, > server-unexpensive "data containers" that could be read and parsed by a js > script in view mode. But I see that html comment, written into raw wiki > text, are stripped away by par

Re: [Wikitech-l] Html comments into raw wiki code: can they be wrapped into parsed html?

2012-12-29 Thread Paul Selitskas
Perhaps, you chose the wrong approach. Dig in HTML5 data attributes, for examples. That's a better data interface between wikipage code and the View. You can then access them with $(selector).data() method. On Sun, Dec 30, 2012 at 12:23 AM, Alex Brollo wrote: > I'd like to use html comment into

[Wikitech-l] Html comments into raw wiki code: can they be wrapped into parsed html?

2012-12-29 Thread Alex Brollo
I'd like to use html comment into raw wiki text, to use them as effective, server-unexpensive "data containers" that could be read and parsed by a js script in view mode. But I see that html comment, written into raw wiki text, are stripped away by parsing routines. I can access to raw code of cur

Re: [Wikitech-l] Unit tests scream for attention

2012-12-29 Thread Bryan Tong Minh
On Sat, Dec 29, 2012 at 8:57 AM, bawolff wrote: > > When I used to run unit tests, there were quite regularly issues where > the unit tests assumed you had the default configuration, where they > really should not assume such a thing. (That was of course a while > ago, so things may have changed)

Re: [Wikitech-l] Gerrit reviewer-bot

2012-12-29 Thread Merlijn van Deen
Hi Nischay, On 29 December 2012 16:30, Nischay Nahata wrote: > I just received an email from this bot, unfortunately that was undesirable. > Its not necessary to cc the original author of a patch when adding a > reviewer, so is the case > when adding a reviewer manually. Gerrit notifies the patc

Re: [Wikitech-l] Gerrit reviewer-bot

2012-12-29 Thread Nischay Nahata
Hi, I just received an email from this bot, unfortunately that was undesirable. Its not necessary to cc the original author of a patch when adding a reviewer, so is the case when adding a reviewer manually. On Friday, December 28, 2012, Merlijn van Deen wrote: > Hello all, > > To add to the grea

Re: [Wikitech-l] Gerrit reviewer-bot

2012-12-29 Thread Merlijn van Deen
On 29 December 2012 01:08, Merlijn van Deen wrote: >> Could you make it so that I can subscribe to a file pattern, too? I'd like >> to be added as a reviewer to all patch sets that include files with i18n in >> the name (unless it's a patch set by L10n-bot). > This will take some work (because I h

[Wikitech-l] Time class in MediaWiki?

2012-12-29 Thread Nischay Nahata
Hi, I could find a method to covert a timestamp into the user preferred timezone in the Language class; Looks like the wrong place to me. Is there any other way (think global function) to convert to the user's timezone and preferred format? Also, is there any common script to do this in JS? With

[Wikitech-l] No access to the Uzbek Wikipedia in Uzbekistan

2012-12-29 Thread Anonymous User
bawolff wrote: > Wikimedia is a pretty big player. Has anyone from the foundation with > some sort of fancy sounding title called up the ISP in question and > asked "wtf?". The original email on wikimedia-l made it sound like the > issue is unintentional. Dear Bawolff, as far as I know no one f

Re: [Wikitech-l] Fwd: Re: [Wikimedia-l] No access to the Uzbek Wikipedia in Uzbekistan

2012-12-29 Thread bawolff
On Thu, Dec 27, 2012 at 7:35 PM, Marco Fleckinger wrote: > > > > Do we have one extra machine left. Then we could set up this as NAT-Router. > This will replace another machine if we do not have one extra IP left. The > original ports need to be forwarded to that then. > > Cheers > > Marco > > -

Re: [Wikitech-l] HTTPS Wikipedia search for Firefox - update?

2012-12-29 Thread Ryan Lane
On Fri, Dec 28, 2012 at 10:58 PM, Jeremy Baron wrote: > On Sat, Dec 29, 2012 at 6:52 AM, bawolff wrote: > > On Fri, Dec 28, 2012 at 1:50 PM, Ryan Lane wrote: > >> There's no change. We're still waiting on MediaWiki changes to occur > before > >> we switch logged-in users to HTTPS by default. > [