[02:40:44] hello [16:06:45] ping guillom [16:06:54] yep Platonides [16:07:39] could you look if the accounts noted in https://bugzilla.wikimedia.org/show_bug.cgi?id=27172 were indeed created from the urls that were exempted? [16:09:30] Platonides, you mean checkusering http://pt.wikibooks.org/w/index.php?title=Especial:Registo&dir=prev&offset=20110214154525&limit=6&type=newusers&month=&year , right? [16:11:40] yep [16:11:43] ok [16:23:06] Platonides, yes, they were created from one of those two IPs. [16:23:53] Platonides, ah, no, nm [16:23:55] lemme check [16:24:32] yes, they were created from one of those IPs [16:24:36] sorry about that [16:30:04] Hoi guillom ... I understand you are in charge of changes to the WMF blog. Is that correct ? [16:30:35] GerardM-, well, sort of. Depends on what you want :) [16:33:07] I want to ask you a number of questions ... to be used on my blog [16:33:26] is that ok ? [16:34:01] Can you send me your questions by e-mail? I'm working on a deadline. I promise to answer them next week at the latest. [16:34:15] Unless they're really short questions. [16:35:10] questions can be short ... it is you who answers them [16:35:19] yes I will send them by mail [16:35:30] ok; you know my address, I believe? [16:40:57] i do [16:42:21] ok [16:44:49] guillom you have mail :) [16:44:54] 10 questions [16:45:05] OK. I'll do my best. [16:45:45] I saw a new extension for account creation on the blog today [16:46:26] GerardM-, these are good questions, and I have answers for most of them already. I'll get back to you next week. [16:46:38] Thanks [16:46:55] is somebody here related with it? [16:47:32] akshayagarwal, try howief, when he joins. [16:47:33] i needed to talk about it since my GSoC project related with it [16:47:42] ok guillom [16:47:56] alolita: Eating a late dinner so might be late for the AFT standup [16:48:21] RoanKattouw: ok [16:48:34] when will you join in [17:08:17] Nowish [17:15:55] RoanKattouw: why does wikieditor have body.rtl foo bar like rule? [17:16:32] Still getting this: [17:16:32] Notice: Did not find alias for special page 'ArticleFeedback'. Perhaps no aliases are defined for it? [Called from SpecialPage::getTitleFor in /Applications/MAMP/htdocs/SVN/mediawiki/trunk/phase3/includes/SpecialPage.php at line 263] in /Applications/MAMP/htdocs/SVN/mediawiki/trunk/phase3/includes/GlobalFunctions.php on line 3312 [17:16:48] on trunk + AFT on [[Special:ArticleFeedback]] [17:16:55] Nikerabbit: No idea, ask Trevor [17:17:26] and <message-key> in the thead [17:17:48] Looks like it's working pretty well though. nice job TrevorParscal [17:35:50] Bah Alolita left [17:38:32] mwahaha wikimania submission in place: http://wikimania2011.wikimedia.org/wiki/Submissions/Editing_2.0:_MediaWiki%27s_upcoming_visual_editor_and_the_future_of_templates [17:39:57] Whee [17:41:32] \o/ [17:41:39] *RoanKattouw lists self as interested [17:41:45] whee [17:43:29] Dammit [17:43:36] guillom: I edit conflicted with you on adding Brion's talk [17:43:40] hah [17:43:43] hehe [17:43:47] I'm adding more [17:43:48] And I didn't get a conflict message because our edits were identical [17:44:09] It's great to see so many talks though [17:44:16] Even if many of them are last-minute :) [17:44:33] Trevor and I are now halfway down the list, and we only submitted like 24 hours ago [17:44:40] hah [17:45:14] yeah i actually saved the page at the end of the day yesterday but got a captcha right as i got dragged into a meeting [17:45:22] Yes, I'm happy with the eventual turnout. [17:45:24] so didn't actually submit the page until this morning ;) [17:45:58] RoanKattouw, everybody waits for the last minute :) [17:46:20] mmm [17:46:25] I had drafts for weeks, but didn't clean them up until yesterday. [17:47:44] k, dinner time [17:49:14] i need a good title for my wikimania thing. [17:50:01] What's it about [17:50:27] I should remind me I'm flaky, I pretty much won the best title competition last year and lost it this year :) [17:50:37] *remind you [17:52:35] well, i want to talk about gratitude systems and identity. [17:53:34] Why We Hate the Like Button? [17:53:43] We like the like button. [17:53:50] but you're onto something there. [17:53:53] Oh, whatever [17:53:54] some people want a hate button :) [17:54:08] And I think jorm hates the Hate button [17:54:21] I hate the hate button. [17:55:59] "Why I want to Facebook-ize Wikipedia" [17:56:16] or something else that's sufficiently drama-inducing. [17:56:25] Did you see my title from last year? [17:56:45] Oh right, I remember, you /were/ in Gdansk last year [17:56:50] I get confused over when you joined sometimes [17:58:24] I'm just going to call it "Identity, Reputation, and Gratitude." [18:00:44] nice [18:01:06] heh http://wikimania2011.wikimedia.org/wiki/Submissions/Stroopwafels [18:01:40] Damn right! [18:10:50] RoanKattouw, do you know if we already have some dead-easy way to slap a typeahead search (preferably limited by namespace) onto an input field? [18:11:02] https://bugzilla.wikimedia.org/show_bug.cgi?id=28740 <- uploadwizard needs to standardize the category suggestion [18:11:23] where's my netbeans.... *slow java launch whee* [18:11:38] Steal the code from SimpleSearch and add the namespace param? [18:11:43] Or something like that [18:12:06] We have a generic suggestions framework in $.suggestions but that's flexible with regards to the data source [18:12:19] Still, writing an AJAX request to action=opensearch and parsing the result isn't hard [18:12:39] (You probably don't want all the weird edge features in SimpleSearch, like the "containing..." stuff) [18:13:05] likely yes [18:13:14] need something geared more to selection probably [18:13:20] brion: tl;dr version: framework is in resources/jquery/jquery.suggestions.js , example usage (beware of advanced features) in extensions/Vector/modules/ext.vector.simpleSearch.js [18:13:37] hmm the link dialog in wikieditor, doesn't it have a typeahead suggester? [18:13:40] that might be a better model [18:13:41] The suggestions plugin basically gives you a suggestions box with mouse and arrow controls and all that [18:13:45] Yes, that uses the same thing [18:13:48] +1 [18:13:54] so, i'm not going to speak up much louder than this little whisper right here, but I know java pretty well. someone was asking about that the other day. [18:13:56] It just has fewer overrides for advanced featurse [18:14:00] And possibly a different data source [18:14:21] jorm, how much do you feel like working on our lucene search engine? :D [18:14:32] I have a reasonable knowledge of Java, acquired through my school forcing it on me [18:14:45] i will work on it if no one else can. [18:15:04] \o/ [18:15:20] i'm not a super java expert, but i did fiddle with the lucene stuff between river & rainman [18:15:35] I could also work on Lucene if asked [18:15:57] Although for reasons of availability I probably shouldn't for the next 2 months or so [18:16:06] a question that could be asked is, however: why? if we are thinking about MediaWiki.next, do we want a java search for that? [18:16:23] Those things are hardly related [18:16:28] .next is about editing experience [18:17:25] Your point that we may not want to have a Java search forever is valid [18:17:34] Although I don't think it's that bad [18:17:49] It's an existing search framework, and I see no reason why Java is a particularly bad language for it [18:18:10] We're neither full nor completely devoid of Java programmers, but the same is true for C/C++ [18:19:55] There are languages that no one knows, such as Ruby, then there are languages a few of us know, such as Java and C++. The only languages practically all of us know are PHP and JS [18:20:23] The second category sounds perfectly appropriate for a search server. I mean you aren't realistically gonna write it in PHP or JS :) [18:20:28] ruby's nothing.... that ocaml code nobody wants to touch ;) [18:20:41] RoanKattouw, there actually is a PHP implementation of Lucene in the Zend framework ;) [18:20:45] but i think it's pretty slow [18:20:48] erlang, dude. [18:20:54] Oh gosh [18:20:56] heh [18:21:03] troofax: sendmail was almost rewritten in erlang at one point. [18:21:32] i'm just glad the Gnome guys didn't follow through their original plan to create the entire desktop environment in Scheme [18:21:56] ohgeeze. [18:21:59] Come to think of it, I'll be doing Java, C, C++, PHP and JS all at the same time during the next two months [18:22:05] there was a window manager written in scheme a long time ago. [18:22:26] yeah they actually shipped that with gnome for a long time, i think it was like the last scheme component :) [18:22:32] C++ for my thesis (related to image processing), C for my operating systems practicals, and Java for my compiler construction practical (write a compiler for a simple functional language) [18:23:31] and there was talk of writing one in javascript. brendan asked me if there would be interest in such a thing, as they were doing the run-up to the mozilla source release. [18:24:31] also, here's this: http://wikimania2011.wikimedia.org/wiki/Submissions/Identity,_Reputation,_and_Gratitude [18:28:05] well gnome shell is mostly javascript if i recall... which actually pleases me more than scheme :D still has closures at least, and doesn't look as freaky [18:58:59] RoanKattouw or anyone who has experience with maintenance scripts - i need to perform three separate, yet related tasks via maintenance (pull some data out of a database, do some voodoo on it, put new data into the database). is it preferable to write three separate maintenance scripts, or one maintenance script with options to execute one, two or all of the different tasks at run time? [19:03:22] awjr, which kind of voodoo? [19:03:44] 1 and 3 could be done with already available export & import scripts? [19:28:12] Eww, the AFT data is very sparse today [19:36:15] Do'h [19:36:18] Config mistake [19:37:42] RoanKattouw: what was the mistake? [19:39:29] - 'show' => 50, [19:39:31] - 'hide' => 50, [19:39:32] + 'track' => 50, [19:39:34] + 'ignore' => 50, [19:39:43] Both percentage configs had show/hide [19:39:49] But one of them should've had track/ignore [19:40:00] doh [19:40:12] next time im not just copy/pasting what trevor sends me :-/ [19:41:02] hah [20:01:24] Is there any way to pass parameters into an iframe? [20:01:45] it seems the parameters get stripped [20:02:08] (doing it via javascript is also totally acceptable, if that works) [20:06:53] Parameters? [20:07:00] Do you mean attributes, data, URL params, what? [20:07:15] example.org/?a=123 [20:07:31] ?a=123 seems to get stripped [20:07:40] In the iframe's src attr? [20:07:43] yep [20:07:47] That's strange [20:07:51] agreed [20:07:57] It most definitely should not happen [20:08:09] Where does it get stripped, roughly? [20:08:17] Like, is it in the HTML but not in the request that ends up being sent? [20:08:27] did you ever get an account on my test wiki for openstack? [20:08:33] if so, I can show you :) [20:08:43] No, I didn't [20:08:44] it's in the HTML, but not in the request sent [20:08:45] URL? [20:08:52] http://nova-controller.tesla.usability.wikimedia.org/trunk.1/Main_Page [20:08:56] lemme make you an accont [20:09:16] Right, I can't create one [20:09:18] what username you want? [20:09:52] Catrope [20:10:43] shell account also catrope, right? [20:10:47] Yes [20:10:55] sent via email [20:12:11] Alright. logged ni [20:12:26] go to "manage instances" in the sidebar [20:12:36] and click "get console" for either of the instances [20:13:13] You must be a member of the sysadmin role to perform this action. [20:13:19] *Ryan_Lane groans [20:13:19] sec [20:13:33] try now [20:13:35] Also, this wiki should really support HTTPS [20:13:41] yeah [20:13:50] this isn't the production version [20:14:03] I can add a self signed cert, I guess [20:14:34] [20:14:44] ugh, odd [20:14:44] Is in the HTML [20:14:50] sec [20:14:53] maybe you need another role [20:15:28] try now [20:16:20] http://nova-controller.tesla.usability.wikimedia.org:8000/?token=CENSORED 401 Not Authorized [20:16:25] yep [20:16:30] Firebug claims the param went through [20:16:45] take the url, and open it in another window or tab [20:16:57] ha [20:17:05] Oh [20:17:12] Cross-domain restrictions? [20:17:17] ahhhhh [20:17:18] likely [20:17:20] iframes should allow cross-domain though [20:17:27] But if at all possible, run those two on the same port [20:17:41] I can't [20:17:53] I guess I could try reverse proxying it [20:17:58] Sucks that LiveHTTPHeaders isn't compatible with FF4 [20:18:31] I guess I don't necessarily need to use an iframe [20:18:49] You should also add a trap in the remote script to verify it's executed [20:18:58] It probably does get executed but without cookies or something [20:19:16] cool. I'll take a look at that [20:19:47] The first thing you want to determine is if the browser blocks the request, or if it comes through [20:19:59] My suspicion is it does come through [20:20:03] it does [20:20:10] I checked the request on the server side [20:20:22] unfortunately the logging isn't wonderful [20:20:23] Now try to find out as precisely as possible why it's returning 401 [20:20:43] Missing/bad token, missing/bad cookie, who knows [20:20:44] I'll add some logging to the proxy service [20:20:53] Maybe it's validating the referer, I don't know [20:21:14] that would be annoying [20:21:39] I'm just guessing [20:22:10] What's returning the 401 BTW? A script? A proxy server? Something elsE? [20:22:27] proxy server [20:22:32] well.... [20:22:37] it's a proxy service to ajaxterm [20:22:41] it could also be ajaxterm [20:26:04] Right [20:27:16] looks like the referrer could be the issue [20:56:45] \o/ [20:56:59] I made it print a stracktrace instead of just a stupid "Not Authorized" string [20:57:10] KeyError: 'token' [20:57:22] the token somehow isn't making it to the proxy request [20:58:00] there's got to be some bug in the proxy [21:07:16] odd. the parameters sent are actually the parameters of the page, not the iframe [21:07:37] action, project, instanceid, title [21:08:00] RoanKattouw: ^^ any idea why that would occur? [21:09:23] wtf [21:09:30] exactly :) [21:09:38] That's totally crzy [21:09:42] I completely agree [21:09:44] What kind of proxy is in between, and why do you need it? [21:09:47] I don't understand it at all [21:09:58] Does the ajaxshell thingy run on another server or something? [21:10:01] the proxy is simply taking th web request [21:10:05] yeah [21:10:20] Is there any way you can bypass the proxy? [21:10:22] the proxy is getting the wrong params though, which means firefox is sending them incorrectly [21:10:31] Cross-domain restrictions should not matter for iframes [21:10:34] it's sending the params from the page, not the iframe [21:10:43] And as for getting the wrong params, I'll believe that when I see the HTTP req [21:10:50] *RoanKattouw curses LiveHTTPHeaders once again [21:10:56] I'm printing out the request [21:11:04] which is how I'm seeing the params sent [21:11:06] (I'm sorry, I'm just more skeptical of proxies than browsers) [21:11:18] I'm printing the params from the proxy [21:11:25] And it's not doing any referer manglign? [21:11:29] Cause the page params /are/ in the Referer [21:11:41] ah. maybe that's where it's screwing it up [21:12:03] ah ha. that's exactly it. lemme try something [21:19:41] seems this is a bug in the proxy service [21:19:48] it uses the referer to check for the token [21:20:16] the first request uses the request url, and subsequent requests use the referrer [21:20:45] since the return of the first request sets the referrer as the request url of the first request, which includes the token [21:27:17] \o/ [21:27:18] fixed :) [21:27:40] hi Ryan_Lane [21:27:44] https://translatewiki.net/wiki/Thread:Support/MediaWiki:Openstackmanager-needsysadminrole2/en [21:27:51] ah. cool. thanks [21:28:01] https://translatewiki.net/wiki/Thread:Support/MediaWiki:Openstackmanager-removerule-confirm/en [21:28:24] will fix :) [21:28:26] Sarissa is not defined [21:28:28] [Break On This Error] Sarissa.updateContentFromURI = function(sFromUrl, oTargetElement, xsltproc) { [21:28:30] sarissa_dhtml.js (line 38) [21:28:31] ajaxterm is not defined [21:28:33] [Break On This Error] t=ajaxterm.Terminal("term",width,height); [21:28:35] Is what I get when I navigate back to that page [21:28:48] RoanKattouw: it's breaking on you? [21:28:57] RoanKattouw: did you refresh, or re-get the console? [21:28:57] Oh nm [21:29:00] My session had expired [21:29:02] yeah [21:29:03] Working now [21:29:13] it's timed to 5 minutes if there isn't activity [21:29:23] of course I don't have the console itself working [21:29:39] but at least the ajax is loading, and is going back to the ajaxterm [21:29:58] back in a while [21:53:08] RoanKattouw: totally off-topic - how do you pronounce 'catrope' (eg 'cat rope'?) and if you dont mind my asking, where does it come from? [21:53:21] haha [21:53:27] Yes, it's cat - rope [21:53:35] As in animal - tying gear [21:53:52] i see i see [21:54:05] because you are a cat herder? [21:54:06] I got it by splitting my last name in two (Kat - touw) and translating both parts to English [21:54:12] ahha! [21:54:15] groovy [21:54:25] The name itself doesn't appear to have any meaning apart from also being the name of some town in Austria [21:54:35] where it's theorized my ancestors lived in the 1300s [21:54:47] awesome [21:55:25] thanks :D [21:58:56] heh nice [22:00:53] It's also the name of a district in a town in the Northern Netherlands, but that was found to be named after my family rather than vice versa [22:29:16] http://leuksman.com/log/2011/04/29/rich-content-embedding-for-the-web-time-for-oembed-2/