[07:21:16] WOOF. [07:21:26] Meow [07:21:31] Mreeow. [07:25:56] good morning [07:28:48] good morning [07:29:47] hi [07:30:25] I'm trying to treat https://phabricator.wikimedia.org/T111175 [07:31:44] I did `vagrant roles enable translate && vagrant provizion` to reproduce that localy [07:32:33] Now when I go to http://localhost:1234/wiki/Special:Translate I get the message "The Translate extension depends on the Universal Language Selector extension. " [07:33:01] IT'S MORNING. [07:34:01] But I can't this extension in `vagrant roles list` [07:34:34] Good morning Isarra :) [07:36:47] Gooooood morning. [07:51:47] But I still have the same problem [07:52:21] I will see if it's not the LocalSettings.php which is missing the required line [08:00:42] *nudge* Might be an easy fix(?) for you smart hackers https://phabricator.wikimedia.org/T132308 [08:00:58] > citoid [08:01:00] * Isarra flees [08:01:41] * Josve05a throws a flapper at Isarra [08:06:04] Wikisource meetup in the museum: https://etherpad.wikimedia.org/p/wikisource [08:09:21] Pronunciation: https://phabricator.wikimedia.org/T33221 and https://meta.wikimedia.org/wiki/Grants:IEG/Pronunciation_Recording_(Finish_incomplete_GSoC_project) [08:17:13] So the pageview API seems to be struggling/down? [08:18:14] Oh, nevermind. [08:18:16] ;) [08:44:44] legoktm when users get renamed, does user_text in revisions/archive get updated as well? [08:44:56] yes [08:45:12] for the most part, for super old revisions it's going to be a best effort thing [08:47:13] legoktm hmm, and is there any way for me to go 'given a user name, I want the user id of that username in all wikis'? [08:48:54] yuvipanda: the global user id or per-wiki user id? [08:52:03] yuvipanda: also, https://w.wiki/2 [08:52:17] My dear fellow hackers, please sign up for the Hackathon Showcase on Saturday! https://is.gd/wmshowcase16 (or https://gerrit.wikimedia.org/r/#/c/295512/ without the redirect) [08:52:25] legoktm: https://toolserver.org/~purodha/sample/dbswithuser.php did this :) [08:52:35] yuvipanda: ^ [08:54:14] :'( [08:54:17] Would showcasing that I finally finished something I meant to do at the last hackathon, but actually started afterward and did most of in the weeks following, before getting distracted and wandering off work? [08:55:16] https://phabricator.wikimedia.org/diffusion/THER/browse/master/erfgoedbot/monuments_config.py [09:06:29] whatever rocks your boat, Isarra ;) [09:06:40] legoktm Nemo_bis awww. is 404 tho [09:06:43] I probably won't actually finish it. >.> [09:06:44] Isarra: Grab the first slot while it's there! [09:07:10] legoktm Nemo_bis I'm trying to figure out how to test a tiny global edit counter type thing [09:07:12] I can see it now. I grab that slot, go present, and loudly announce... that I got nothing done. >.> [09:07:23] Well, nothing... showable. [09:09:53] network started misbehaving again :( [09:12:21] YuviPanda: https://phabricator.wikimedia.org/P3301 [09:13:02] * gwicke enjoys vector.im / matrix.org's quick catch-up after a disconnect [09:16:36] Are there any stewards online? [09:16:41] parliamentdiagram need a rights upgrade: https://meta.wikimedia.org/wiki/Steward_requests/Miscellaneous#OAuth_request:_parliamentdiagram [09:17:01] Sorry if I double-posted. I got disconnected. [09:19:17] gwicke: :D nice! [09:28:11] yuvipanda: I want to implement a script on labs which uses mwoauth, but when I run "from mwoauth import ConsumerToken, Handshaker", it takes about 10 seconds [09:28:31] yuvipanda, so I'm worried that my script's performance will be terrible, and that it will suck resources. [09:28:43] yuvipanda, any idea how to debug this? [09:29:07] hey slashme_ [09:29:10] where are you seeing this? [09:29:14] locally or? [09:33:20] yuvipanda, locally on the labs server, using the python console. [09:34:52] slashme_ can you try it on tools-dev.wmflabs.org rather than tools-login? [09:35:53] OK, will try... [09:37:33] yuvipanda, still takes 13 seconds... [09:37:56] hmm [09:38:44] It's in a virtualenv, installed using pip, but that's not the problem, because another pip installed library (requests_oauthlib) loads quickly. [09:39:55] Does anyone see Andre Klapper? [09:40:17] He's in the no photo room. [09:40:30] I think. I think that's him. [09:40:36] I don't remember who anyone issss. [09:40:47] THANKS Isarra [09:41:38] slashme_ I'm looking at a fix [09:41:51] Amir1: are you around? any chance you can come by Room 30? We have a question about templates in fa. [09:41:57] or let me know where you are and I'll come by, Amir1. [09:42:01] thank you! :) [09:43:33] example of visual diffing on localwiki: https://localwiki.org/davis/International_Relations_Student_Association/_history/2016-06-22%2020:40:50.228942... [09:44:06] slashme_ try again on tools-dev? [09:47:11] You want to learn how to create TemplateData? Session this afternoon at 14:00 in room 30. [09:47:12] yuvipanda, still takes forever, but hang on: I've just discovered a flask application which uses a different library and looks easier, so no rush to fix it now. [09:47:17] This session is really useful to know about if your wiki has now the visual editor! [09:47:48] slashme_ ok :( we're in the process of bringing online new nfs hardware, so hopefully that'll make things be better [09:48:58] After having no luck yesterday, I need to ask again: Any ResourceLoader expert around that can help me with a little issue? [09:52:46] multichill: this is the place you could call to get information about monuments in iran: https://en.wikipedia.org/wiki/Cultural_Heritage,_Handcrafts_and_Tourism_Organization [09:53:18] one of the references they recommended was http://www.iranshahrpedia.ir/static/view/page/cultural-heritage-reports (which somehow doesn't work at the moment), that page included a list of 26K monuments that we used. [09:53:23] multichill, ^ [09:59:20] Can anyone write some regex for me? [09:59:28] .*? [09:59:34] Thank you, Reedy. [09:59:38] yw [10:00:32] Seriously, though, I need strings that begin with 'file:' or 'image:' and/or end with a file extension. [10:00:47] Wait. [10:00:53] I already had a different approach. [10:00:59] Or did I? [10:01:05] What the hell am I doing? [10:03:11] Osnard: what's the issue? [10:04:14] Anyone know what wffindfile is/does? [10:05:39] Isarra: finds a file? [10:05:55] tgr, what would be a good time to work on the 1-year login thing? [10:06:05] Is there documentation somewhere? [10:06:06] a File object from a file name, to be more exact [10:06:19] What's a file object? [10:06:26] legoktm: a "flash of unstyled content" in a skin caused by CSS rules that apply to jQueryUI classes that are applied too late [10:06:45] Isarra: there is some amount of phpdoc [10:06:58] what are you looking for? [10:07:08] what are you trying to do, I mean? [10:07:11] Osnard: the jquery UI classes are loaded late or the CSS rules? [10:07:16] Put a file on a page. [10:07:20] Osnard: link to code? [10:07:22] As an image. Thing. Icon. [10:07:40] uploaded file or asset? [10:07:45] Uploaded file. [10:08:11] original or thumbnail? [10:08:18] Thumbnail. [10:08:41] legoktm: I can't find a way to have my javascript be executed early enough [10:09:14] get the File object with wfFindFile, call transform() to get the thumbnail, get the path [10:09:57] if you want to show the usual file box with caption and frames and whatnot, that's probably not the best way to go but I'm not familiar with the parser part [10:10:26] No. I just want a scaled version of the file if it even exists. [10:10:38] So... that sounds like it could work. [10:10:39] Thanks! [10:12:45] matt_flaschen: after 3PM would be better [10:13:22] legoktm: The jQuery UI code is executed to late. Therefore on load the DOM misses classes that are being styled by my CSS. [10:13:57] legoktm: Link to code follows. but it might be better to demonstrate the effect in my environment [10:15:20] Osnard: where are you? [10:15:43] tgr, 3-ish sounds good to me. Room 10 then? [10:17:35] legoktm: https://git.wikimedia.org/blob/mediawiki%2Fskins%2FBlueSpiceSkin.git/master/BlueSpiceSkin.php#L52 [10:17:48] Osnard_: where are you? [10:23:06] leila: https://www.wikidata.org/wiki/Wikidata:Database_reports/Constraint_violations/P1369 [10:25:42] matt_flaschen: room 10 is fine, if there is a room with reliably working wiki that would be even better (but I have 4G so not a big problem) [10:29:08] tgr, okay, we can try 50 instead. That looks to be free 3 and may have better wifi. [11:14:19] anyone able to take a poke at etherpad? Seems to be having issues [11:21:19] Jamesofur: I don't see any issue [11:26:22] jzerebecki: looks like it's gotten better for now, was giving everyone errors for a while like this https://usercontent.irccloud-cdn.com/file/IB0d4isu/etherpaderror [11:54:35] zeljkof: sorry, became busy yesterday - am free for the next few hours [11:57:07] edsanders: I am working on something related (and having problems), if you could pair now that would be great :D [11:57:20] should I create a hangout? [11:57:28] sure [11:58:01] will ping you in a minute, checking if network will work with sharing screen [12:00:10] Wait, so where do we sign up for the showcase? [13:14:06] tgr: matt_flaschen is looking for you here in Room 11. [13:14:10] tgr, are you free now? [13:16:51] matt_flaschen: in room 50 [13:17:21] should I go to you? [13:18:05] Volker_E: I was supposed to remind you of something. [13:28:01] Does anyone need help Dan A is here and free to help [13:28:57] Dan A (me) is happy to help :) [13:30:07] legoktm, do you have time to discuss ideas about an extension store at 4pm? I am in room 10 [13:30:12] Volker_E: you are already on https://phabricator.wikimedia.org/T122691 which is the specific issue I ran into [13:30:32] mglaser: sounds good [13:30:40] legoktm, yay! [13:31:23] thanks tgr [13:54:57] where is andre costa? [13:57:43] if anybody finds him, send him to Jean Fred [14:11:37] How can I force my tool on ToolLabs to run on a host with PHP 5.5 ? It uses a 5.5 syntax and is now failing :-( (poke yuvipanda) [14:23:50] hey JeanFred [14:23:56] JeanFred for jsub, add '-l release=trusty' [14:24:47] Hey yuvipanda [14:24:55] Oh ok [14:25:14] JeanFred oh, webservice? it's 'webservice stop', 'webservice --release=trusty start' [14:25:30] yuvipanda: Thanks! Doing that [14:25:52] JeanFred yw. php 5.6 will be availalbe next week, under kubernetes :) [14:26:05] yuvipanda: Yay! It’s back online :) [14:26:41] Coren: that open refine tool I was telling you about: http://openrefine.org/ [14:29:12] it seems that etherpad is down [14:29:37] anyone know who to poke about that ? [14:29:43] whole internet is slow again though [14:29:56] yeah but etherpad is straight throwing 500s [14:30:09] yikes [14:30:26] 503s to be exact [14:30:27] JeanFred: `wd_item` varchar(255) DEFAULT NULL, [14:36:29] blahma_: https://meta.wikimedia.org/wiki/Research:Revision_scoring_as_a_service/Word_lists/cs [14:36:51] By the way − anyone knows whether I can use docker-compose in Jenkins for CI purposes? :-p [14:39:56] JeanFred legoktm would know :) [14:40:15] JeanFred: nope...what are you actually trying to do? [14:44:07] Is it possible to change what Mediawiki account is connected to my phabricator account? [14:45:35] Right now it is connected to Jan Ainali (WMSE) but since I don't work there anymore I would rather use Ainali to login there.. [14:49:34] disconnect then reconnect [14:49:49] legoktm: The heritage project − PHP webservice + MySQL tdatabase now has a fancy local dev environment using docker-compose. Would be nice to use it at CI to check that following a change the API still returns meaningful results. [14:51:08] tgr_: It won't let me disconnect since that is the only account connected. Is there a workaround for that? [14:51:39] JeanFred: no really....do you have phpunit tests or something? [14:52:32] legoktm: We do (very uncomprehensive ones obviously ;) ) [14:53:25] legoktm: It would be a very very cheap way to do one basic e2e testing (spin up the containers, check that a known API call returns something and now throws an error) [14:53:45] * legoktm points back to yuvipanda [14:56:25] blahma_: https://translatewiki.net/wiki/Translating:Revision_scoring [14:56:57] legoktm do you wanna setup aptly for CI? [14:57:20] JeanFred yeah, we don't have anything like that :| but we're going to make containers available next week for all users, with kubernetes [14:57:31] so you can kinda set that up yourself maybe but it'll be awkward [14:59:18] yuvipanda: Sounds like it... Well, never mind. :) [14:59:27] yeah [14:59:33] yuvipanda: hell yes! [14:59:38] yuvipanda: but I'm in sj's talk right now [15:01:12] legoktm ok! want me to just set one up anyway? on which project? [15:01:20] yes please! integration [15:01:41] legoktm SJ is here?! [15:02:29] Umm... etherpad deleted everything for the showcase?? [15:02:33] Any way to get it back? [15:02:35] yuvipanda: room 40 [15:02:39] It should have a history... [15:02:40] rfarrand yes, ops are on it [15:02:43] rfarrand: ops is working on it...database got corrupt :( [15:02:44] o_O [15:02:47] Oh. [15:02:50] rfarrand etherpad is down, database issues for it. [15:02:57] rfarrand worst case, we have backups, etc [15:03:16] rfarrand can you tell people as well? [15:03:46] OK, yeah [15:03:54] I want to add a column to a table with >1M rows, and our ALTER TABLE seems to be hanging... any MariaDB specialist that would know better ? (cc multichill & lokal_profil) [15:05:24] hello JeanFred [15:05:34] Hey Harmonia_Amanda ; what’s up? [15:06:02] is anyone in a room with Quim? [15:06:07] Create new table, copy data, rename? [15:06:08] Danny_B is looking [15:06:11] Ash and me are doing our own little hackaton at Wikimedia France JeanFred :p [15:06:39] Not necessarily faster but won't block [15:06:44] tgr_: Isn’t what ALTER TABLE does anyway ? [15:07:27] Yeah but it will block all writes while working [15:09:00] etherpad is down atm, we're looking into it, thank you for your patience [15:10:04] yuvipanda: email wikimania-l? [15:10:28] legoktm in 5mins if it is still down [15:11:48] Trying that tgr_ thanks :) [15:13:33] JeanFred: real DBAs use some Percona script but that's way above my head [15:23:03] legoktm yuvipanda: +1 re notifying wikimania-l [15:23:07] rfarrand we're still on it, will have an ETA shortly. [15:23:10] I'll email now [15:23:12] to wikimania-l [15:23:15] Thanks [15:28:22] tgr: That worked! The ALTER on the copy took 2 minutes and succeeded :) [15:28:35] Now all I need is to drop and rename #fear [15:28:50] I've emailed wikimania-l [15:29:20] JeanFred: it's easier to create an empty table with the new schema and then copy but that works too :) [15:29:42] you probably want to rename the old one and drop it later though [15:29:59] easier to undo if needed [15:30:23] I had a sinking feeling I had accidentally emailed wikimedia-l [15:30:24] thankfully not [15:30:48] tgr: Oppsie, dropped it already. #YOLO [15:31:07] How do you use i18n messages in non-skin extensions? >.> [15:31:08] But everything fine now :) [15:31:17] Where's the documentation on this? [15:31:25] What's it called? [15:33:05] yuvipanda: cool thanks! lots of sinking feelings around this one i guess ;) [15:35:44] Yer buggrit. [15:35:53] some wifi connections might drop for a second in a moment, just reconnect. It will be fine and improve wifi speed for everyone. [15:36:50] If somebody is not able to reconnect within the next 2 min please come to the help desk [15:37:23] ok, done. [15:41:13] rfarrand 1h:30m ETA for etherpad restoration [15:42:50] OK, thanks yuvipanda! [15:42:59] I meailed wikimania-l too [15:43:06] perfecto :) [15:53:32] anyone in the theater? [15:54:12] (I lost my charger - I think it fell out there) [15:58:28] * Nemo_bis updated https://wikimania2016.wikimedia.org/wiki/MediaWiki:Sitenotice [16:04:44] hi people I'm tying to find how en.wiktionary loads a user scripts for all pages [16:05:10] the script is https://en.wiktionary.org/wiki/User:Conrad.Irwin/editor.js [16:05:33] it is not a gadget - might be part of meta gadget !? [16:08:43] Anyone seen Jon Katz recently? [16:09:20] ugh downloading from gerrit at 60 KiB/s [16:09:27] * 3 [16:09:30] oren: https://en.wiktionary.org/wiki/MediaWiki:Gadget-legacy.js [16:09:30] * 33 [16:09:42] Nemo_bis: the wifi is faster over here ;) [16:09:51] legoktm: where are you? [16:10:01] look to your left [16:10:13] I'm currently on Access Point: 00:04:56:B1:63:90 [16:10:27] Receiving objects: 100% (282/282), 418.69 KiB | 79.00 KiB/s, done. [16:10:38] hmpf hmpf [16:11:02] 900 now! [16:11:11] Access Point: 00:04:56:A9:C3:80 [16:12:43] Ricezione degli oggetti: 100% (55858/55858), 40.96 MiB | 623.00 KiB/s, done. [16:12:56] \o/ [16:13:11] yuvipanda: Hey, since you worked on the UploadWizard campaign schema things, I was wondering if you knew how I could get more precise validation errors out of efSchemaValidate [16:15:02] marktraceur: you're here???? [16:15:03] Uh no too long ago and I just copied event logging code [16:15:09] marktraceur: answer: don't use efSchemaValidate [16:15:12] legoktm: I'm in this channel! [16:15:18] legoktm: What's the more better choice? [16:15:20] marktraceur: you can look what Gadgets does [16:15:23] Mmmkay [16:15:45] which is basically build your own validator [16:15:59] but it's Krinkle-approved ;) [16:16:10] You know I live to make Krinkle happy. [16:16:20] yuvipanda: where are you? wanna do the aptly thing? [16:16:29] Oh, wow, there's a whole class and everything [16:16:35] I don't think Krinkle@latest approves of RL2 from Krinkle@2011 [16:16:46] "@todo maybe this should use a formal JSON schema validator or something" [16:16:49] Helpful [16:17:04] legoktm I lost my laptop charger so wandering trying to find it [16:17:08] there's a json schema validation library in mediawiki/vendor now, but it's not i18n-ified [16:17:18] I need to steal an adapter from someone, mine doesn't fit in the power strips [16:18:17] So what I'm hearing is, either I reimplement a huge validator class or use the now deprecated (or just not preferred?) validator in EventLogging [16:19:32] Oh, I guess it's not too big. [16:19:39] * marktraceur sets about adapting [16:23:48] yuvipanda: There's a Lost & Found somewhere... [16:23:57] marktraceur: just not preferred [16:24:14] Fair [16:25:39] quiddity: After looking at the length of the task and the information density, I'll merge the older into the younger one :} [16:27:01] Volker_E, Sure, whichever is ok with me. [16:32:38] yuvipanda: I'm turning off my laptop so you can text me [16:36:06] James_F: need Jon Katz too for some minutes… please forward him when finished [16:36:30] Volker_E: Not found him yet, but OK. :-) [16:36:41] ;) [17:09:41] i do not feel comfortable with all these armed people while the conference. [19:32:31] hundfred: ??? [20:18:18] greg-g: they might be referring to the big amount of police here. there is even a van equipped with riot gear. [20:30:07] and having your passports copied straight for police [20:37:35] jzerebecki: mutante ....why? [20:40:19] greg-g: maybe a new wikimania tradition after the SWAT practice in the park across the street last year [20:40:29] i guess because of the word "hack" in hackathon. they are looking for political hacktivists and weed .. shrug [20:40:46] there are 3 types, local, carabinieri and political [20:41:10] i heard its the law you have to have passports if somebody is staying over night [20:42:21] i havent seen this at any other event like that.. also signing with your name to enter the main hackathon room [20:42:41] and yea, they do have guns and hang out in every bar [20:43:46] i would like to discuss, if this could be compliant to https://wikimediafoundation.org/wiki/Friendly_space_policy [21:08:27] oh un Tpt [21:08:35] ouep [21:12:04] Tpt: comment va ? [21:12:24] bien, je bosse pas mal sur le VisualEditor [21:12:45] :) [21:13:18] je râle que Ash_Crow n'est pas là, du coup il se connecte [21:14:07] y a deux heures il m'a dit qu'il aurait bientôt besoin de moi [21:14:37] (en attendant mix n' match rame méchamment sur mon ordi) [21:14:52] si j'arrive pas à lancer le projet django sur le toollabs, tu vas pas pouvoir faire grand chose [21:16:02] tout de suite, les limitations techniques comme excuse ! [21:40:25] Harmonia_Amanda: you in esino? [21:40:32] no sorry [21:40:44] I won't come to Wikimania this year [21:40:53] np, just wondering [21:47:29] Danny_B: did you find Sarah ? [23:23:35] http://stackoverflow.com/questions/2004168/escape-quotes-in-javascript [23:24:38] slashme_: http://stackoverflow.com/questions/2004168/escape-quotes-in-javascript