[00:27:57] hey Amgine, have you had a chance to run the latest wiktionary build? [01:42:31] TonyC_: Sorry, I was afk. [01:42:44] No, haven't had a chance. But my bot works! [01:42:51] mostly. [02:16:54] i was seeing a lot of new bugs and i wasn't sure if it was my doing [02:16:58] what does your bot do? [02:18:38] It interacts with Mediawiki, creating pages and updating a very long/complex template from a database. [02:19:13] Right now it's maintaining about 400 pages, but it should go up to about 1500 pages, as I build the database. [02:24:28] neat! i guess ill ask the guys on tuesday if they have had problems, I'm still terrified every time I use git merge [02:25:57] I'm trying to learn more about setting up/maintaining git, since I have several people bugging me for this code. [02:26:21] But yah, I'm very nervous with git still. I'm more comfortable with svn. [02:27:38] Here's my main git bookmark: http://answers.oreilly.com/topic/801-how-to-learn-git-a-link-roundup/ [02:27:50] I plan on buying the O'Reilly book on payday. [02:28:55] fun story, i accidentally messed up the directory on my computer and thought if i deleted it all and commited, then tried to pull from patrick's repo it would make my repo the same as his [02:29:08] turns out it doesnt work that way [02:29:29] How did you fix it? [02:30:54] oh i merged with some setting that went with the remote repo's version every time there was a conflict, then force pushed it onto my own repo [02:32:11] Good solution. [02:32:23] then i started seeing errors and couldnt tell if it was my fault due to all the git mayhem, or it was somewhere in the new code [02:32:57] Okay, so the best thing to do is immediately ask the team, which is what you started to do by coming here. [02:33:18] Now, since I am unable to answer your question, you should e-mail the team with your question. [02:33:37] (That way we can more quickly track down the problem) [02:34:32] Make sure you tell us all what happened, and how you rebuilt your git. [02:57:55] yep sent the email [03:01:39] Heh! looks like you pinged Sumanah [03:09:43] oh i completely forgot about those mailing lists [03:10:18] guess thats also on the agenda for tuesday [03:11:48] Well, I'll be on them in just a few minutes, after I finish troubleshooting with a user. [04:11:57] is there an api call that can get the pageid? [04:12:34] specifically in json [04:15:48] yes. [04:16:38] I think ?format=json&action=query&prop=rv&rvprop=rvid will get it, but let me double check that syntax. [04:16:52] Oh, &titles=[pagetitle] [04:17:22] for example http://en.wiktionary.org/w/api.php?action=query&titles=portal&prop=info&format=json [04:18:06] is basically useless because it says "39865"'s page id is "39865" [04:18:22] To get a 'human readable' output, just to see if it is getting what you want, you can use format=xml [04:18:31] which i think is a bug because on the xml version it says page [04:19:17] the thing is it makes no sense having the id as the key because that changes page to page [04:20:36] That's because all of the attributes of the page are listed as values. You want to look at pages as an array, fornext( $pages AS $page){ echo $page['title'] . '=' . $page['pageid'] ) [04:21:02] You could send up to 500 page titles for it to look up. [04:21:06] ahhh that makes sense [04:21:40] It's a way to get a *lot* of data in only one request. [04:22:40] i guess its not meant for human use, which is a shame because that would have made my javascript a lot easier [04:23:01] It just takes some planning and thinking it through. [04:23:37] RoanKattouw is one of the leads on the API, and he is *excellent* to talk to. He will help you out figuring the best way to get the information you need. [04:31:42] cool where can i talk to him? [04:32:04] He is normally in #Mediawiki during business hours in California. [04:32:06] I think. [04:36:35] yay! solved it [04:37:32] With [04:37:32] turns out you can iterate through all keys in a table in javascript without knowing index [04:37:45] That would be cool! [04:37:50] for (var i in dictionary) [04:38:05] Oh, you can do that in php too, but it's slower of course. [04:38:48] there is no way to keep order without indecies so i guess it has to keep track of which entries its already passed through [04:39:53] awesome thanks for your time amgine! im going to sleep [04:39:54] Yah; php is slutily typed, so it can just decide on an index. [04:40:00] good night! [17:41:06] what a frighteningly tiring and pointlessly unproductive day [17:41:06] sigh [17:41:18] * Reedy eyes yuvipanda and his stolen computer [17:41:24] Reedy: am back on mine [17:41:34] Reedy: ever been to a south indian wedding? [17:41:37] if someone invites you [17:41:38] DO NO TGO [17:41:40] *NOT GO [17:42:10] I've never been to India... [17:42:10] Soo... [17:42:28] I haven't even been to a wedding in my living memory [17:42:35] never mind a south indian one [17:42:43] Reedy: lucky you! [17:43:09] yuvipanda: I've create a phonegap plugin for storing preferences in android's system : https://github.com/Tpt/Wikipedia/commit/ebb83f053446030b4b3c0a0708283fda27a45d8b . The searchSugestionProvider use now the "language" preference param. Could you look at it ? [17:43:28] We have talk about a week ago. [17:46:26] Tpt: wah, that's awesome! [17:46:27] let me look [17:52:05] howdy [17:52:33] philinje: heya [17:52:44] how are things? [17:54:36] philinje: tired [17:54:39] just got home from a wedding [17:54:42] annoying too [17:54:54] you're annoying? [17:55:11] Reedy: I very possibly am that too, yes. [17:55:18] weddings are annoying too [17:55:20] * Reedy grins [17:55:33] just wait till you get married :P [17:55:50] Not likely any time soon [17:56:17] what's so wrong with Indian weddings? the only bad thing I can recall about Russian ones are suit and tie (okay, two of them) [17:56:42] Reedy: at some point of time [17:56:45] MaxSem: EVERYTHING [17:56:51] That's a lot of things [17:57:11] MaxSem: to begin with, here's a frontend engineer who did his wedding invite by taking a screenshot of well written js inside vim and adding a QR code to it [17:57:18] marrying a woman who has never used email in her life [17:57:37] and they talked for perhaps 20-30 minutes ever before actually getting married, and most of it in front of a lot of people [17:57:46] arranged marriages can go suck cactus [17:57:56] yes, it's another universe there [17:58:09] should we have a stand-up? [17:58:40] wasn't Tomasz supposed to be present today? [17:59:02] not sure [17:59:08] he's not online [17:59:16] philinje: i don't think so, i'm going to crash in a few minutes. [17:59:21] philinje: i emailed you about it [17:59:27] how about this: do you and Yuvi want to provide a brief update here on IRC? [17:59:33] oh sorry [17:59:52] ah yes, I can do that [18:00:16] currently, i'm fixing the only major blocker in android (Saved pages crashing the app) [18:00:27] i've narrowed it down to it being a bug that is present in jquery but not zepto [18:00:38] so am going to have to debug jQuery itself and figure out what the problem is [18:00:38] yuvipanda: sounds gnarly [18:00:45] philinje: it is [18:00:52] jQuery ajax segfaults the app [18:00:55] how is that even, gah [18:01:09] ajax in general? [18:01:40] philinje: no a particular .ajax call to a file:/// url [18:01:42] it works with zepto [18:01:52] ah ok [18:02:00] good luck with that [18:02:20] MaxSem: how about you? [18:02:23] my turn? [18:02:33] go for it [18:02:42] okay, working on edge cases with geolocation [18:03:16] are you also working on the new API stuff for accessing content generally? [18:03:17] * MaxSem at least hopes that we will not need to search for "articles around me" on Mars [18:03:31] it's next on my list [18:03:47] ok [18:03:56] probably, I'll switch to it for a while [18:03:57] i think we should let Yuvi go to bed [18:04:44] MaxSem: i *think* that is something we should support [18:04:49] 'articles around x on mars' [18:05:05] MaxSem: you're looking up a crater on the moon, and hit 'articles near this article' [18:05:11] so, theoretically that should work, no? [18:05:11] :) [18:06:02] did we lose Max? [18:06:14] he's in Russia, you never know [18:06:18] grrr [18:07:21] MaxSem: :) [18:07:53] one thing from me - i will not be on IRC all day long so ping me on Google chat if you need to chat [18:08:03] * MaxSem was trying to be sarcastic, but is too sleepy to compose good-quality sarcasm [18:08:26] i think we need to let both of you go to sleep [18:09:13] how many articls do we currently display on the map, 10? [18:09:21] MaxSem: i think 5 [18:09:25] and more as you move along [18:09:49] that would be quite useless in dense locations [18:09:57] yes [18:10:08] MaxSem: yes, it is [18:10:14] we need a feature for determining how many articles appear [18:10:20] for example, SF is approximately 10 points/sq. km [18:10:24] that is post v1.1 [18:10:52] so five articles is less than a kilometer radius [18:11:14] MaxSem: yes, we'll need some way to limit that [18:11:16] possibly 1.2 [18:11:21] i think it might be good to tie the zoom level to density [18:11:37] in addition to setting some explicit number [18:11:47] heatherw: heya! is it possible for you to slice this image (https://github.com/wikimedia/WikipediaMobile/blob/master/assets/www/image/spr.png) into separate png files? [18:11:55] I don't have a working version of photoshop... [18:12:03] GIMP? [18:12:06] philinje: makes sense [18:12:17] MaxSem: wah, GIMP? NOOO! [18:12:21] yuvipanda: sure! [18:12:31] heatherw: :D thanks! [18:12:44] what do you want me to do with them afterward? [18:12:46] what's wrong with GIMP, not emo enough? :P [18:13:31] heatherw: put them in a zip and attach it to https://bugzilla.wikimedia.org/show_bug.cgi?id=32070 [18:14:13] hi yuvipanda heatherw ^^ I was working on it :P [18:14:21] Astagi: heya! [18:14:31] do we need density stats to determine appropriate zoom? [18:14:46] i think so [18:14:57] but I let you that, I'm not so good in graphics ^^ [18:15:03] Astagi: did you make serious progress? It's much faster for a graphics pro to do that [18:15:04] yeah :D [18:15:28] yuvipanda my progress in graphics don't exist :D [18:15:45] I'm happy to have a pro guy working on it ^^ [18:16:18] I'll concentrate my efforts in find feature... [18:16:37] Astagi: the other one I showed you? [18:16:40] 'disable images'? [18:16:49] that'd make it into 1.1, find will have to wait atleast till 1.2 [18:16:51] :( [18:16:53] that's why [18:17:42] well yuvipanda, tfinc sent me a mail and said that wanted take that bug to work on it during the travel for FOSDEM [18:18:17] ah, okay! [18:18:36] I can work on something else anyway, let me know ^^ [18:19:28] Astagi: :) pick whatever suits your fancy! [18:19:33] right now i think that's the 'find' stuff? [18:19:37] <- pro guy :) [18:19:51] are Patrick and Arthur at FOSDEM, too? [18:20:00] yep yuvipanda ^^ it is.. [18:20:01] heatherw: everyone makes that mistake :) [18:20:15] * yuvipanda did too [18:20:16] MaxSem: yes [18:20:31] meaning, you thought i was a guy? :) [18:20:59] yes, and then sumanah told me 'look at the staff page!' and then I went 'damn!' [18:21:11] i suck at guessing gender from names :) [18:21:18] i'm not on the staff page … am i? [18:21:26] sorry heatherw :D [18:21:37] wah, you should be [18:21:42] no worries! i was kidding [18:22:11] heatherw: you aren't :| why not? [18:22:35] :D [18:23:18] i don't have an answer to that question [18:24:14] bug someone and get on it. I didn't let tomasz sleep until he did. [18:25:27] yuvipanda where do you think is better to place a find on page bar? I think over the search bar, when you close the find bar the search bar reappears.. [18:25:58] Astagi: this is the reason I'm not sure doing 'find' now is a good idea [18:26:13] there will be a UI overhaul pretty soon [18:26:17] we'd want to redo the app's UX in a while, add a proper separate menu [18:26:23] Astagi: and then we'll know where to put that [18:26:27] while right now, we don't [18:27:02] it's a good idea to have search and find somewhat related but clearly separate [18:28:08] Astagi: so your code will get to market much quicker if you pick one from https://bugzilla.wikimedia.org/showdependencytree.cgi?id=31805&hide_resolved=1 [18:28:12] https://bugzilla.wikimedia.org/showdependencytree.cgi?id=31805&hide_resolved=1 [18:28:14] and ^ [18:30:41] yep yuvipanda I'll pick up some of them too ^^ can I implement anyway a find on page but let it disabled? so after the restyiling we have the engine ready... [18:31:41] Astagi: having code that is never going to be used is a bad idea, no? [18:32:15] will be used [18:32:24] find on page is important I think ^^ [18:33:08] no as in [18:33:15] we don't know where we're going to put that in the UI [18:33:28] and so it'll just not be exposed anywhere until we find, right? [18:33:39] and that's dependent on the UI redesign [18:33:47] so doing it right now is not a good investment of time [18:34:36] that's true yuvipanda, ok, will do it when the moment arrives [18:35:01] it's time for having dinner now, cya later, by all! [18:35:11] Astagi: bye! :D [18:35:16] Astagi: have a good sleep :) [18:35:35] I don't go to bed ^^ [18:35:47] anyway thanks :D [18:35:51] you too [18:35:54] bye! [19:02:15] MaxSem: still here? [19:02:17] yup [19:02:45] have you seen this: http://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Geographical_coordinates#Coordinates_in_Mobile_App [19:04:43] could be good to see what is going on outside mobile [19:08:09] philinje, hmm. so far Tomasz said that we do only the backend API, no UI [19:08:24] scope can be adjusted at all times, of course [19:08:29] sure [19:08:34] *at any time [19:08:46] i just noticed you were posting on this talk page, which is good [19:08:50] ideally, GeoHack should go [19:09:23] yes, I did an early sanity check with community [19:10:48] great [19:11:01] aharoni: amir, howdy [19:11:10] hallo [19:11:29] did you write up the mobile localization stuff on the Pune Hackathin page? [19:11:52] some of it, probably. [19:12:27] most of it comes from a hectic brainstorming etherpad. [19:12:58] if you don't like something there, you can probably change it, but ping Siebrand and Sumana about it. [19:17:08] no, it's great, just wanted to thank you for writing that up [19:17:31] maybe I should thank Siebrand? [19:20:32] you're welcome, and yes, you can thank Siebrand, too. [19:21:57] since i got the phone i didn't use the standalone Google maps app on it too much. [19:22:36] and yesterday somebody showed me that it comes with a Wikipedia layer. i thought that our app is unique in that. [19:22:52] and what's interesting, it doesn't work in Hebrew either ;) [19:23:56] and it does work in Russian... [19:26:05] and it works in Polish. but not in Czech. [19:27:03] oh, it does work in Czech, just a little slow. [19:30:48] anyway, on the version i currently have, it looks like geolocation doesn't really work on the OSM map. [19:31:01] it just shows me markers for articles in the currently focused area. [19:33:09] ok, interesting feedback about Google Maps by itself [19:33:20] and I guess we need to work on OSM in Android [22:44:20] hi all [22:44:31] someone could have a look to this patch? https://github.com/4ndreaSt4gi/WikipediaMobile/commit/bda61167c72e40aa7e896fc2f82815fb51ca6e1c [22:44:56] this definitively fixes the enable disable problem... [22:53:51] Most of the mobile people are in transit i believe [22:54:50] you mean from Belgium to SF? [22:55:09] No, Belgium to India [22:55:49] They're at a hackathon thst starts on the 10th Feb [22:55:50] oh it's true I forgot it :\ ok, I let a pull request anyway ^^ [22:56:00] Yuvi is probably the most available [22:56:05] But he'll be travelling too [22:57:00] I see.. thanks for the info ^^ [22:57:42] Certainly pull request will put it on their todo list [22:59:10] I hope :) We're getting close to the 1.1! [23:08:08] time to go to bed for me Reedy [23:08:10] cya!