[00:23:02] marktraceur, et al - re: http://lists.wikimedia.org/pipermail/wikitech-l/2014-May/076522.html - Would you or anyone else in here, support or object to having wikibugs in here, and being the main channel for (TimedMediaHandler? MultimediaViewer? UploadWizard? other?) bugs? [00:24:44] Sure. [02:44:44] Keegan: do I have to do anything special if I want to add a section to the MediaViewer FAQ? [02:44:54] I'm not familiar with content translation [02:45:26] You do not. After you save, I'll update the translation mark [06:21:27] I was told to nag here regarding [[bug:65406]] :D [07:21:56] marktraceur: seems high priority, here's the changeset to review: https://gerrit.wikimedia.org/r/#/c/133844/ [08:10:55] (03CR) 10Steinsplitter: [C: 031] Wait until iframe is fully loaded before submitting form [extensions/UploadWizard] - 10https://gerrit.wikimedia.org/r/133844 (https://bugzilla.wikimedia.org/65406) (owner: 10Rillke) [08:27:51] (03CR) 10Rillke: Wait until iframe is fully loaded before submitting form (031 comment) [extensions/UploadWizard] - 10https://gerrit.wikimedia.org/r/133844 (https://bugzilla.wikimedia.org/65406) (owner: 10Rillke) [09:02:54] (03PS2) 10Gilles: Highlight chevron when the wrong direction is pressed [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/133893 [09:15:44] gi11es: bonjour! [09:16:01] hashar: what's up? [09:16:14] gi11es: Zeljkof ne revient que la semaine prochaine. Pas trop de sur de quand on jouera les browsers tests avec Safari :-/ [09:16:55] hashar: c'était pas urgent à ce point là, à mon avis le jour où ce sera dispo on aura juste à copier-coller le job et le faire tourner sur safari [09:17:09] actuellement la probabilité que ce test marche sur chrome et ne marche pas sur safari est faible [09:17:37] ça test pas toutes les fonctionnalités de media viewer en profondeur, juste la base [09:18:00] good enough for now :] [09:18:35] j'ai bon espoir d'y arriver avant fin juin en tout cas [09:25:01] (03PS1) 10Gilles: Record sampling factor in EventLogging calls [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134064 [09:25:38] (03CR) 10jenkins-bot: [V: 04-1] Record sampling factor in EventLogging calls [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134064 (owner: 10Gilles) [09:43:51] (03PS1) 10Gilles: Take sampling factor into account [analytics/multimedia] - 10https://gerrit.wikimedia.org/r/134065 [09:45:01] (03PS2) 10Gilles: Record sampling factor in EventLogging calls [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134064 [09:46:39] (03CR) 10Gilles: "This needs backporting. If there are no concerns and you +2 it, please backport it today Gergo, so that the action graphs start looking no" [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134064 (owner: 10Gilles) [10:31:52] (03CR) 10Steinsplitter: "This patch can be merged immediately because the feature is completely broken." [extensions/UploadWizard] - 10https://gerrit.wikimedia.org/r/133844 (https://bugzilla.wikimedia.org/65406) (owner: 10Rillke) [10:39:33] (03CR) 10Rillke: "Actually it works in Internet Explorer 11. I think I am going to advertise for that browser on COM:VP :)" [extensions/UploadWizard] - 10https://gerrit.wikimedia.org/r/133844 (https://bugzilla.wikimedia.org/65406) (owner: 10Rillke) [11:34:27] hey gi11es, have been trying to set-up tests for one of my commits. it works locally, but not via jenkins … any ideas? https://gerrit.wikimedia.org/r/#/c/133409/ [12:18:01] gi11es: are you reviewing gwtoolset patches this week? [12:59:35] (03PS1) 10Odder: Change preference name for enabling MediaViewer [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134080 [13:00:33] (03CR) 10Odder: "https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/622" [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134080 (owner: 10Odder) [13:24:47] (03CR) 10Rillke: [C: 04-1] Change preference name for enabling MediaViewer (031 comment) [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134080 (owner: 10Odder) [13:25:26] (03CR) 10Nemo bis: "I'm not so convinced: for me, MediaWiki core has a "media viewer" too (thumbnails and file pages). I think you only need to change the wor" [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134080 (owner: 10Odder) [13:37:21] (03PS2) 10Odder: Change preference name for enabling MediaViewer [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134080 [13:38:07] (03CR) 10Odder: Change preference name for enabling MediaViewer (031 comment) [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134080 (owner: 10Odder) [13:48:37] (03CR) 10Rillke: [C: 031] "Thank you." [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134080 (owner: 10Odder) [13:49:29] (03CR) 10Rillke: "> for me, MediaWiki core has a "media viewer"" [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134080 (owner: 10Odder) [13:49:39] (03CR) 10Rillke: [C: 031] Change preference name for enabling MediaViewer [extensions/MultimediaViewer] - 10https://gerrit.wikimedia.org/r/134080 (owner: 10Odder) [13:50:08] sorry ^^ (why does gerrit not remember my +1 ....) [14:15:25] gi11es: Now that's something I can definitely do... :) [14:49:04] (03CR) 10Aaron Schulz: "If the job was already there then it should be tried 3 times before being deleted (about 1 day apart, given the claim TTL). If it failed t" [extensions/TimedMediaHandler] - 10https://gerrit.wikimedia.org/r/133994 (https://bugzilla.wikimedia.org/61401) (owner: 10Brian Wolff) [15:14:45] Has anyone been keeping track of those month-long surveys we've been doing? [15:14:56] Or have some of them become month-and-a-quarter-long? :) [16:18:19] (03CR) 10MarkTraceur: [C: 04-1] Wait until iframe is fully loaded before submitting form (033 comments) [extensions/UploadWizard] - 10https://gerrit.wikimedia.org/r/133844 (https://bugzilla.wikimedia.org/65406) (owner: 10Rillke) [16:18:40] Reviewed; there are some minor issues, rillke [16:33:16] thanks [16:33:24] Of course [16:34:26] marktraceur: http://jshint.com/ and enter return 'javascript:void(0)'; [16:34:52] One warning l.13 - Script URL. [16:35:02] Hm. [16:35:15] gi11es: What was the convention we'd come up with for this? [16:35:46] Oh, you have some secret convention? [16:36:13] Not secret AFAIK [16:37:02] So, did you write them down? [16:37:11] Specifically for iframes? [16:37:21] They might be on a CC page, sec. [16:40:19] (03PS3) 10Rillke: Wait until iframe is fully loaded before submitting form [extensions/UploadWizard] - 10https://gerrit.wikimedia.org/r/133844 (https://bugzilla.wikimedia.org/65406) [16:51:53] dan-nl: marktraceur has that duty this week [16:52:04] Oh hm [16:52:09] Sorry I missed it [16:52:23] tons of out-of-focus this week, like last [16:52:31] Yeah [16:52:41] I doubt I'll be able to finish the tests for the core stuff [16:52:46] and yes, void(0) is the classic one [16:52:47] I'll upload a WIP patch soon [16:52:52] rillke: ^^ [16:53:00] But I guess it's not a convention, let's talk to Krinkle. [16:53:05] Oh lol he's in here. [16:53:10] But -dev is more helpful. [16:54:25] gi11es: thanks. marktraceur please let me know if you have any ?'s … have 4 patches in gerrit and need some help with some title tests i created [16:55:12] dan-nl: 'kay [16:56:38] (03CR) 10Rillke: Wait until iframe is fully loaded before submitting form (033 comments) [extensions/UploadWizard] - 10https://gerrit.wikimedia.org/r/133844 (https://bugzilla.wikimedia.org/65406) (owner: 10Rillke) [16:59:25] (03CR) 10Krinkle: Wait until iframe is fully loaded before submitting form (031 comment) [extensions/UploadWizard] - 10https://gerrit.wikimedia.org/r/133844 (https://bugzilla.wikimedia.org/65406) (owner: 10Rillke) [17:08:42] gi11es marktraceur tgr : Hi guys, any idea why the metrics dashboards seem to be stuck with old data from Friday? Is there anything we could fiddle with to get new data to show up? http://multimedia-metrics.wmflabs.org/dashboards/mmv [17:10:42] (03PS4) 10Rillke: Wait until iframe is fully loaded before submitting form [extensions/UploadWizard] - 10https://gerrit.wikimedia.org/r/133844 (https://bugzilla.wikimedia.org/65406) [17:11:49] So is this guaranteed to work on IE 6-10, marktraceur ^^ [17:14:35] * rillke doesn't quite understand what the issue with javascript:false was; it was valid and it worked ... [17:16:16] rillke: it's confusing because it looks like it's supposed to do something but it actually does not [17:16:24] why set src in the first place? [17:16:59] Ask NeilK, he wrote the code. [17:18:39] personally, I suspect this is one of those NIH syndrome cases [17:19:50] there is probably no need to reinvent file uploading, there are dozens of libraries which do it and unlike our homebrewn version they actually do it correctly [17:20:16] The feature is broken and yes, I was to lazy to run browser tests in IE 6-11, ... so I just used what worked. [17:21:08] yeah, there probably should be a way to run tests on a gerrit id [17:21:21] Jenkins tests, I mean [17:21:28] I'll file a bug about that [17:22:33] tgr: Yeah, reinventing file uploading...ugh. See https://www.mediawiki.org/wiki/Requests_for_comment/More_general_frontend_uploading_tools [17:22:40] In particular https://www.mediawiki.org/wiki/Requests_for_comment/More_general_frontend_uploading_tools#Use_a_third-party_uploading_library_as_our_base [17:23:01] (03PS1) 10Hashar: Code hygiene: pass flake8 python linter [analytics/multimedia] - 10https://gerrit.wikimedia.org/r/134128 [17:24:29] (03PS2) 10Hashar: Code hygiene: pass flake8 python linter [analytics/multimedia] - 10https://gerrit.wikimedia.org/r/134128 [17:24:44] (03CR) 10Hashar: "PS2 ignores E501 as well (lines too long)" [analytics/multimedia] - 10https://gerrit.wikimedia.org/r/134128 (owner: 10Hashar) [17:25:43] https://github.com/blueimp/jQuery-File-Upload/blob/master/js/jquery.iframe-transport.js#L42 [17:26:01] thanks for the pointer marktraceur [17:26:40] * rillke is going out to see the warning popups [17:27:43] (03CR) 10Rillke: [C: 04-1] "https://github.com/blueimp/jQuery-File-Upload/blob/master/js/jquery.iframe-transport.js#L42" [extensions/UploadWizard] - 10https://gerrit.wikimedia.org/r/133844 (https://bugzilla.wikimedia.org/65406) (owner: 10Rillke) [17:31:42] rillke: based on some quick googling, about:blank seems to be the most cross-browser thing to do here [17:31:53] unless you want to do browser sniffing [17:32:02] tgr: https://github.com/blueimp/jQuery-File-Upload/blob/master/js/jquery.iframe-transport.js#L42 [17:32:09] Oof. [17:34:18] rillke: Pretty sure random jquery plugins are not paragons of best practices [17:34:28] rillke: see for example https://drupal.org/node/285533 about that [17:35:14] But okay you've done about:blank now [17:35:16] maybe not a problem if the iframe is never visible [17:35:39] tgr, Krinkle - is about:blank something we could settle on? [17:35:47] For iframes, anyway. [17:36:06] Obviously for links it would be useless and we should just enforce that rule. [17:36:57] marktraceur: I wouldn't, I think about:blank is not stable cross-browser [17:37:03] just don't set it at all [17:37:22] the default behaviour is to allow free writing to the iframe, e.g. origin-less / part of your own document [17:37:25] it's not really a settle on type of question, it's a what works question [17:37:39] if you want it to load url, set a src. [17:37:39] its like