[00:01:22] (03CR) 10MaxSem: [C: 031] Make Special:UserProfile look like an article page [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93431 (owner: 10Jdlrobson) [00:01:37] (03PS2) 10Jdlrobson: Enable photo upload progress bar 1/2 [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94061 [00:01:38] (03PS1) 10Jdlrobson: Enable photo upload progress bar 2/2 [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94068 [00:03:07] kaldari: jgonera https://gerrit.wikimedia.org/r/#/c/93431/ [00:04:09] kaity, violetto are you going to http://ichaseyou.com/upcoming-journeys/ ? [00:05:15] aw I dont think I can make it [00:06:56] (03CR) 10JGonera: [C: 04-1] "Notice: Undefined index: useAlternativeChrome in /home/jgonera/www/extensions/MobileFrontend/includes/skins/MinervaTemplate.php on line 23" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93431 (owner: 10Jdlrobson) [00:12:42] (03PS5) 10Jdlrobson: Make Special:UserProfile look like an article page [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93431 [00:13:01] jdlrobson: That was probably breaking because setHeaders() isn't called from SpecialUserProfile::executeWhenAvailable() [00:13:34] although I don't know if you fixed that in your change [00:13:38] already [00:13:40] class SpecialMobileUserlogin extends LoginForm < awjr this has executeWhenAvailable function [00:13:52] but it is not a child of MobileSpecialPage... [00:14:21] awjr: not sure how it still works :) [00:14:34] o_O [00:14:44] did i do that? [00:15:42] awjr: yeh as part of the MobileSpecialPage beta/alpha opt in banner [00:15:52] it seems to change the language of the headers so should be renamed back to execute [00:15:54] i sure did [00:16:01] yeah [00:16:06] that's basically all SpecialMobileUserLogin does anyway [00:17:51] (03CR) 10Kaldari: [C: 04-1] "(1 comment)" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93431 (owner: 10Jdlrobson) [00:19:53] (03PS1) 10Awjrichards: Change SpecialMobileUserlogin::executeWhenAvailable() back to execute() [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94074 [00:34:05] kaldari, MaxSem, jgonera we should get ^^ merged before tomorrow's deployment [00:34:20] otherwise the mobile login page will be wonky [00:34:35] (03PS1) 10JGonera: [WIP] Separate stable and beta search JS code [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94078 [00:35:18] (03CR) 10Kaldari: [C: 031] Change SpecialMobileUserlogin::executeWhenAvailable() back to execute() [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94074 (owner: 10Awjrichards) [00:35:19] (03PS6) 10Awjrichards: Card 1362: Show last edit on Special:UserProfile [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93514 (owner: 10Jdlrobson) [00:36:22] awjr, I'm not sure why we even change those messages [00:36:31] it seems to be more consistent if we don't [00:36:37] we have "Log in" in the left nav [00:36:52] eh let's see [00:36:53] this patch changes the heading on the login page from "Log in" to "Sign in" [00:37:15] well actually it just keeps it that way in production [00:37:53] it also makes it possible to have the 'mobile header' thing - the big W on enwiki - for instance [00:38:05] jgonera: ^ [00:38:13] I have the big W both with and without this patch [00:38:24] orly? [00:38:40] yep [00:38:42] didja try clearing your cache? [00:38:49] cache disabled [00:38:53] huh what does the mobile.htmlHeader property do? [00:38:57] you don't? [00:39:08] it changes the message [00:39:14] but I don't know what for [00:39:23] the default from desktop is fine [00:39:30] and more consistent with everything else [00:39:34] in English [00:39:45] because in Polish both messages were translated the same way [00:39:45] ok well, the patch restores login in master back to what is currently in production everywhere [00:40:04] I can merge it and follow up with a patch completely removing this code ;) [00:40:24] heh jgonera i think that's the right thing to do - just dbl check the language issue with kenanwang [00:40:30] it would be nice to get rid of that anyway [00:40:41] yep [00:40:51] I'll chat with you jgonera [00:41:21] where did my big W go [00:41:46] oh well [00:41:55] anyway yeah jgonera, that is the right course of action :) [00:43:34] (03CR) 10MaxSem: [C: 032] Change SpecialMobileUserlogin::executeWhenAvailable() back to execute() [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94074 (owner: 10Awjrichards) [00:44:21] (03Merged) 10jenkins-bot: Change SpecialMobileUserlogin::executeWhenAvailable() back to execute() [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94074 (owner: 10Awjrichards) [00:48:42] (03CR) 10Dr0ptp4kt: "Yuri, following up on the ENT_QUOTES question:" [extensions/ZeroRatedMobileAccess] - 10https://gerrit.wikimedia.org/r/93893 (owner: 10Dr0ptp4kt) [00:53:07] is gerrit going hella slow for anyone else? [00:53:47] (03CR) 10Awjrichards: [C: 031] "LGTM; jgonera if you're happy with the JS fixes let's merge." [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/92986 (owner: 10Jdlrobson) [00:54:21] (03PS4) 10Awjrichards: [Card 1366] Add page image to last edited information [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93801 (owner: 10MaxSem) [00:54:28] (03CR) 10jenkins-bot: [V: 04-1] [Card 1366] Add page image to last edited information [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93801 (owner: 10MaxSem) [00:56:21] (03CR) 10Awjrichards: [C: 032] [Card 1366] Add page image to last edited information [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93801 (owner: 10MaxSem) [00:56:28] (03CR) 10jenkins-bot: [V: 04-1] [Card 1366] Add page image to last edited information [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93801 (owner: 10MaxSem) [00:57:57] awjr, you can't merge it without the dependency anyway [00:58:14] MaxSem: ? [00:58:29] ^^^^ [00:58:30] oh MaxSem, you mean the dependency i merged? [00:58:40] :p [00:59:10] awjr, no - https://gerrit.wikimedia.org/r/#/c/93431 [00:59:16] man im getting timeouts from gerrit [00:59:22] oh [00:59:26] damn [00:59:33] didnt notice that [01:00:12] these crazy dependency chains are tough [01:01:12] *I usually prefer to get first change merged before starting the second one [01:01:20] slower, but less PITA [01:01:28] kenanwang, do you have 2 minutes now? [01:01:50] yeah; same - but since it had a story card # on it i thought it was a standalone and i didn't check if it had deps [01:01:50] oh well [01:02:21] yeah [01:12:48] hey back [01:12:49] causing jgonera lots of laughter [01:13:16] awjr: thanks for fixing that issue with the login [01:13:26] (03CR) 10JGonera: [C: 032] Enable photo upload progress bar 1/2 [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94061 (owner: 10Jdlrobson) [01:13:31] np jdlrobson how are you r teeth [01:14:08] (03Merged) 10jenkins-bot: Enable photo upload progress bar 1/2 [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94061 (owner: 10Jdlrobson) [01:14:29] jdlrobson: if you fix kaldari's concerns im happy to merge https://gerrit.wikimedia.org/r/#/c/93431/5 [01:14:40] kaldari: what name would you suggest? [01:14:48] awjr: half my mouth is out of action [01:14:50] overlayCrhome? [01:14:54] i'm trying not to drool [01:14:57] hhehehe [01:15:04] awjr: but overlayChrome is a bad name since we are changing overlay styling.. [01:15:04] me too but my mouth is fine :p [01:15:08] gah [01:15:11] specialPageChrome? [01:15:18] ok that will do [01:15:19] sometimesChromeForSpecialPages [01:15:23] $dontShowSearchAndFooter [01:15:32] or something like that [01:15:38] ^ jgonera any opinions [01:15:40] that actually says what it does [01:15:57] disableSearchAndFooter? [01:16:04] what's that coming over the hill? is it a bike shed? is it a bike sheddddd ;-) [01:16:08] yeah, that's better than my suggestion :) [01:16:17] or hideSearchAndFooter [01:16:20] even shorter [01:16:23] but they [01:16:23] $bikeShedOverThisVarName [01:16:31] hey, do you know how to get jenkins to run maintenance/checkLess.php for extensions? It does it for core but I don't think for MobileFrontend, etc. E.g. https://integration.wikimedia.org/ci/job/mwext-MobileFrontend-lint/6459/console [01:16:34] i like awjr's suggestion [01:16:38] but they're not there at all, hide suggests something like display: none ;) [01:16:49] ok i'm going with disable [01:16:50] going once [01:16:54] going twice [01:16:54] sounds good [01:16:59] SOLD at disableSearchAndFooter [01:22:12] (03PS6) 10Jdlrobson: Make Special:UserProfile look like an article page [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93431 [01:22:14] ^ kaldari jgonera awjr MaxSem BOOM [01:22:34] it explodes, no hope? [01:22:35] Any opinion on whether edits to the UserProfile should show up in RecentChanges or not? [01:22:41] MaxSem: ^ [01:22:56] kaldari, how are you going to store it? [01:23:08] i would say probably not, at least not until userprofile is something in stable [01:23:15] (03PS7) 10Awjrichards: Card 1362: Show last edit on Special:UserProfile [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93514 (owner: 10Jdlrobson) [01:24:43] It's stored as a WikiPage so that we don't have to create interfaces for flagging, oversighting, unflagging, unoversighting, etc. Currently my plans is to store it as a subpage of the UserPage. [01:26:01] if it's an ordinary page, it should be featured in RC as usual [01:26:46] Cool, I won't suppress it then. [01:27:02] anybody else getting intermittent gerrit timeouts? [01:29:00] PHOTO UPLOAD BAR [01:29:01] WOOOOO [01:29:13] (PROGRESS FOR PROGRESS!) [01:29:22] (03CR) 10JGonera: [C: 032] Enable photo upload progress bar 2/2 [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94068 (owner: 10Jdlrobson) [01:29:24] kaldari: yeh but it in RC [01:29:41] gahhh gerrit is killing me [01:29:54] (03Merged) 10jenkins-bot: Enable photo upload progress bar 2/2 [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94068 (owner: 10Jdlrobson) [01:30:12] awjr: in what way? [01:30:21] jdlrobson: it keeps timing out [01:30:24] and is going super slow [01:30:25] erg [01:30:28] it's working for me [01:30:34] it's been like this for the last 90 mins or so [01:30:45] (03CR) 10JGonera: [C: 032] Story 1301: Measure infobox view time [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/92986 (owner: 10Jdlrobson) [01:31:00] awjr: try a different browser and see if that's any better? [01:31:09] (03CR) 10JGonera: [C: 04-2] "WIP" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94078 (owner: 10JGonera) [01:31:11] psh [01:31:21] (03Merged) 10jenkins-bot: Story 1301: Measure infobox view time [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/92986 (owner: 10Jdlrobson) [01:31:46] kaldari can you merge https://gerrit.wikimedia.org/r/93431 then? [01:32:05] yes... [01:32:11] (03CR) 10Kaldari: [C: 032] Make Special:UserProfile look like an article page [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93431 (owner: 10Jdlrobson) [01:32:17] (03PS5) 10Jdlrobson: [Card 1366] Add page image to last edited information [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93801 (owner: 10MaxSem) [01:32:27] :D [01:32:49] (03Merged) 10jenkins-bot: Make Special:UserProfile look like an article page [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93431 (owner: 10Jdlrobson) [01:32:53] so i'm pretty confident the other 2 should be ready to go since Max and I worked on them [01:33:02] jdlrobson, are you interested in https://gerrit.wikimedia.org/r/#/c/90679/ or should I abandon it? [01:33:43] jgonera: first i've seen of it. I'll take a look tomorrow. It seems like it will be useful and is uncontroversial [01:34:18] actually what happens if you set $options['override-height'] to false? [01:34:25] or auto [01:34:29] doesn't that have the same effect? [01:36:57] (03CR) 10Awjrichards: [C: 04-1] "(1 comment)" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93514 (owner: 10Jdlrobson) [01:37:34] jdlrobson: you will be mad at me but I -1'd 93514 [01:37:49] once that's fixed though i think that and its dependent can be merged [01:43:06] awjr: looking [01:43:41] awjr: how about getLastEditHtml ? [01:43:52] i'll need to change the thanks and upload one too to be consistent.. [01:44:05] actually can i do that in a follow up commit? [01:45:54] jdlrobson: Hey im still not geting data for ge [01:46:03] Getting started jdlrobson [01:46:12] 1s kenanwang [01:46:19] (03PS1) 10Jdlrobson: Hygiene: Give more meaningful function names and add documentation [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94085 [01:46:21] ^ awjr i did a follow up to keep things tidier [01:46:25] can you +2 on that basis? [01:46:44] sure jdlrobson, gimme a minute to get back to it [01:46:53] (03CR) 10Jdlrobson: "(1 comment)" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93514 (owner: 10Jdlrobson) [01:47:24] kenanwang: i'm seeing a few on MobileWebCta_5972684 [01:47:31] actually wait.. no i'm not [01:47:32] mm [01:47:44] let me explore.. [01:48:48] kenanwang: o_O Validation error against schema MobileWebCta: Unknown schema: MobileWebCta [01:49:23] Hmm did it still not get deployed? [01:49:47] kenanwang: i'm not sure what's going on.. it's in master [01:51:00] (03CR) 10Awjrichards: [C: 032] Card 1362: Show last edit on Special:UserProfile [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93514 (owner: 10Jdlrobson) [01:51:21] kenanwang: seems to be on mediawiki.org [01:51:33] (03Merged) 10jenkins-bot: Card 1362: Show last edit on Special:UserProfile [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93514 (owner: 10Jdlrobson) [01:51:33] kenanwang: i just triggered an event [01:51:37] so i guess it will go to enwiki tomorrow [01:52:40] kenanwang: interestingly the random feature in alpha is getting a little usage on the small amount of projects it is deployed too [01:52:46] *deployed to [01:52:55] Random in alpha? [01:53:03] kenanwang: yup [01:53:06] awjr: one more for you :) https://gerrit.wikimedia.org/r/#/c/93801/ [01:53:17] although it has a dependency :( [01:53:21] (03PS6) 10Jdlrobson: [Card 1366] Add page image to last edited information [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93801 (owner: 10MaxSem) [01:53:30] oh but it has been merged! yet! [01:53:32] *yey [01:53:41] https://gerrit.wikimedia.org/r/#/c/93801/ < kaldari you can help here too :) [01:53:51] (03CR) 10Awjrichards: [C: 032] Hygiene: Give more meaningful function names and add documentation [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94085 (owner: 10Jdlrobson) [01:54:00] would be nice for all the profile changes so far to go through in the next train [01:54:34] jdlrobson: i alrady merged the dependency on pageimages [01:54:58] awjr: yup so no problems with adding the image to the profile last edit card :) [01:55:11] yah [01:55:22] (03Merged) 10jenkins-bot: Hygiene: Give more meaningful function names and add documentation [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94085 (owner: 10Jdlrobson) [02:13:23] ergh sorry jdlrobson got pulled away, im testing https://gerrit.wikimedia.org/r/#/c/93801/6 now [02:15:04] np thanks awjr [02:15:49] for some reason cors is not working right for me locally :| [02:16:54] i dont know if it's something that's gone sideways in MF, core or my setup [02:17:13] jdlrobson: do you have cors set up locally for testing? [02:17:25] awjr: whoops messaged you in wrong channel :) [02:17:29] awjr: no why do you need cors? [02:17:35] np [02:18:05] also awjr if https://gerrit.wikimedia.org/r/93988 gets merged that means story 1301 can be considered complete [02:18:23] awjr: you can test CORS stuff on beta labs [02:18:26] oh nm jdlrobson figured out my problem [02:19:12] hmm although for some reason Special:UserProfile is showing that i have 0 uploads even though that is not true [02:19:46] oo progress bar! [02:19:46] awjr: which wiki? [02:19:50] awjr: :D [02:19:55] local [02:20:01] are you sure it is not true? [02:20:09] heh yes [02:20:15] i just uploaded yet another image and it is still showing 0 [02:20:25] is the upload checker looking only at the local wiki? [02:23:42] (03PS7) 10Kaldari: WIP: Allow users to modify their UserProfile intro [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93018 [02:27:44] awjr: where did it upload to? [02:27:55] jdlrobson: it uploaded to my upload wiki [02:28:03] also what's value of $wgMFPhotoUploadWiki [02:28:09] so i wonder if there's something wrong with the count code checking the upload wiki [02:28:20] but i dont think it's related to that patchset [02:28:28] awjr: check your LocalSettings as $wgMFPhotoUploadWiki should be null [02:28:40] jdlrobson: wait wha? [02:28:52] i upload to another wiki [02:29:02] i've tried to get my setup close to production [02:29:34] (hence needing CORS working right, having a separate upload wiki, etc) [02:30:19] (03CR) 10Awjrichards: [C: 032] [Card 1366] Add page image to last edited information [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93801 (owner: 10MaxSem) [02:30:24] meh [02:30:34] jdlrobson: im rushing to get out of here, i need to cook [02:30:50] (03Merged) 10jenkins-bot: [Card 1366] Add page image to last edited information [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93801 (owner: 10MaxSem) [02:30:52] haha woops [02:31:09] see you 2mo [02:31:09] but at least all of those patchsets are merged now :) [03:38:32] (03PS1) 10Yuvipanda: Recognize `lead` and `nonlead` section specifications in the Api [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94093 [04:12:43] (03CR) 10Legoktm: "(1 comment)" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94093 (owner: 10Yuvipanda) [04:13:46] $sections = array_flip( array_map( 'trim', explode( '|', $str ) ) ); <-- Why doesn't the module use the normal API method of doing that? [04:14:33] ApiBase::PARAM_MULTI [04:14:58] YuviPanda: the word 'nonlead' sounds weird to me. [04:26:08] YuviPanda: where r u [04:26:19] (03CR) 10CSteipp: [C: 031] "After looking at this with Adam, it should be fine. Since the decoded value is run through urlencode anyway, there shouldn't be a way to b" [extensions/ZeroRatedMobileAccess] - 10https://gerrit.wikimedia.org/r/93893 (owner: 10Dr0ptp4kt) [04:33:00] legoktm: sure, but what else to call it? [04:33:01] jdlrobson: at the office, showing a friend around. Will prolly leave for dinner in a bit [04:33:01] legoktm: i can't come up with a better name [04:33:24] Yeah, neither could I. [06:11:39] (03PS7) 10Mgrover: fix notification overlay automation test [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/92488 [07:00:05] (03CR) 10Yuvipanda: "(1 comment)" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94093 (owner: 10Yuvipanda) [07:50:26] [[Zero:401-01]]; Yurik; my test ip; https://meta.wikimedia.org/w/index.php?diff=6287203&oldid=6278194&rcid=4655288 [08:02:41] [[Zero:401-01]]; Yurik; -bannerWarning per partner request; https://meta.wikimedia.org/w/index.php?diff=6287284&oldid=6287203&rcid=4655299 [08:32:47] [[Zero:401-01]]; Yurik; removed testing IP, leaving as enabled per partner req; https://meta.wikimedia.org/w/index.php?diff=6287504&oldid=6287284&rcid=4655306 [08:50:05] (03CR) 10Siebrand: [C: 031] "i18n/L10n reviewed." [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/92002 (owner: 10Jdlrobson) [09:15:28] (03CR) 10Yurik: [C: 032] "sounds good, will try to remember to remove once mobile is updated" [extensions/ZeroRatedMobileAccess] - 10https://gerrit.wikimedia.org/r/93893 (owner: 10Dr0ptp4kt) [09:15:45] (03Merged) 10jenkins-bot: Make clicks on "Yes" for Desktop interstitial redirect properly. [extensions/ZeroRatedMobileAccess] - 10https://gerrit.wikimedia.org/r/93893 (owner: 10Dr0ptp4kt) [09:29:54] MaxSem: something keeps setting my "forceHTTPS" [09:29:57] is that a new feature? [09:30:38] i can always work around it by using privacy mode [09:30:45] but just curious i guess [09:33:09] hi MaxSem! [09:33:15] hey [09:33:16] MaxSem: did you get my email? [09:33:41] yurik, the cookie isn't new, but there might've been new changes around it [09:34:06] not a biggie i guess [09:34:08] thx max [09:36:14] YuviPanda, looking [09:36:20] MaxSem: woo, thanks! :D [09:37:02] YuviPanda, first of all, 'lead' isn't needed as you can just use 0 [09:37:23] MaxSem: sure. added it for symettry with 'nonlead' [09:37:31] I"m happy to remove that [09:37:42] if you think that is unnecessary bloat [09:37:43] I like it tho [09:38:01] second, isn't lead WP-centric? [09:38:31] well, we can make it 'first' and 'rest' [09:38:34] which is accurate [09:38:38] and generic enough [09:39:33] MaxSem: want me to amend that patch with those changes/ [09:39:34] ? [09:39:38] 'first' and 'rest' [09:39:44] mmm [09:40:30] if 'first' is killed, 'rest' makes no sense. also, it'd better be clear even without context [09:40:41] indeed, so I suggest we keep 'first' and 'rest' [09:42:00] (03PS2) 10Yuvipanda: Recognize `first` and `rest` section specifications in the Api [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94093 [09:42:02] MaxSem: ^ [09:42:08] yurik, what do you think^^^? [09:42:31] looking... [09:42:46] *eventually* the app will just move to using the parsoid service and its content API, but that's severl months away... [09:44:22] boo, PDF will use it next week!:P [09:44:44] heh, SURE! :P [09:45:31] yurik: thoughts? I'd want to convince MaxSem to merge it soon, so I can go to sleep *and* this gets deployed tomorrow [09:45:47] YuviPanda: sec, commenting :) [09:47:47] YuviPanda, sleep assured that I'll fix it myslef [09:49:32] wooohoo MaxSem! [09:49:43] MaxSem: thanks! [09:50:42] (03CR) 10Yurik: [C: 04-1] "(3 comments)" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94093 (owner: 10Yuvipanda) [09:50:56] MaxSem: ^ [09:52:20] fixing [09:55:31] MaxSem: yurik ^ [09:55:56] YuviPanda: ? [09:55:57] (03PS3) 10Yuvipanda: Recognize `first` and `rest` section specifications in the Api [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94093 [09:56:04] yurik: ^ i mean [09:56:12] (03CR) 10Yuvipanda: "(1 comment)" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94093 (owner: 10Yuvipanda) [09:56:18] YuviPanda: you meant "v" [09:56:22] heh [09:56:28] got it right the second time :D [09:56:59] go to bed Yuvi, we'll take care of the rest [09:57:34] :D [09:57:39] ok! will do now [09:57:42] thanks! [10:05:32] YuviPanda|away: not really, but will let max fix it :)))) [10:05:44] (re "got it right" :P ) [10:08:37] MaxSem: i will fix it up a bit and commit [10:49:29] MaxSem: tut? [10:49:37] da [10:51:21] MaxSem: i'm a bit confused - what does $data['sections'] contain? all sections with the header, or excluding the header? [10:52:36] with it [10:55:17] yurik, need help? [10:55:49] no no, fine so far, just fixing up the logic a bit, give me another sec [10:55:55] (had to step away for a few) [10:59:22] afk, will be back in a couple hours [13:05:18] yurik, I'm back [13:14:38] (03PS1) 10Yurik: Bug 56704: Allow mobileview api to handle section ranges [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94127 [13:14:38] MaxSem: commiting [13:14:42] ^ [13:19:15] MaxSem: thoughts? [13:25:03] MaxSem: brb [13:41:07] (03CR) 10Siebrand: [C: 031] "i18n/L10n reviewed." [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/82050 (owner: 10MaxSem) [13:54:37] MaxSem: ping [13:54:41] any q for me? [13:54:54] i have a class in 5 min [14:02:41] yurik, that looks huge and without tests I'm not confident [14:18:29] (03PS8) 10Cmcmahon: fix notification overlay automation test [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/92488 (owner: 10Mgrover) [14:19:37] (03CR) 10Cmcmahon: [C: 032] fix notification overlay automation test [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/92488 (owner: 10Mgrover) [14:20:10] (03Merged) 10jenkins-bot: fix notification overlay automation test [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/92488 (owner: 10Mgrover) [14:51:43] yurik, found a few edge cases - fixing [15:12:59] MaxSem: hey [15:16:42] hell I love unit tests [15:25:12] (03PS2) 10MaxSem: Bug 56704: Allow mobileview api to handle section ranges [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94127 (owner: 10Yurik) [15:25:30] yurik, feel free to merge:) [15:26:25] (03CR) 10MaxSem: [C: 031] Bug 56704: Allow mobileview api to handle section ranges [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94127 (owner: 10Yurik) [15:35:10] MaxSem: why do you want to use regex for splitting? slower and doesn't add any value imho [15:35:34] because it has PREG_SPLIT_NO_EMPTY [15:35:50] once you have tests, the difference is noticeable;) [15:41:15] MaxSem: true, and i agree i miseed that case, but wouldn't it be easier to just add an extra test for it and skip it? [15:41:29] i suspect that running a full regex like that costs much more [15:43:49] we're talking about a microsecond in a module that runs for 300ms on average [15:44:12] yurik, ^ [15:44:40] MaxSem: as they say, if you problem and solve it with regex, you now have two problems ;) [15:44:49] i prefer to use regex when its clear advantage [15:44:54] of complex patterns [15:45:04] meh [15:45:12] in this case i would really insist on checking extra case [15:45:22] i will fix the case [15:46:11] MaxSem: also, are you sure we should sort it? [15:46:17] up to you really [15:46:32] just that if it was specified in a weird way, why bother :) [15:46:34] (03PS3) 10MaxSem: Bug 56704: Allow mobileview api to handle section ranges [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94127 (owner: 10Yurik) [15:48:51] MaxSem: and why public? someone else uses it? [15:49:02] to test;) [15:49:09] oh [15:49:11] hmm [15:49:13] bleh [15:49:15] ok [15:57:13] yurik, merge? [15:57:21] sec [15:59:12] (03CR) 10Yurik: [C: 031] Bug 56704: Allow mobileview api to handle section ranges [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94127 (owner: 10Yurik) [15:59:20] MaxSem: % [15:59:36] too lazy for +2?: [15:59:37] P [15:59:50] MaxSem: i wrote most of it - i shouldn't +2 :-P [15:59:52] (03CR) 10MaxSem: [C: 032] Bug 56704: Allow mobileview api to handle section ranges [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94127 (owner: 10Yurik) [16:00:57] (03Merged) 10jenkins-bot: Bug 56704: Allow mobileview api to handle section ranges [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94127 (owner: 10Yurik) [16:01:48] MaxSem: i guess we should abandon the other patch [16:02:32] (03Abandoned) 10MaxSem: Recognize `first` and `rest` section specifications in the Api [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94093 (owner: 10Yuvipanda) [16:05:00] thx :) [17:40:00] (03PS1) 10Jdlrobson: Use getUrl rather than wikiGetlink [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94162 [17:53:08] awjr, I've fixed https://gerrit.wikimedia.org/r/#/c/88903/ [17:53:35] cool thanks MaxSem, will look after i get through my mtgs [18:16:07] kaldari or awjr, I would really appreciate your help with a couple of core changes: https://gerrit.wikimedia.org/r/#/c/92598 and https://gerrit.wikimedia.org/r/92588 [18:21:03] MaxSem: I'll take a look [18:21:10] thanks:) [18:24:11] MaxSem: thanks a lot :D [18:24:19] MaxSem: although that means I still have no patches in MF :P [18:24:21] but 'tis k! [18:24:37] good morning Yuvi [18:24:52] I can give you a card if you like:P [18:25:02] MINGLEEEE! [18:25:03] no :P [18:25:08] and you should thank Yurik who did most of the work:) [18:25:20] :D yurik ^ ty [18:25:23] :) [18:25:29] you are welcome :0 [18:25:31] :) [18:25:36] MaxSem: I might add more API stuff in the future, though not sure if I"ll do that in MF itself or in a separate extension [18:25:51] combining action=opensearch with a pageimages thing, for one [18:25:57] and i think MaxSem did much more important work - testing :) [18:26:15] YuviPanda|away, ever heard of OpenSearchXML? [18:26:55] MaxSem: how does that help? [18:26:56] * YuviPanda|away checks [18:27:30] it does what you want [18:27:35] MaxSem: oh, it gives me descriptions by default? [18:28:02] MaxSem: i see description, url and text [18:28:06] MaxSem: no image [18:28:54] well, OpenSearch is not something Wikipedia had invented, so you can't alter its JSON output however you like [18:29:07] MaxSem: sure, I don't require it to be in opensearch format :P [18:29:15] MaxSem: just would like to use the search backend and augment it [18:29:22] yet there's a M$ XML extension that tells you more - including images [18:29:38] but then I'll have to XML! [18:29:42] called OpenSearchXML [18:29:46] and it has images [18:30:08] MaxSem: wait, do we have that deployed somehwere? [18:30:11] or does it need someone to write it [18:30:17] hell [18:30:27] it's beel live for 8 years [18:30:31] *been [18:30:38] which reminds me, I need to switch it to use PageImages [18:31:32] MaxSem: is it format=xml in action=opensearch? [18:31:34] MaxSem: if so I don't see images [18:32:05] MaxSem: actually, I *do* see them! [18:32:29] MaxSem: just that the image selections are... kinda shitty [18:32:31] and unexpected [18:32:41] switch them to PageImages! [18:32:41] (03PS1) 10Jdlrobson: Make debug=true work again [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94171 [18:32:50] that's why PI can improve it [18:33:08] indeeed [18:33:09] dammit, I just need to flip one setting [18:33:14] it's currently rather shitty [18:33:17] waaah! [18:33:18] DO IT! [18:34:38] [[Zero:401-01]]; Dfoy (WMF); [none]; https://meta.wikimedia.org/w/index.php?diff=6292921&oldid=6287504&rcid=4655960 [18:35:12] brion: mhurd https://gerrit.wikimedia.org/r/#/c/94127/ got merged, so we've a simple way of getting the first section vs the rest of the sections [18:35:24] YuviPanda: :) [18:35:46] MaxSem: we should also make that same info available via JSON [18:35:56] MaxSem: maybe even with a different name [18:35:56] you can't [18:36:04] MaxSem: why not? [18:36:09] different names suck:P [18:36:44] MaxSem: we already have format= and format= with opensearch :P [18:36:57] http://en.wikipedia.org/wiki/Special:ApiSandbox#action=opensearch&format=json&search=India&limit=5&suggest=&format=xml [18:38:48] okay, off to the office [18:39:04] MaxSem: thanks for the help! and make opensearchxml image picking not suck! [18:43:19] \o/ [18:55:34] YuviPanda, it managed to get bitrotten a bit:) https://gerrit.wikimedia.org/r/94178 [20:02:24] jdlrobson, how to verify https://gerrit.wikimedia.org/r/#/c/94171/ ? [20:02:44] MaxSem: append debug=true on the end of the URL and don't see JavaScript exceptions in your console :) [20:02:48] or run make qunitdebug [20:02:55] and obviously check everything works as expected.. [20:03:43] dunno - I don't see errors without it [20:04:53] jdlrobson, ^^ [20:05:11] without the patch? [20:05:20] try Special:Nearby or Special:Uploads [20:07:15] aha [20:07:30] (03CR) 10MaxSem: [C: 032] "Fixes the problem for me." [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94171 (owner: 10Jdlrobson) [20:07:46] :D [20:07:57] MaxSem: i have some patches in my git that you are going to LOVE [20:08:18] I have a bad feeling about it... [20:08:21] go on:P [20:09:47] (03Merged) 10jenkins-bot: Make debug=true work again [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94171 (owner: 10Jdlrobson) [20:11:05] MaxSem: imagine a world where there the HtmlFormatter doesn't run on the mobile skin and is only used by the API. [20:11:47] jdlrobson, we can do this right now by removing 1 line [20:11:59] … but imagine toggling still works [20:12:15] MaxSem: checking [20:12:25] ...before it gets tested by me:P [20:12:32] MaxSem: GagaImages? :P [20:12:55] copypasta from Gadgets [20:13:17] heh [20:16:20] MaxSem: is CirrusSearch deployed on enwiki as a secondary? [20:16:31] MaxSem: the description snippets on this kinda suck [20:16:35] ask ^chad?:) [20:16:37] because templates are stripped [20:16:53] heh [20:17:04] note that it's not Cirrus that extracts texts [20:17:14] it's OSXML [20:17:26] ooh opensearchxml [20:17:28] wat [20:17:28] that brings me back [20:17:48] MaxSem: OSXML does a page fetch then 'extracts' a page snippet out of it? [20:17:51] I can also plug prop=extracts into it [20:18:03] it's a fun old hack \o/ [20:18:05] but it has scary wrost-case behaviour [20:18:14] does current IE even still support open search xml? [20:19:13] opensearch itself is rather popular [20:19:52] as of IE, they maintain lots of poop they added to it after heavy drug abuse because [20:19:55] ... [20:20:04] ENTERPRISE B/C!!!!!!!!! [20:20:18] we really should have a way to get what the opensearchxml thing provides us [20:20:21] but in JSON [20:20:38] I don't really want to add XML API parsing to the app just for one API [20:20:46] let me see if I can get the stats... [20:21:08] (03PS8) 10Kaldari: Allow users to modify their UserProfile intro [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93018 [20:22:38] (03CR) 10jenkins-bot: [V: 04-1] Allow users to modify their UserProfile intro [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93018 (owner: 10Kaldari) [20:23:34] jdlrobson: can you remove the -2 on https://gerrit.wikimedia.org/r/#/c/93018/ now? [20:23:56] kaldari: you can remove it yourself if you are happy my reason for -2 is no longer valid :) [20:24:05] jdlrobson: Could you (or somebody else) reply inline https://gerrit.wikimedia.org/r/93490 ? ;) [20:24:22] hoo: i'll take a look a bit later don't worry it's on my radar [20:24:30] jdlrobson: cool, I deleted you [20:24:50] kaldari: just readd me ;-) [20:24:51] Ok :) [20:24:56] looks like I need to rebase it again [20:29:16] (03PS9) 10Kaldari: Allow users to modify their UserProfile intro [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93018 [20:34:32] brion, so format=xml is 3.9M requests today vs. 45M for format=json [20:34:49] IE lives.... [20:35:06] heh [20:36:33] definitely worth supporting... [20:39:07] (03CR) 10Kaldari: [C: 04-1] "Needs a localized edit summary" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93018 (owner: 10Kaldari) [20:41:33] speaking of which.... there's no reason we shouldn't move extracts outside of MF. brion, do you think extracts can be integrated into core or a separate extension is more appropriate? [20:41:57] MaxSem: i think we should at least have a pluggable interface for it in core, like we have for prefix searching [20:42:06] which gets replaced by extensions for more flexibility [20:42:27] that'll also make it easier for multiple places to use the same interface to get their extracts [20:43:00] yep - because WP and wikt have completely different document structure [20:43:24] oh wiktionary [20:43:29] it really needs to be replaced with wikidata ;) [21:36:29] (03PS5) 10Dr0ptp4kt: When proxied, don't show banners unless proxy is known to be zero-rated. [extensions/ZeroRatedMobileAccess] - 10https://gerrit.wikimedia.org/r/92027 [21:37:04] YuviPanda: ping [21:37:54] (03PS6) 10Dr0ptp4kt: When proxied, don't show banners unless proxy is known to be zero-rated. [extensions/ZeroRatedMobileAccess] - 10https://gerrit.wikimedia.org/r/92027 [21:41:14] ^^^^yurik changes to reflect "OPERA" or "TEST" for XFB instead of "-OPERA" or "-TEST". just sayin' [21:41:35] we'll still need that vcl approved [21:50:00] violetto1: pong [21:50:31] (03PS1) 10Jdlrobson: Hygiene: Fix upstream skin mobile to skin minerva fail... [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94242 [21:50:32] (03PS1) 10Jdlrobson: Hygiene: Remove unused template variable in SkinMobile [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94243 [21:50:33] (03PS1) 10Jdlrobson: Upstream: Mobile skin code to Minerva skin code [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94244 [21:50:33] BOOM [21:50:34] (03PS1) 10Jdlrobson: Alpha: Experiment to collapse sections in JavaScript [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94245 [21:50:35] (03PS1) 10Jdlrobson: Minerva: Make it possible to run toggling code on desktop skin [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94246 [21:50:36] (03PS1) 10Jdlrobson: Hygiene: The big skin cleanup [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94247 [21:50:49] MaxSem: lots for you to chew over there ;-) [21:51:37] (03CR) 10Jdlrobson: [C: 04-2] "Dependent on a core change" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94247 (owner: 10Jdlrobson) [21:51:57] our footer code is ridiculous :) [21:52:39] \o/ [21:52:56] jdlrobson, all MW ski n code is ridiculous [21:53:01] *skin [21:53:03] MaxSem :) [21:53:11] MaxSem: PHP code sniffer - https://gerrit.wikimedia.org/r/#/c/94239/1 [22:00:09] (03Abandoned) 10Jdlrobson: POC: Do section collapsing without wrapping [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/92555 (owner: 10Jdlrobson) [22:01:07] YuviPanda: mhurd: brion : were in r37 [22:05:17] (03PS10) 10Kaldari: Allow users to modify their UserProfile intro [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93018 [22:10:26] (03PS11) 10Kaldari: Allow users to modify their UserProfile intro [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93018 [22:10:41] (03CR) 10MaxSem: [C: 032] "heh." [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94242 (owner: 10Jdlrobson) [22:10:42] (03PS2) 10Jdlrobson: Use getUrl rather than wikiGetlink [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94162 [22:10:57] (03CR) 10Kaldari: [C: 04-2] "-2 per dependency. Otherwise ready to review." [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93018 (owner: 10Kaldari) [22:11:18] jdlrobson, are you living my time cuz it's still Thursday in SF?:P [22:11:34] jdlrobson: I re-2ed https://gerrit.wikimedia.org/r/#/c/93018/, but only because it has a small core dependency. Otherwise it is totally ready for review. [22:11:38] MaxSem: hmm? [22:12:26] jdlrobson, hygiene [22:12:36] tomorrow for you, today for me [22:12:54] :) [22:13:09] MaxSem: i'm waiting for kaity to come out a meeting [22:13:18] kaldari: taking a look at your profile stuff now :) [22:15:30] (03CR) 10MaxSem: [C: 032] Hygiene: Remove unused template variable in SkinMobile [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94243 (owner: 10Jdlrobson) [22:16:37] hmm, no merge? o_0 [22:16:58] so many meetings! [22:17:17] kaity: :-S [22:18:57] YuviPanda, any luck reviewing https://gerrit.wikimedia.org/r/94178 ? :P [22:24:07] (03CR) 10Jdlrobson: [C: 04-1] "(9 comments)" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93018 (owner: 10Kaldari) [22:25:05] (03PS1) 10Cmcmahon: text and target for 'Terms of use' link changed [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94266 [22:25:24] (03Merged) 10jenkins-bot: Hygiene: Fix upstream skin mobile to skin minerva fail... [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94242 (owner: 10Jdlrobson) [22:28:02] (03PS2) 10Jdlrobson: Hygiene: The big skin cleanup [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94247 [22:29:33] MaxSem: looks like we'll be using wikidata based search for the app [22:30:02] (03Merged) 10jenkins-bot: Hygiene: Remove unused template variable in SkinMobile [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94243 (owner: 10Jdlrobson) [22:31:23] legoktm: do you know which API the search box in the Wikidata site uses? [22:32:20] (03CR) 10Kaldari: "(1 comment)" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93018 (owner: 10Kaldari) [22:38:09] (03PS4) 10JGonera: Story 1289: Promote image viewer overlay to beta [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93908 [22:38:55] (03CR) 10JGonera: "Dependency merged and to be deployed today." [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93908 (owner: 10JGonera) [22:41:32] jdlrobson, profiles broken on master [22:41:32] Fatal error: Call to undefined method PageImages::getPageImage() in /home/jgonera/www/extensions/MobileFrontend/includes/specials/SpecialUserProfile.php on line 108 [22:42:17] jgonera: you probably need to update pageimages [22:42:27] i merged a change to it yesterday that added that method [22:42:34] awjr, right, thought about that after writing this [22:42:38] :) [22:44:22] (03PS1) 10Cmcmahon: attempt to get around bogus failure to type password [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94273 [22:47:25] (03PS2) 10Cmcmahon: attempt to get around bogus failure to type password [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94273 [22:49:48] (03CR) 10Cmcmahon: "I am not sure this is a great idea, please review. Arthur pointed out the failure noted in https://saucelabs.com/jobs/bf3a3d36bf01442ba1c" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/94273 (owner: 10Cmcmahon) [22:54:28] awjr: I think I fixed those browser tests, thanks for the email. the one was just maintenance, the other is probably OK, but I'd like a few more eyeballs [22:54:43] jcmish: ^^ [22:54:56] woohoo! [22:54:56] thanks chrismcmahon [22:55:14] tfinc: climb today? [22:57:15] looking chrismcmahon can you review my notification fix [22:57:24] jgonera/kaldari any chance of you guys getting through the limn graph patchsets? [22:57:45] awjr, I can go through them today if kaldari doesn't [22:57:53] and if he does, let me know and I'll deploy them [22:58:02] jcmish: pretty sure I +2ededed the notifications fix first thing this morning? [22:58:04] groovy thanks jgonera [22:58:07] oh sweet [22:58:08] I still need to go through all of the diffview changes in core [22:58:18] must be buried in my email [22:58:44] so the way I used rescue was cool chrismcmahon [22:59:05] jcmish: I think it is cleaner than a bunch of if/elses [23:00:21] jgonera: sounds like kaldari is swamped with diffview stuff so if you can get through the limn graph patches that would be super swell [23:00:24] YuviPanda: in api sandbox and already forgot... [23:00:42] ok awjr, will do soon [23:00:45] :D [23:00:59] mhurd: haha! [23:01:12] mhurd: action=mobileview for page content [23:01:30] mhurd: wbsearchentitites for searching via wikidata [23:01:36] mhurd: wbgetentity to get information [23:01:36] :D chrismcmahon good enough [23:01:48] YuviPanda: ah! thanks! [23:01:54] mhurd: :D [23:04:46] YuviPanda: wbsearchentities iirc [23:05:02] legoktm: yeah, was confused because it was giving me shitty results [23:05:06] legoktm: turns out I had continue set to 10 :P [23:05:16] Wikibase search is horrible [23:05:18] legoktm: also, is there a vagrant setup or something for wikidata development? [23:05:31] legoktm: is that search backend based? [23:05:46] https://github.com/SilkeMeyer/wikidata-vagrant says "SORRY, THIS PROJECT IS DISCONTINUED." [23:05:48] or just doing things based off mysql? [23:05:50] meh [23:05:51] aude would know [23:05:55] and idk aobut the search [23:06:19] legoktm: I'm hoping to add a 'site' parameter to wbsearchentities that returns the sitelink for that site with the result [23:06:43] YuviPanda: when you figure out the optimal settings for each of the 3 api hits could you send me the url for each? [23:06:49] mhurd: sure [23:06:55] YuviPanda: thx! [23:07:06] mhurd: also suggest reading up on http://mediawiki.org/wiki/API:Main_page [23:07:10] YuviPanda: you should poke addshore about the API [23:07:20] let me go to a channel where he's on [23:07:36] YuviPanda: will read now [23:08:52] dang i missed the estimation meeting didn't i [23:11:26] YuviPanda: hmmm most of the api intro page stuff is old news. good review though [23:13:55] mhurd: :D yeah [23:13:58] brion: yes you did [23:14:07] sorry guys [23:14:09] how'd it go [23:14:23] mostly 'no change', 'no change', 'okay!' [23:14:24] apartment hunting is wheeeee [23:14:26] ok [23:14:30] brion: we're going to be doing wikidata search from the start [23:14:36] rather than opensearch [23:14:37] <3 awwwweomse [23:14:53] brion: needs a wikidata bug solved tho :( [23:15:08] smallish bug, hopefully [23:15:30] (03CR) 10Kaldari: "(1 comment)" [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93018 (owner: 10Kaldari) [23:18:40] YuviPanda: as mentioned, there is wbsearchentities [23:18:43] it's slow [23:18:57] aude: is it using the search backend? [23:19:02] or just mysql? [23:19:02] no [23:19:04] mysql [23:19:20] would... it be a bad idea to send tons of traffic to it? [23:19:35] improving it is certainly high on our todo list, but we have bazillion things todo [23:20:00] right [23:20:07] YuviPanda: what's the timeline for implementing? [23:20:45] aude: beta release in a month (~10k users), final release to market (~10M users) in about 3-4 months? [23:21:02] probably be okay [23:21:15] for mysql, we need to improve the indexing on the table [23:21:24] right [23:21:27] and considering elastic backend might be nice [23:21:37] *very*, yeah [23:21:44] what kind of searches? [23:21:46] per language? [23:21:57] (03PS12) 10Kaldari: Allow users to modify their UserProfile intro [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/93018 [23:22:05] aude: yeah [23:22:08] ok [23:22:12] searchentities does that [23:22:15] yeah [23:22:20] we dont' do that yet in elastic [23:22:28] we should probably be prepared to have a non-wikdata fallback search, but we know how to do that so we can whip one up quick if we need to witch temporarily [23:22:31] *switch [23:22:39] aude: I know what language I want to search in, though [23:22:41] are there docs for this? [23:22:55] details i can read? [23:22:59] aude: nope, I can write some up. [23:23:01] k [23:23:19] aude: one thing I want is to have wbsearchentities return the sitelink for the target wiki [23:23:45] ok [23:23:46] aude: so if I search for 'Indi', and it has 'India' in the results, I would want to know that the sitelink for enwiki is 'India' [23:23:56] so I don't have to make a second call to wbgetentities [23:23:59] with the QID [23:24:02] probably something we can consider in elastic [23:24:15] aude: do you think returning the sitelink is possibble with the current backend? [23:24:16] if you document the need, maybe in bugzilla or some place :) [23:24:16] mh, that means returning a lot of data [23:24:23] hoo: just a single sitelink? [23:24:33] aude: yeah, I'm writing a bug report as we speak [23:24:43] requires 2 steps, probably not too easily but possible [23:24:44] YuviPanda: You want the API this specific? Like give me the only the enwiki sitelink? [23:24:56] hoo: would be cool :) [23:25:17] hoo: no, as in, add a sitelink=enwiki as a request param? [23:25:19] * aude was trying to enter a site line (cut & paste) from enwiki to enter a claim [23:25:23] site link* [23:25:34] it didn't match, obviously since it looks for label [23:25:54] would be cool if the site link could match (if nothing else found exact, as a label) [23:26:13] so yeah, see use cases :) [23:26:28] aude: Well... I guess 98%+ items have labels equaling the page titles [23:26:44] maybe that high, not sure [23:27:03] when they don't, the "disambiguating" part get eliminated [23:27:13] Bots used to fill theses fields, dunno if we still have some doing that [23:27:56] try finding https://en.wikipedia.org/wiki/A_(New_York_City_Subway_service) in wikidata [23:28:03] :) [23:28:12] not in the entity selector [23:28:42] anyway..... [23:29:12] aude: mh... you can use the item id as super user friendly and intuitive workaround :P [23:29:17] hoo: i did [23:29:46] elastic doesn't magically solve all this though [23:29:56] it will take some time to tweak how it indexes [23:30:05] aude: hoo legoktm https://bugzilla.wikimedia.org/show_bug.cgi?id=56748 [23:30:11] thanks [23:30:24] can you tell me if that makes sense? [23:30:26] Yes... but it's certainly a problem which we *could* solve with enough time... the data is there, we just have to use it properly [23:31:15] YuviPanda: Very doable [23:31:20] wooo! [23:31:21] yep [23:31:39] Only thing I worry about is the code quality of the API module, but that's our problem :P [23:31:40] with wbgetentities you can lookup by siteid + page title [23:31:54] aude: yeah, but I don't want to make that second API call [23:31:56] doesn't do suggestions though [23:31:59] yeah [23:32:19] hoo: the quality of wbsearchentities is poor [23:32:19] As it is now I need to do wbsearcentities for suggestions, then getentities for the actual page title [23:32:20] i just want to make one [23:32:23] Especially on mobile each http request is painful, I guess [23:32:25] and the wb_terms table is slow [23:32:34] hoo: yeah [23:32:36] it's one of the first things we wrote [23:32:50] aude: I know, that's why I mentioned... it already is poor, adding more logic might not make that better :P [23:32:52] do those need to be two requests in serial? [23:32:55] or can be done in parallel? [23:33:02] brion: serial [23:33:08] brion: you need results of one for the other [23:33:12] hoo: ok :) [23:33:16] dang [23:33:22] You need data from search to feed it into the exact lookup (wbgetentities) [23:33:30] yup [23:33:55] hoo: wbgetentities also doesn't let me get sitelink *just* for a particular wiki, so I'll have to get sitelinks for everything and discard a lot of them [23:35:19] brion: https://bugzilla.wikimedia.org/show_bug.cgi?id=56748 is the bug I filed [23:35:32] Indeed... but I'm worried a bit about making APIs overly specific for certain use cases [23:35:54] usually that doesn't matter to much (especially with gzip) [23:36:04] YuviPanda: hey did all your amazon stuff come yesterday or was there anything else? apparently i got two packages today but i was only expecting one :D [23:36:10] hoo: I guess the use case here is general enough - 'search on wikidata but go to wiki' [23:36:17] brion: I... think I got everything y'day [23:36:26] ok i'll find out what it is tomorrow :D [23:36:32] brion: heh [23:36:39] one is a nexus 5 \o/ [23:36:41] YuviPanda: mh... maybe that's worth an own api module then... wbsearchpage or something like that [23:36:47] i don't care about the screen but i want that LTE [23:36:53] which is only there to search stuff on a single wiki [23:36:55] brion: haha! :D [23:37:18] hoo: true, but I guess that's a long way away? [23:37:37] hoo: it'll also need to have the suggestions stuff that wbsearchentities has [23:37:39] so might be more work [23:38:00] Unless someone volunteers or convinces Lydia that it's very important :P [23:38:25] indeed [23:38:54] hoo: in terms of 'finding someone with time to do it', i guess adding sitelinks= is a much faster thing to do [23:38:56] * aude volunteers YuviPanda :) [23:39:25] * hoo should go to bed [23:39:32] chrismcmahon: it'll take me a bit to approve these… there's some failures in different environments [23:39:38] aude: Want to review the totally overthrown linkItem tomorrow afternoon? :P [23:39:59] I'll comment on them after I finish running in all of them [23:40:00] maybe can look :) [23:40:12] aude: I wish there is a wikidata vagrant thing. would've made it a lot more easier for me to just start hacking [23:40:36] YuviPanda: i think we want want in the mediawiki-vagrant [23:40:41] yet another todo [23:40:44] yeah [23:40:46] It's already working especially well... but it needs a bit of polishing... I guess the VE team might also be interested from now on it's possible to link pages with just 5 lines of JS :P [23:41:09] aude: is there a doc page somehwere on setting up a dev environment? [23:41:10] hoo: cool! [23:41:20] jdlrobson, poked at your section code and it doesn't work [23:41:35] probably the Wikibase Repo page on mediawiki.org [23:41:35] MaxSem: Mine? :( [23:41:49] not yours [23:41:58] if you want to use composer, it can install the dependencies of wikibase (might be easier) [23:42:23] aude: looking [23:42:37] you can probably use example settings in wikibase [23:42:39] aude: https://www.mediawiki.org/wiki/Wikibase? [23:43:01] anyway... good night ;) [23:43:02] https://www.mediawiki.org/wiki/Extension:Wikibase_Repo [23:43:23] yeah am there now [23:43:25] don't worry about the client part [23:43:25] * YuviPanda clones [23:43:32] you don't need it probably [23:43:41] don't worry about query extensions [23:44:17] important thing is to run the populateSitesTable script [23:44:59] aude: right [23:45:06] waiting for the clone to complete [23:45:28] k [23:48:00] okay, installing composer now [23:48:53] running composer install [23:54:05] did it work? [23:59:18] aude: nope [23:59:51] aude: https://dpaste.de/TLSq [23:59:58] hmmm