[00:00:06] gadget is not possible because it can't do this stuff [00:00:13] What kind of stuff are we talking about [00:00:14] how you connect to irc using a gadget? [00:00:20] or multiple wikis at once [00:00:20] you don't need to [00:00:43] ok how you parse the recent changes in real time, without using irc? [00:01:21] also is it possible to make a request queue? [00:01:35] easy, one thing at a time. [00:01:40] huggle is threaded [00:01:42] ok [00:01:46] let's start with irc [00:01:49] no [00:02:26] so as you might have heard. IRC sucks for data transmission. It's 1 string, anything but machine readable friendly and almost no wiki has it (other than wmf and wikia). [00:02:34] On the short term: API polling gives you JSON packages or XML [00:02:45] but it's slow [00:02:48] I know [00:02:54] there's more [00:02:58] only reason why people use huggle is a speed [00:03:14] * Krinkle is not confinced [00:03:35] https://www.mediawiki.org/wiki/Requests_for_comment/Structured_data_push_notification_support_for_recent_changes [00:03:53] You subscribe to one or more channels in that, and you've got the best of IRC and the API combined [00:03:56] and it works from the web [00:04:00] (client side) [00:04:01] who guarantee us that if we make an extension it will be deployed? [00:04:16] I could, but one other thing [00:04:17] I don't want to spend year programming something what is never going to be used [00:04:27] You say a gadget is not an option because one can't connect to IRC from javascript [00:04:29] that's truye [00:04:34] but how are you going to do it in the WA [00:04:48] people don't run user Huggle from the PHP shell right? [00:04:48] we have apache server and we can do whatever we want... so it's not problem [00:04:53] they are going to get HTML/JS/CSS in the browser [00:05:07] same issue, can't connect to IRC from the browser [00:05:16] it's even possible I create a background daemon to parse irc and create local cache in fs [00:05:22] php just parse it from there [00:05:42] no, server would be connected to irc [00:05:47] obviously [00:05:49] no need to use browser for that [00:05:54] so how is it going to get in the browser in real-time? [00:06:30] php ajax html5 java maybe e.t.c [00:06:32] I suppose that everytime user make an action it would need to reload the page, so they would get fresh rc after any action [00:06:42] or that [00:06:50] Exactly, you're going to use front-end technology to communicate to a server that parses it [00:06:51] the way I see it it is very simple [00:07:03] and that's exactly what can be done from anywhere, including a gadget [00:07:07] the simplest version possible would be to do this [00:07:20] server connects to irc and does what bhuggle currently does [00:07:23] so all you need to host elsewhere is the irc-proxy-ajax [00:07:34] check each edit and decide where in a list of edites to check it should be put [00:07:51] user logs into the web aplication [00:07:57] loads a page with the dif on, and buttons [00:08:08] click button, on clicking buttons actions happen and the next diff is loaded [00:08:15] e.t.c [00:08:30] each edit could be put in a DB to show what users reviewed the edit e.t.c [00:08:36] api to make edits and rollbacks [00:08:45] done [00:08:51] By building it in mediawiki (or on top of mediawiki) you can for example do an ajax request for rollback via the API (user is logged in, POST requests to the API are allowed) [00:08:53] then from there make it look nice and add mroe features [00:09:05] Krinkle, it will use the api [00:09:13] but you can't do rollbacks from another domain [00:09:15] it will use the api to get post login logout rollback [00:09:32] I see now reason why they would need to be [00:09:38] the rollback can be done from the users machine [00:09:50] Nope [00:10:05] ? [00:10:10] That would be a security whole, if I can build a website, point you to it and you'd be doing rollbacks without knowing [00:10:28] nah [00:10:33] rollbacks require login, and login only works via AJAX when request origin is the same domain [00:10:33] web server can act as huggle does [00:10:47] and asking user credentials is not allowed [00:10:55] who said that? [00:11:02] huggle already ask user for credentials [00:11:02] Krinkle you can request from the api to see if a user is logged in [00:11:12] yes, but now Huggle runs on the local machine [00:11:22] what is difference [00:11:33] server is going to be managed by huggle devs [00:11:37] addshore: no you can't. if you make an request from the browser to the API from another domain, the API treats you as an anonymous user [00:11:43] also i could point you to huggle currently and you could be doing rollbacks without you knowing [00:11:50] and huggle devs could already implement password logged to huggle if we wanted [00:11:55] * logger [00:12:01] it's not going to be less secure [00:12:03] petan: Sure, but that's the user's rusk [00:12:04] risk* [00:12:12] By installing the application [00:12:16] using browser version could be same risk [00:12:19] same risk will apply to the web appolication? [00:12:30] maybe, but it would be stored on a wikimedia server [00:12:38] however I believe oauth will be installed sooner than such an extenion would be [00:12:42] I don't think the policy allows that, neither does Toolserver. [00:12:48] however [00:13:00] but even if it would allow that, just for the sake of argument. Why would you want to do that, if you can just as easily do it from the same domain for real [00:13:01] I had the idea with extension too, and I like it [00:13:24] as a gadget. Basically anything you do in HTML/CSS can be done as a gadget. And the ajax requests can go from the gadget on-wiki to wmflabs to get the data [00:13:34] but then I was thinking of all the pain which comes with that, when community person like me, try to change something what needs to be done by wmf [00:13:35] so the logic would be on wmflabs, and the UI in a gadget on wikipedia [00:13:43] it's almost impossible from my experience [00:13:44] (not an extension) [00:14:18] this process is completely broken, I am not the only person who say it [00:14:41] you can't just come and say, guys I made a cool extension, install it to wikipedia, and boom it's done [00:14:56] it need to pass community (almost impossible) [00:15:06] it needs to pass the wmf devs (even harder) [00:15:09] Sure, I've heard that. and that's unfortunate, but I can't change that. And I agree. [00:15:14] So what about a gadget [00:15:34] I would never start working on extension if it wasn't already approved by either wmf and community [00:15:35] it's perfectly fine to have the proxy and the logic on labs. [00:16:03] gadget has too many limitations for us... I guess [00:16:05] then the UI on wikipedia, using the API from within the browser. (much faster as well, instead of going to server and server goes to wikipedia and then back again) [00:16:14] it would be nice to make a gadget as third option [00:16:19] petan: The logic isn't going in the gadget [00:16:21] like very "lite-huggle" [00:16:22] the logic is on the server [00:16:34] twinkle is gadget [00:16:40] the only thing in the gadget would be what you're planning to put in the HTML/CSS/JS [00:16:44] I don't believe we can make anything better than twinkle in gadget [00:16:46] the PHP can stay on labs [00:16:52] Yes you can [00:17:26] you know how hg work? [00:18:00] it's multithreaded, it parses the feed in one thread, load content of diffs in another thread, and display content in another... how this could be done using java script? [00:18:42] even if it was possible to somehow put the functionality of huggle to gadget, it would be extremely slow, and some functions could be never implemented there [00:19:20] I don't know how Huggle works, but I don't have to. I know for a fact that anything you can do from a web app that you plan to do on labs, can be done as a gadget. The only difference is this: [00:19:52] instead of having PHP output initial HTML and have javascript do requests to the server, you'd have the gadget build the HTML and make ajax requests to wmflabs [00:19:53] s [00:21:37] eh [00:21:41] I don't get it [00:21:53] you mean there would be a gadget which someone interact with labs? [00:21:58] Sure [00:22:00] * somehow [00:22:13] Exactly [00:22:32] ok describe it step by step [00:23:06] there is mediawiki which can't be touched much, it's managed by wmf, then there is webserver we can control... what is where [00:23:24] gadget on mediawiki... does what? [00:24:04] So, so just to make sure I understand what you are planning with Huggle WA, and then I'll map it to what I have in mind [00:24:37] User goes to huggle.wmflabs.org (or another domain that points to the same public IP); User logs in with their wiki credentials and hits "Go". [00:24:44] Server gets request does it's thing and outputs the UI [00:24:55] then javascript goes and gets information real-time [00:25:14] user can get diffs, do stuff. those go as request to the labs server, which then uses the user login and makes that request through the API [00:25:15] I don't know if it's going to work like this [00:25:15] etc. [00:25:18] we want to use sql db too [00:25:21] sure [00:25:26] but this is the general idea, right? [00:25:46] I think it would be best if we created a session for each user who is logged in, maybe even using oauth in future, where would be oauth token only [00:26:05] web application should work totally same as huggle [00:26:10] using same api's etc [00:26:17] yes, but then wmf needs to have oath first. but the login is a minor part of the app [00:27:01] it download user configuration, set up layout based on that, then it show the queue of diffs, and when someone click on diff, it dowloads it using api, and show [00:27:29] I believe oauth is going to be deployed sooner than such extension would be [00:27:50] so to map that concept to what I have in mind: user is logged into en.wikipedia.org and has a preference enabled. They go to Special:Huggle (or whatever) and the gadget detects that and builds the html framework. Then it makes an ajax request to huggle.wmflabs.org requesting the latest stuff. And goes on exactly like you would otherwise. [00:28:10] in fact there is idea to login to many project at once [00:28:17] so you get a feed of multiple wikis [00:28:23] it's for crosswiki spam etc [00:28:26] no problem [00:29:15] there is one [00:29:57] getting the queue for multiple wikis is a challenge, but that's not related to the gadget. that's related to the PHP backend. The front-end doesn't have to be external and not doing so would most definitely save a lot of bandwidth and development time. [00:30:05] I am a c# programmer like addshore I know some php basics, but nothing about html or javascript, Iworld who came with this, knows css html and php, maybe little bit javascript. If we move this to javascript only, in gadget, who is going to create it? [00:30:09] I'd be willing to help as a CVN developer. [00:30:31] ok, but you would be likely only dev who could work on that [00:30:32] and am an expert in front-end development and know a fair bit of PHP. No C# [00:30:44] petan i know c# vb.net php java html css sql [00:30:55] java or javascript? [00:31:03] both ;p [00:31:03] because we are talking about gadget only [00:31:05] ok [00:31:11] well, you're gonna need front-end developers for Huggle WA either way. Wether the UI is on labs or as gadget is a really minor difference. [00:31:11] then adam help you too [00:31:18] ewww gadget [00:31:19] xD [00:31:56] Either way, most of the logic will be on Labs in PHP. [00:31:57] Krinkle: I think you should find out wheter it's possible using gadget, maybe community just say: remove it from our wiki [00:32:10] That's the great thing about javascript [00:32:11] gadget is little bit like extenion [00:32:14] * extension [00:32:16] No it's not [00:32:17] not at all [00:32:26] It doesn't have to be hosted on wikipedia.org [00:32:31] at some point, people could complain because it's directly in wiki [00:32:39] the gadget file could be on labs and users just put importScriptURI in their mono book.js [00:33:09] that makes it slightly harder to install than the original idea, but ok [00:33:37] some people have no idea what monobook.js is [00:33:43] but I think it's still ok [00:34:06] The only advantage to having the gadget .js on wikipedia instead of elsewhere is that users can very easily enable it from the preferences [00:34:16] that would be better [00:34:42] if you're assuming the sysops don't trust Huggle, then why most certainly will not allow the gadget, neither the extension, nor will they ask for the wiki to be added by a Steward to the Huggle set [00:34:55] the assumption that the gadget is allowed should be default, otherwise there's no point. [00:35:16] however again, I can't help here, only thing I know about java script is that it sounds like a motocycle... so you should either check if it's really possible and if yes, convince Adam and IWorld to switch to that [00:36:00] I can help with various c++ daemons runnig in background, caching stuff etc [00:36:23] but javascript and layout goes beyond my knowledge [00:36:40] I can help to manage the instances on labs... [00:37:24] I know that it's possible because I've build various gadgets like it in the past [00:37:36] it used interaction to toolserver.org instead of labs though, but that's fine. [00:37:48] addshore what you think [00:37:59] sorry iv missed most of this [00:38:07] trying to deal with an on wiki article atm [00:38:14] delete it [00:38:19] ?Action=delete [00:39:04] damn almost 2 am [00:39:19] haha [00:39:25] quick question for you [00:39:29] right this article is about the film [00:39:33] not the movement [00:39:34] so the opening [00:39:35] Kony 2012 is a campaign started by Invisible Children Inc and the subject of an eponymous viral video.[2][3][4] The movement's purpose is to make Joseph Kony, a Ugandan war criminal, known to the world, for his successful arrest within the year 2012.[5] [00:39:39] is shit? :) [00:39:44] yes [00:39:54] care to re word it for me? :P [00:40:18] oh it's written by you? I think it's well written then [00:40:26] no, not written by me [00:40:29] :D [00:40:30] ok [00:40:47] Krinkle: you should start a talk on wikitech related to this [00:41:13] maybe we could find more devs who could help [00:42:26] ponymous viral video.[2][3][4] 3 references for viral video :D [00:42:35] xD [00:43:52] http://etherpad.wikimedia.org/WorT2b8qpR [00:43:55] Krinkle: in fact it's a good idea, but I am afraid lot of community would be against it [00:43:56] Very rough sketch [00:44:05] petan: Why would the community be against it? [00:44:11] it's a difference between installing stuff to your pc, and installing it to wiki itself [00:44:15] for them [00:44:17] I mean [00:44:25] some people on wikipedia are weird [00:44:26] It would be a lot less work [00:44:48] yes [00:44:55] for the user [00:44:58] I know [00:45:02] for user who wants to use it [00:45:20] but user who doesn't like huggle and use wikipedia would likely be against touching it [00:45:39] I know what some people think about huggle on wiki [00:45:50] why does it bother you that a user who doesn't like Huggle isn't going to touch it? [00:46:03] I mean touch wiki, not huggle [00:46:17] if there would be anything what needs to be approved by community, we fail [00:46:34] It makes no difference wether a user is going to install an application and do whatever Huggle offers him, or install a gadget and do the same. [00:46:41] yes I know [00:46:47] but regular people see it different [00:46:51] The end result in what's visible on-wiki is the same [00:47:04] did you check my extension for online status [00:47:20] and the great thing (also where most cross-site secure breaches originate from btw), is that it doesn't require anyones consensus [00:47:22] I created it because people were changing their userpages everytime when they logged in [00:47:26] it sucked [00:47:54] people were already doing it, no difference, it would be either done using extension, or by editing a page [00:48:12] but lot of people were against it, just because my way, was changing the code of wikipedia [00:48:49] Users can put this line into their common.js just to try it out. Or you could even make a preload template and point them to Special:Mypage/common.js?action=edit§ion=new&preload=Wikipedia:Huggle/load_gadget.js&editnotice=Wikipedia:Huggle/load_gadget_editnotice (which says "Just click save") [00:49:17] petan: Even the whoisonline extension could be entirely done as a gadget, saving to a wiki user page [00:49:18] via the API [00:49:38] but I created the extension to avoid touching the content pages [00:49:45] yes, because that's nicer [00:49:46] I agree [00:49:52] but as a proof of concept, it's nice [00:49:55] anyway, off-topic [00:50:12] I was trying to point to that, people are against changing anything on wikipedia [00:50:15] any change is bad [00:50:21] wikipedians are conservative [00:50:38] that isn't relevant to the Huggle gadget stuff [00:50:53] it's not a change for anyone who does not specifically enable it [00:51:11] that was same with my extension, and still people didn't like it [00:51:42] Then it might have been presented wrongly, I don't know but that's another story and this isn't an extension [00:51:55] maybe you are right but I think we should make a wider research before we start something big what fail because of something stupid [00:52:26] what kind of research ? [00:52:30] I create gadgets every week [00:52:36] at least we could start a talk on wikitech, maybe someone point us on some problem [00:52:45] ok [00:53:09] if u are sure it's going to work, you can of course make it, I am happy to help you, but I don't know if I can [00:53:23] because I don't know java script a bit [00:53:34] well I know for sure I am not going to have time or ability to create a php-framework to do whatever Huggle app does [00:53:59] But anything specific to the gadget I can help with [00:54:14] ok but how is gadget going to use the php framework? [00:54:21] and as you may or may or not realize at this point, wouldn't make a difference for the backend implementation. [00:54:24] to get the feed? [00:54:34] javascript = javascript [00:54:42] gadget = load a bunch of javascript and css [00:55:03] whatever method you're going to use to get the feed in the browser window on huggle.wmflabs.org can be used in a gadget [00:55:15] hm, ok [00:55:59] I think the performance at least could be problem because gadget can't work with threads, while I was told that php can do it [00:56:14] php doesn't run in the browser [00:56:29] I was thinking of putting requests to queue instead of running them straight [00:56:33] gadget (javascript) is not the mirror part of php, it's the mirror part of html [00:56:46] so that someone could rollback diff and load another one in parallel [00:56:49] you can use threads all you like on the server [00:56:51] etc [00:57:14] if you know a way to do multi-thread stuff on huggle.wmflabs.org in the browser then you can do it in a gadget as well [00:57:18] however neither is possible [00:57:32] no I was thinking of doing it on server [00:57:48] then the problem is solved [00:57:59] ok let's give it a try, I need to sleep [00:58:10] late in eu [00:58:11] I'll write to wikitech :) [00:58:13] ok [00:58:20] I'm on a nightshift [00:58:26] addshore: ?action=delete ;) [00:58:33] fix it! [00:58:34] awake from 5PM to 7AM [00:58:38] hm... [00:59:16] haha [00:59:23] but you go sleep after that. I have to wake up at 7am [00:59:31] :) [00:59:45] what timezone are you in? [00:59:49] gmt+1 [00:59:54] 2 am [00:59:54] me too [01:00:02] France? [01:00:05] Germany? [01:00:08] czech [01:00:10] ok [01:00:18] Netherlands here [01:00:22] I know [01:00:25] oh I don't [01:00:36] you aren't Roan :D [01:00:40] indeed [01:00:51] heh [01:01:27] tommorow [01:01:27] alrighty, sleep well :) [01:01:37] or, today [01:01:39] bye [09:58:37] Krinkle: so what is a plan now? [09:58:57] Good morning ;P [09:59:05] heh [09:59:33] check mail [09:59:41] it seems we are going to have support from wmf [09:59:57] that could solve the credentials issue [10:00:26] if there are going to be some wmf devs they could enable some auth on side of sul [10:04:50] btw Krinkle you have a google mail? [10:05:14] we are not going to use wikimedia until git is working [10:10:53] * Krinkle is catching up with a lot of stuff - brb [10:11:54] Iok [10:13:01] addshore: you around? :P [10:13:26] I would like to know if there is any plan how we gonna work on it now [10:14:02] !pad [10:14:26] !note is http://etherpad.wikimedia.org/Huggle [10:14:26] Key was added! [10:17:58] Krinkle: reply there [11:50:49] Hi [11:58:23] petan|wk, i will be back in 2 hours or so [12:19:01] * IWorld is working on a better, Wikimedia like style :D [12:45:48] IWorld: stop pls [12:45:57] Why? [12:46:01] there is discussion that we maybe implement it as a gadget [12:46:09] Krinkle started it [12:46:10] oh? [12:46:14] :-( [12:46:40] so I don't know how are we going to make it now [12:46:51] actually I don't know anything and Krinkle left few minutes ago [12:47:04] ... [12:47:18] Where is the discussion? [12:47:22] I think it's better to stop working on it, because maybe we just do it all otherwise [12:47:26] in logs [12:48:15] Huggle WA is an external tool... [12:48:26] We have many other tools.. [12:48:33] ..as a Gadget [12:48:40] sec [12:49:58] petan|wk: like that: http://en.wikipedia.org/wiki/File:LupinAntiVandalTool.png [12:51:26] IWorld: ask krinkle [12:51:31] read log [12:51:36] If we are developing Huggle WA as a gadget, we have limited functions [12:51:39] no [12:51:46] he say we can do all we want as gadget too [12:52:18] we compared it and he said it's ok [12:52:51] I do not.... [12:52:56] read log [12:53:06] ... [12:55:47] Then maybe I will not be there... [12:58:04] @ petan|wk: If we are developing huggle WA as a gadget, we needn't an svn, a labs project,... [13:07:01] IWorld: someone move a manual to meta? [13:07:02] why [13:07:27] @ petan|wk: we can develop a Gadget, too. (Like: Huggle Gadget) [13:07:28] IWorld: read log [13:07:32] ... [13:07:40] I need to go now [13:07:49] It wasn't my goal. [13:07:59] this all was answered by krinkle [13:08:21] It should not be a gadget. [13:08:34] I will talk with him. [13:49:39] ok [13:58:54] !pad [13:58:57] !note [13:58:57] http://etherpad.wikimedia.org/Huggle [13:59:04] addshore [13:59:13] what u think [13:59:14] yo [13:59:18] will check in a sec [13:59:22] nweed to get my fish fingers [14:01:09] meh [14:01:29] ok [14:30:34] jljojij [14:30:41] so? [14:30:48] sfjalfjaj [14:30:55] someone here [14:31:10] check it [14:35:22] No, nobody is here. [14:38:25] I am [14:38:26] soery [14:38:27] xD [14:42:38] looking good so far [14:42:59] and im halfway through [14:44:27] I'm not glad. [14:45:45] your not glad? :P [14:45:51] are you being mr oposite today? [14:47:07] perhaps ;) [14:47:45] question is if someone is able to work on it [14:48:04] as I know krinkle if he's going to be only dev for this, it may take few years for it to happen [14:48:20] I don't know java script a bit [14:49:04] well I will hapilly work on the very back end and the very front end [14:49:21] UI and php backend [14:50:21] addshore: I created + - on !note [14:50:35] ?? [14:50:50] so we can make a list of good and bad stuff on gadget / php version [14:51:13] addshore: I can only work on very back in case of gadget [14:51:37] IWorld: that list is for you [14:51:44] if there is any problem note it there [14:51:50] !note [14:51:50] http://etherpad.wikimedia.org/Huggle [14:52:00] I don't want to hear: "I don't want this because I don't like" [14:52:05] I want to know why [14:53:02] ahh [14:53:38] petan|wk: Huggle as widget is fast?? [14:55:43] the second is php version [14:55:48] first is gadget [14:55:58] ? [14:56:18] you reading the list of php version [14:56:26] there is * fast [14:56:50] there are two versions [14:56:53] gadget and php [14:57:00] both have + and - [14:57:07] ah [14:57:07] you are reading + of php [14:57:11] aaah [14:57:53] Can we create the 3rd project "Huggle Gadget (HGG)"? :D [14:58:46] why [14:58:51] read it [14:58:53] first [14:59:06] you didn't insert any reason why is gadget bad so far [14:59:54] you didn't insert any reason why is gadget bad so far [15:00:05] I want to develop the external and gadget version. [15:02:46] huh? [15:02:57] it's either external or gadget [15:03:01] which one [15:03:18] i think external would be better [15:03:22] less limitations [15:03:24] reasons [15:03:29] please note it there [15:03:33] Krinkle will need to see it [15:03:35] I don't care [15:03:45] if we should decide [15:03:51] we need to have + and - [15:04:33] addshore: krinkle say there are no limitations in gadget [15:04:39] if he is true [15:04:44] your argument isn't valid [15:05:13] my statement is: if we make external I can help a lot [15:05:23] if we make a gadget I can do backend only [15:05:31] ah [15:05:36] i have no idea about making gadgets [15:05:42] same [15:05:52] addshore: if u know js it may be easy for you to understand it [15:06:00] I don't know js [15:06:08] I am not going to learn it any soon time [15:06:15] Do we need js [15:06:29] I was always an application programmer, binaries etc [15:06:34] IWorld: for gadget yes [15:06:39] oh [15:06:40] for external likely [15:06:41] yes [15:06:44] we need it for both [15:06:56] I know [15:07:07] external is like few js, gadget is only js [15:07:20] ??? [15:07:30] I mean gadget is only js [15:07:34] o.O [15:07:42] there is not going to be much js in external wa [15:08:02] and I don't know js a bit, so regarding gadget, I can't do much [15:08:16] IWorld: if anything is not clear, tell me what [15:08:41] petan|wk: do you like the idea about the gadget version? [15:08:47] I don't care [15:08:52] I want to see + and - for both [15:08:56] then I decide what is better [15:09:07] ok [15:09:14] if gadget has more + than external then I am happy to use it [15:09:20] same for other version [15:09:24] ah [15:09:37] but before we start working on that we need to decide how we are going to do that [15:11:02] I like it would remove the auth problem on gadget very much [15:11:17] it's likely going to be problem to implement login part [15:11:52] unless we get some new function for that on side of wmf [15:11:57] oauth or open id [15:12:17] in first place we need to decide which version we are going to work on [15:12:25] then we can handle rest [15:17:26] IWorld: read the whole page please [15:17:33] krinkle said we would use labs even for gadget [15:17:48] ok ok [15:18:24] also little bit of java script doesn't really sound like advantage [15:18:33] what is good on that? [15:19:01] try to look on this as regular user of huggle [15:19:12] what benefit for user is that we don't use js? [15:19:17] regular user doesn't care about [15:19:58] ah [15:21:02] How we can check the user login on Huggle WA? [15:22:42] hardly [15:22:56] in external it's complicated we need to discuss it with wmf [15:23:01] in gadget it's simple [15:23:16] to login [15:23:24] ? [15:23:30] context :)\ [15:23:50] well [15:23:56] But on the external Huggle WA, we have endless CSS/Canvas options. [15:24:07] login is the right bitch [15:24:08] meh [15:24:31] I think krinkle would say css isn't limited in gadget, which is probably true [15:24:58] Gadgets using the WMF style [15:25:04] they don't need to [15:25:27] Krinkle was pointing to that gadgets can actually do exactly what we need [15:25:49] it's possible to create a whole interface using that [15:25:59] hmmm [15:25:59] you only need to know how to work with css and js [15:26:38] --> http://www.mediawiki.org/wiki/Extension:OpenID [15:28:04] Can we use the TS for HGwa? [15:28:09] ts? [15:28:10] Then I have an idea. [15:28:12] why [15:28:12] toolserver [15:28:15] yes but whats your idea? [15:28:16] for? [15:28:31] labs do have db access just as ts [15:28:40] ah [15:28:44] haha :p [15:28:45] I am wondering what ts offer and labs not :) [15:29:02] petan|wk, do labs offer replicated wiki dbs? [15:29:19] yes [15:29:26] deployment prep contain whole simple wiki [15:29:37] Users can get her md5 hash for the password on wikipedia (or so). Then there can enter the md5 in HGwa. We need only compare the hash. [15:29:38] labs.wikimedia.beta.wmflabs.org [15:29:45] when was db added to labs? [15:30:01] Platonides: oh right, it wasn't, but I suppose it's going to happen very soon [15:30:24] until then we can create a some kind of access through TS, but I would prefer to stay in labs [15:30:39] well, you don't have access to users passwords in TS either [15:30:44] nor are you allowed to ask for them [15:30:46] indeed [15:31:03] oh [15:31:08] with replicated dbs in labs, we could easily check if the provided password is right, but i'm not sure if we would be allowed [15:31:17] surely not [15:31:26] but at some point the application could be managed by wmf [15:31:32] deployed to prod [15:31:37] like hg.wikimedia.org [15:31:44] How we can get the WMFproject session? [15:31:45] if source was reviewed by wmf dev [15:32:06] they could just deploy it to production and attach to SUL somehow [15:32:06] hg.wikimedia.org looks like a mercurial repository [15:32:12] ah [15:32:12] :D [15:32:19] huggle.wikimedia? :P [15:32:31] what actions would people do from huggle? [15:32:32] we can always use hg.wikiquote or something like that XD [15:32:42] xx.wikipedia.org/huggle is probably better [15:32:47] petan|wk: Do you see me? [15:32:53] as you can use the wiki session [15:32:54] Platonides: my point is as long as it's managed by wmf there is no security risk [15:33:00] IWorld: yes [15:33:05] :) [15:33:15] petan|wk, sure [15:33:18] petan|wk: do we can use the WMF session? [15:33:19] IWorld: but I don't know what you mean [15:33:24] but wmf won't be developing it [15:33:25] what is it? [15:33:36] Platonides: did you read mail from sumana? [15:33:38] the login session of wikipedia (or so) [15:33:51] Platonides: even if they weren't they can review the source and operate it [15:33:54] petan|wk, yes [15:34:12] but I don't think they would be pushing it [15:34:15] only reason why we can't use SUL db, is that we aren't considered trustworth [15:34:33] if it was operated by wmf, and they would review the code, it could use SUL [15:34:46] Platonides: I don't think it too :) [15:34:58] but it's just another idea [15:35:02] to handle login [15:35:26] Which? [15:35:28] and answer to IWorld [15:35:32] why we can't use sul [15:35:51] IWorld: we can't use session of SUL [15:35:56] I just explained you that [15:36:00] what we could do is to start it coupled to deployment-prep session [15:36:07] ah [15:36:12] Platonides: what? [15:36:35] working with deployment-prep wikis for testing, instead of the real ones [15:36:51] Platonides: I would rather properly discussed with other, including wmf the login options we have and then decide [15:37:03] before that we need to pick if it's going to be gadget or not [15:37:12] in case of gadget we don't need to handle login [15:37:25] petan|wk: and what's the problem with that: https://en.wikipedia.org/w/api.php?action=query&format=jsonfm&meta=userinfo&uiprop=editcount|preferencestoken? [15:37:28] Platonides: I am definitely not about to test it on live wiki ;) [15:37:50] IWorld: ? [15:37:52] https://en.wikipedia.org/w/api.php?action=query&format=jsonfm&meta=userinfo&uiprop=editcount|preferencestoken&requestid=COPY%20THE%20LINES%20BELOW%20%28Ctrl%2BA%20then%20Ctrl%2BC%29 [15:38:00] what you mean? [15:38:14] point [15:38:28] Using can paste there pref token into the login field. [15:38:30] you mean to use api? [15:38:44] IWorld, that's dangerous... [15:38:46] no please :D [15:39:03] if they do it with us, why not with evilwikipediatool.com ? [15:39:08] I don't want there "go to api?fGFdsgD.gA?Gadfg and copy the weird long text to this field" [15:39:23] Does MediaWiki have a session token? [15:39:28] yes, we can't use it [15:39:35] or, we can... [15:39:47] ...use the gadget? [15:39:50] look [15:40:03] in first place we need to decide if it's going to be external or gadget [15:40:17] until then, we don't need to bother with this [15:40:47] ok [15:41:24] I am willing to discuss options for login with some wmf people, but it's has low priority now [15:41:44] okay [15:41:47] Platonides: can you join the discussion on !note [15:41:50] !note [15:41:50] http://etherpad.wikimedia.org/Huggle [15:42:13] Platonides: we need + and - why we should use gadget or not [15:42:39] petan|wk: can we edit pages with the gadget? [15:42:48] EDIT, no rollback [15:43:00] IWorld, sure [15:43:01] yes [15:43:08] maybe it could be mixed [15:43:20] external and gadget? [15:43:26] an app communicating with a gadget, which is providing the login [15:43:29] Krinkle said that gadget can do everything so, if it's true his point makes a lot of sense [15:43:35] right [15:43:39] if we make the backend [15:43:48] yes, krinkle said it would be mixed [15:43:51] both the gadget and our own frontend would be able to talk to it and do stuff [15:43:55] did anyone read the page? [15:43:57] or logs? [15:44:02] !note [15:44:02] http://etherpad.wikimedia.org/Huggle [15:44:04] read it whole [15:44:05] I'm thinking, the gadget could just load the external page in an iframe [15:44:16] petan, I've read the ehterpad [15:44:23] no need to repeat it [15:44:23] Platonides: obviously that's in etherpad already ;) [15:44:27] ok [15:44:44] Krinkle want to fetch irc from labs server and display it in iframe or using AJAX [15:44:58] right, he meant ajax [15:45:03] it's likely better [15:45:04] hmm [15:45:27] so that it would get JSON from our server with data for feed and refresh it like every 5 second [15:46:13] so, every Huggle client floods the server [15:46:20] why [15:46:34] it wouldn't be worse that external version [15:46:40] ah [15:46:43] external would eat more resources than this [15:47:03] Can we use a gadget for authentication? [15:47:07] also the feed would be written by c by me, it would be very fast [15:47:12] * in c [15:47:28] IWorld: gadget doesn't need to login [15:47:40] in gadget you are already logged in [15:47:51] so this step is completely out [15:47:51] hm [15:48:14] What's the benifits in the external version? [15:48:22] Platonides: what is your opinion on gadget [15:48:42] from performance point of view [15:49:17] I am afraid that gadget would be slow [15:49:24] +1 [15:51:51] addshore: ? [15:51:52] why slow? [15:51:57] because it has no cache [15:52:05] external version would preload diffs to fs [15:52:14] then it would read the parsed diff from /tmp [15:55:23] in fact on external version would be a lot of daemons on backround caching most of stuff [15:55:27] so it's going to be fast [15:56:00] And that's an important point. [15:56:52] really we need a full plan of both before we can compare properly [15:56:58] yes [15:57:05] i dont really understand the requirments of a gaget [15:57:11] neither I do [15:58:49] Can I create a table in testwiki? [15:59:19] what [15:59:21] which one [15:59:29] table? [15:59:31] for? [15:59:33] :O [15:59:36] porn [15:59:40] o.O [15:59:40] this is a shit place to talk about this [15:59:47] so un structructed [15:59:50] heh [15:59:51] :P [15:59:54] *unstructred [15:59:57] A table to compare the external in gadget version. [16:00:06] just put it on wiki wiki [16:00:12] :P [16:00:25] and somewhere to put of structured questions answers e.t.c [16:00:30] and this for chit chat [16:00:36] then we can build up and overall plan [16:00:40] with headings [16:00:48] and stuff :P [16:06:55] !note [16:06:55] http://etherpad.wikimedia.org/Huggle [16:06:58] addshore: ^ [16:06:59] :P [16:07:23] but etherpad sucks :P [16:07:25] why [16:07:33] I like it [16:07:35] :D [16:07:43] I can play XO game [16:07:44] there [16:07:53] oh gawd :s [16:08:14] huggle.wmflabs.org is slow?!?! [16:08:20] what [16:08:27] http://huggle.wmflabs.org/wiki/Huggle_web/Table [16:08:36] I don't know [16:08:40] wait [16:09:01] petrb@hugglewiki:~$ uptime 16:08:54 up 1 day, 17:40, 1 user, load average: 0.26, 0.14, 0.04 [16:09:07] load 0.2 [16:09:12] should be ok [16:10:22] ah [16:11:22] it is really slow [16:11:28] whats the load on the db server? [16:11:33] it's on same box [16:11:34] :D [16:11:38] hmm [16:11:42] i need to setup my ssh access [16:12:36] Can I commit my new style? [16:13:42] (of Huggle WA) [16:14:09] try now [16:14:15] addshore: I fixed it [16:14:19] should be fast [16:14:29] IWorld: yes [16:14:31] what was up? [16:14:35] memcache [16:14:38] yep thats better [16:14:41] wmf is using wrong port [16:14:49] or different port [16:14:50] :D [16:14:53] 11000 [16:15:23] hmm http://wmflabs.org/ wont work for me [16:15:55] of course [16:16:00] don't use it [16:16:03] +1 [16:16:23] wait, where is the pplace i go to to put my public key in? :P [16:17:06] ahh labsconsole [16:18:35] petan|wk: Parse error: syntax error, unexpected T_PUBLIC in /var/www/trunk/includes/main.php on line 67 [16:22:15] IWorld: sec [16:23:22] fixed [16:23:29] wait 7 min :) [16:24:04] ok [16:26:06] Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' [16:26:11] ok [16:26:13] line [16:27:08] petan|wk, for ssh what should i be connecting to? [16:30:41] first, ssh bastion.wmflabs.org [16:31:33] and then, ssh huggle.wmflabs.org I guess [16:31:44] ssh hugglewiki :P [16:31:59] oh wait [16:32:04] where? [16:32:06] seever refused my key :< [16:32:06] addshore [16:32:12] because you aren't on access list [16:32:16] you want to hugglewiki? [16:32:31] well i just want to loginto ssh for wmflabs first :P [16:33:27] petan|wk, any tips? [16:33:43] > ssh bastion.wmflabs.org [16:33:53] can you get there? [16:34:17] no [16:34:23] server refuses my key [16:34:28] done [16:34:45] I am meant to put my public key on the key list on the labsconsole right? [16:34:46] addshore: did u upload your key to nova? [16:35:12] the key will look like ssh-rsa AAAAB3Nza... [16:35:29] oh, i need to format it in such a way? [16:35:58] ubuntu way [16:35:58] :P [16:36:23] whats the uuntu way? D: [16:36:25] * addshore cries [16:37:08] addshore, what are you using for connecting? [16:38:04] piutty [16:38:42] you generated the key with puttygen, right? [16:39:06] there's an option in the menu to save it in openssh format [16:39:09] that's what you want [16:39:27] ... [16:39:31] * addshore hates life [16:40:57] right [16:41:00] lets try this [16:41:47] hmm refused again [16:41:57] oh wait [16:42:00] thats not my public key [16:42:02] oh ffs [16:57:15] petan|wk: do you like my new style? [17:00:52] yes [17:01:43] linky? [17:07:15] Why you need linky, addshore? [17:08:50] addshore: hg.wmflabs.org/beta [17:09:12] to seeee [17:09:14] IWorld: because he wants to see it [17:10:43] ah [17:10:51] addshore: brb 2h [17:10:52] linky, the IRC bot? [17:10:57] what? [17:11:02] thats not a brb [17:11:04] linky = link [17:11:06] :D [17:11:07] ok [17:11:12] lol Iworld [17:11:13] xD [17:11:35] What we take? External or gadget? [17:11:47] IWorld: no idea [17:12:00] we need to properly discuss it [17:12:04] brb 2j [17:12:05] 2h [17:12:07] :D [17:12:12] Can we vote? [17:12:22] I would rather discuss than !vote [17:12:29] okay [17:12:31] cu [17:12:46] we should get reasons why yes or no, then decide waht is better [17:12:55] ah [17:13:16] right now I don't have much opinion on that [17:13:16] Speed is an important point [17:13:32] ok I need to go now [17:13:39] bye for 2h [17:13:39] I am in work and I want to home [17:13:42] :D [17:13:51] it's likely going to be 1h only [17:13:57] ah [18:01:55] back [18:28:03] re petan [18:29:10] The current theme is cool. :-) [19:35:51] petan: do you are here? [19:41:39] Please let the commads. [19:43:23] *comments in the Huggle WA html source [19:51:47] petan: we have 2 options for the login: 1) we use the Huggle CA login technology 2) we use an api or token [20:51:22] Bye