[00:03:54] New review: Tim Starling; "It's OK with me to do these two queries on each diff page view." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/72317 [00:09:27] yay tim. thanks. [00:18:22] New patchset: Hoo man; "Make use of the APIEditBeforeSave hook for nicer errors" [mediawiki/extensions/AbuseFilter] (master) - https://gerrit.wikimedia.org/r/71945 [00:19:46] New review: Hoo man; "Addressed Anomie's comments (forward compatibility and output properties)" [mediawiki/extensions/AbuseFilter] (master) - https://gerrit.wikimedia.org/r/71945 [00:35:32] New patchset: Hoo man; "Make use of the APIEditBeforeSave hook for nicer errors" [mediawiki/extensions/AbuseFilter] (master) - https://gerrit.wikimedia.org/r/71945 [00:36:56] New review: Hoo man; "Fixed code to get the summary (EditPage doesn't have an accessor for this), also made the code to av..." [mediawiki/extensions/AbuseFilter] (master) - https://gerrit.wikimedia.org/r/71945 [00:48:29] New review: Yuvipanda; "Meh, didn't get time to test the GitHub bot." [apps/android/commons] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/72323 [00:48:30] Change merged: Yuvipanda; [apps/android/commons] (master) - https://gerrit.wikimedia.org/r/72323 [00:56:43] New patchset: Yuvipanda; "Redo campaigns backend to use ContentHandler" [mediawiki/extensions/UploadWizard] (master) - https://gerrit.wikimedia.org/r/70446 [00:57:35] New patchset: Yuvipanda; "Redo campaigns backend to use ContentHandler" [mediawiki/extensions/UploadWizard] (master) - https://gerrit.wikimedia.org/r/70446 [01:23:39] New patchset: Mwjames; "\SMW\Collector improve exception tests" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72472 [01:24:11] New patchset: Mwjames; "\SMW\Collector improve exception tests" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72472 [01:31:47] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72472 [01:39:07] New review: Tim Starling; "I think you should use composition rather than inheritance here. Provide access to the DateTime obje..." [mediawiki/core] (master) C: -2; - https://gerrit.wikimedia.org/r/72453 [01:40:06] Do AssembleChunkedUpload jobs get run for testwiki ? [01:40:26] I would assume so [01:41:01] I was testing chunked upload there, and things seem to hang at that stage [01:41:29] but no error, so seems like perhaps that job isn't set up to run there [01:45:04] $ mwscript showJobs.php --wiki=testwiki --group [01:45:04] webVideoTranscode: 6 queued; 0 claimed (0 active, 0 abandoned) [01:45:17] no AssembleChunkedUpload jobs queued [01:45:32] so that would imply that they were run [01:46:07] Hmm, interesting. the api is still giving me {"upload":{"result":"Poll","stage":"queued"}} [01:46:28] when did the upload start? [01:47:27] first chunk at Mon, 08 Jul 2013 01:22:57 GMT [01:47:47] 2013-07-08 01:32:23 mw1007 testwiki: AssembleUploadChunks File:11k5hupd3sh0.zc2d5p.3724.ogx filename=Test-chunked-upload.ogv filekey=11k5hupd3sh0.zc2d5p.3724.ogx session=array(4) t=49900 good [01:48:37] Hmm, so I guess its just not recording the result back to my session [01:48:58] not surprising, if the session is really array(4) [01:49:38] that's not actually the real session [01:49:55] that's an array with your session id, so it can access it via the job queue [01:50:20] I personally think its a bit odd to use the session the way chunked uploading does... [01:51:12] can it use a flat string instead? [01:51:46] I think it would make more sense to use strings for parameters than to change Job::toString() [01:52:19] anyway, it is probably a testwiki-specific issue [01:52:23] use test2 instead [01:52:55] ok, I'll use that for my next test [01:53:20] It also stores a list of headers in that array (although it doesn't seem to need them at first glance) [01:54:58] New patchset: Brian Wolff; "Have Chunked upload jobs bail if cannot associate with session." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/72473 [02:06:46] New review: Tim Starling; "WebRequest::getPathInfo() etc. is not supported by all servers. If a compatible interface was provid..." [mediawiki/core] (master) C: -1; - https://gerrit.wikimedia.org/r/71858 [02:15:25] New review: Yurik; "Tim, the goal is to make "action" part of the URL's path, not query, as query will not be visible to..." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/71858 [02:15:51] TimStarling, answered, let me know if i can clarify anything re path_info [02:19:23] New review: Tim Starling; "We could distinguish between parameters from $_GET and parameters from $_POST, and deny requests wit..." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/71858 [02:20:43] TimStarling, but wouldn't this be a very backwards workaround just to allow rare mediawiki servers to feel "like everybody else"? [02:21:16] handling PATH_INFO could be the best approach for most, and for those who don't support it - use a separate entry point like api1.php [02:21:32] there's no api1.php in your patch [02:21:46] that's because i didn't think it was needed [02:21:54] I can only review based on what I see there [02:21:55] what servers don't support path_info? [02:22:29] HipHop [02:24:21] also it is easy to lose the PATH_INFO environment variable accidentally when you use CGI via a chroot wrapper, I think this is the origin of some shared hosting issues [02:25:40] tim, ok, if this is still a problem, i could add another entry point for those servers, but disable it in default [02:26:01] in HipHop you can configure a rewrite from the path to the query string [02:26:14] but then the web app obviously has to be able to understand the query string [02:26:47] you know we are talking about moving WMF to HipHop this year [02:27:36] the default (enabled in WMF) will be using path_info and api.php. In non default, api1.php will be enabled, and will allow action to be passed as a parameter. For hiphop we can latter start using rewrite for api requests, thus doing a clean migration? [02:28:24] i mean - my end goal is to have "api.php/action" - regardless if it is done by rewrite rule or by path_info (which is better because smaller servers will mostly support this out of the box) [02:29:00] it seems there have been some requests for hiphop to support path_info, so maybe htis will happen at some point as well [02:30:53] New patchset: Brian Wolff; "Have Chunked upload jobs bail if cannot associate with session." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/72473 [02:31:11] New review: Brian Wolff; "PS2: spelling" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/72473 [02:35:44] the doc comment on $wgUsePathInfo has some information on when PATH_INFO is unavailable [02:36:08] it says that it is broken on lighttpd [02:36:59] also DefaultSettings.php disables it by default on IIS, which is consistent with http://www.mediawiki.org/wiki/Manual:Short_URL/IIS6 [02:38:03] TimStarling, so how do you think it should be done to achieve maximum usage while still have a workaround? [02:40:02] I don't know, if you have to set up rewrite rules in the server's configuration then 90% of installations are not going to do that, unless the wiki refuses to work without it [02:43:02] you could basically have a curl check in the installer which makes sure the API is accessible with the action in the path [02:43:18] and then refuse to install if it's not working [02:43:53] but I'm not sure if it is worth causing the user that much inconvenience, considering there is another option available [02:44:49] which is to distinguish between $_GET and $_POST and continue to use $_GET for action [02:46:31] basically I am saying there are two options: [02:47:18] 1) introduce an actionpath= parameter in $_GET, and the web server would be expected to rewrite the path info to ?actionpath=... [02:48:05] 2) introduce an optional version parameter to $_GET, and require that the action parameter be in $_GET not $_POST when the version is >=1 [02:51:14] New patchset: Mwjames; "\SMW\HashIdGenerator (separate responsibility)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72474 [03:08:16] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72474 [03:32:59] Project browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_8 build #135: FAILURE in 10 min: https://wmf.ci.cloudbees.com/job/browsertests-commons.wikimedia.beta.wmflabs.org-windows-internet_explorer_8/135/ [04:13:52] New patchset: Tim Starling; "date_default_timezone_set unneeded in Parser" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/69971 [04:14:14] New patchset: Tim Starling; "Avoid date()/gmdate() for date formatting" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/71121 [04:18:32] Change merged: jenkins-bot; [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/69971 [04:21:25] Change merged: jenkins-bot; [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/71121 [04:24:38] New patchset: Mwjames; "\SMW\Settings extends ArrayAccessor" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72475 [04:29:00] New review: Ori.livneh; "Tested on OS X & Windows" [mediawiki/vagrant] (master) C: 2; - https://gerrit.wikimedia.org/r/72343 [04:29:03] Change merged: jenkins-bot; [mediawiki/vagrant] (master) - https://gerrit.wikimedia.org/r/72343 [04:29:08] New patchset: Ori.livneh; "Disable Puppet-lint's 'class_parameter_defaults' warning" [mediawiki/vagrant] (master) - https://gerrit.wikimedia.org/r/72355 [04:29:15] Change merged: jenkins-bot; [mediawiki/vagrant] (master) - https://gerrit.wikimedia.org/r/72355 [04:29:40] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72475 [04:30:44] New review: Ori.livneh; "Merging. If anyone feels like reviewing the repo's .gitignore, please do." [mediawiki/vagrant] (master) C: 2; - https://gerrit.wikimedia.org/r/72470 [04:30:47] Change merged: jenkins-bot; [mediawiki/vagrant] (master) - https://gerrit.wikimedia.org/r/72470 [04:48:11] New patchset: Rjain; "Added the search class" [mediawiki/extensions/Annotator] (master) - https://gerrit.wikimedia.org/r/72361 [04:50:31] New patchset: Brian Wolff; "[Goes with I33462a8] Support for new gallery." [mediawiki/extensions/TimedMediaHandler] (master) - https://gerrit.wikimedia.org/r/69455 [04:50:43] New patchset: Brian Wolff; "New more slick gallery display" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/67885 [04:53:09] New review: Brian Wolff; "PS14: Fix an issue I found with tmh integration." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/67885 [04:54:56] New patchset: Brian Wolff; "New more slick gallery display" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/67885 [04:59:48] New patchset: Ori.livneh; "Improve documentation and formatting of debug settings file" [mediawiki/vagrant] (master) - https://gerrit.wikimedia.org/r/72477 [05:00:10] Change merged: jenkins-bot; [mediawiki/vagrant] (master) - https://gerrit.wikimedia.org/r/72477 [05:05:24] New patchset: Tim Starling; "Don't queue refreshLinks jobs on null edit" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/72064 [05:11:09] New review: Tim Starling; "Help message fixed." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/72064 [05:20:52] Project browsertests-en.wikipedia.org-windows-internet_explorer_9 build #126: FAILURE in 8 min 2 sec: https://wmf.ci.cloudbees.com/job/browsertests-en.wikipedia.org-windows-internet_explorer_9/126/ [05:38:13] New review: Ori.livneh; "I think the combination of I7f6e96cb1 ("Load custom user manifests from puppet/manifests/manifests.d..." [mediawiki/vagrant] (master) C: -1; - https://gerrit.wikimedia.org/r/64609 [05:38:51] Yippie, build fixed! [05:38:52] Project browsertests-test2.wikipedia.org-linux-firefox build #398: FIXED in 17 min: https://wmf.ci.cloudbees.com/job/browsertests-test2.wikipedia.org-linux-firefox/398/ [06:50:56] New patchset: Siebrand; "Remove default web font for Persian language" [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/69878 [06:54:36] Change merged: Siebrand; [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/69878 [06:55:28] New patchset: Santhosh; "jquery.i18n message store for ULS" [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/71990 [06:57:17] Change merged: jenkins-bot; [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/72065 [07:05:05] Change merged: jenkins-bot; [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/71990 [07:05:11] New patchset: Amire80; "Documentation for mw.uls.init" [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/72359 [07:11:18] New patchset: Santhosh; "Documentation for mw.uls.init" [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/72359 [07:12:42] Change merged: jenkins-bot; [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/72359 [07:21:22] New review: Santhosh; "as per demo by Niklas" [mediawiki/extensions/UniversalLanguageSelector] (master) C: 2; - https://gerrit.wikimedia.org/r/71008 [07:21:35] Change merged: jenkins-bot; [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/71008 [07:24:03] New review: Nikerabbit; "File https://bugzilla.wikimedia.org/50921 for the todos." [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/71784 [07:24:28] New patchset: Siebrand; "Update formatting" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/72484 [07:25:39] New patchset: Siebrand; "Blacklist plural checks for 'cdo'" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/72485 [07:30:55] New patchset: Nikerabbit; "Accessibility attributes for ULS trigger" [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/71784 [07:36:17] New patchset: Santhosh; "Make anything with class 'uls-settings-trigger' work like ULS trigger" [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/72077 [07:38:39] Change merged: jenkins-bot; [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/72077 [07:42:04] Change merged: jenkins-bot; [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/71784 [07:42:51] New patchset: Nikerabbit; "Apply webfonts to the IME selector too" [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/72087 [07:43:14] Change merged: jenkins-bot; [mediawiki/extensions/UniversalLanguageSelector] (master) - https://gerrit.wikimedia.org/r/72087 [08:06:51] Change merged: jenkins-bot; [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/72485 [08:06:51] Change merged: jenkins-bot; [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/72484 [08:14:52] New review: Daniel Friesen; "I'd ultimately like to eliminate the two methods responsible for this and do things in a proper way ..." [mediawiki/core] (master) C: 1; - https://gerrit.wikimedia.org/r/72473 [08:30:19] MaxSem: good morning :-] [08:30:33] MaxSem: if you are around, do you know whether testwiki still point to tin /a/common ? [08:30:37] I lost track [08:30:49] nope [08:30:54] :-] [08:31:12] hashar: https://wikitech.wikimedia.org/wiki/How_to_deploy_code#Trying_tin.27s_code_on_testwiki [08:31:13] so we have no way to test out our local checkout on tin right ? [08:31:24] ahhh [08:31:38] clever [08:46:52] that's bad about the i18n messages [08:56:33] Nikerabbit: do you have a minute to help me debug the opera bug by live-hacking code on dev.translatewiki.net? [09:05:47] hashar, run sync-common on srv193 [09:05:59] MaxSem: thank you! just did it :-] [09:06:31] MaxSem: beta has bits assets pointing to bits.beta.wmflabs.org now (instead of the text cache en.wikipedia.beta.wmflabs.org/w/load.php \O/ ) . Should fix a bunch of javascript issues [09:06:41] MaxSem: also the mobile caches are not purged right now :( [09:10:47] ori-l: yes [09:15:54] good morning mlitn [09:16:19] hi se4598 [09:17:58] Nikerabbit: i was going to ask two things. one is disable that popup gadget. no real reason to suspect it other than the fact that it reliably loads early. (did you notice the opera bug goes away w/debug=true, btw?) [09:18:36] Nikerabbit: the other thing is a small modification to EL, i guess i'll just submit that as a patch and let you cherry-pick it locally if you don't mind [09:19:17] ori-l: which popup gadget? [09:20:01] ext.gadget.HoverPopTools [09:20:48] ori-l: oh it is enabled by default? [09:20:50] le tme see [09:21:09] it's a bit of a shot in the dark [09:21:40] starting cbt first.. [09:21:58] New patchset: Ori.livneh; "Shot in the dark #2" [mediawiki/extensions/EventLogging] (master) - https://gerrit.wikimedia.org/r/72488 [09:22:05] ^ Nikerabbit [09:22:30] ori-l: debug=true works [09:22:58] yeah, which basically tells you it's a race condition due to scripts loading asyncronously [09:23:25] but resourceloader is supposed to carefully take care of the load order for you [09:24:18] disabling hoverpop didn't help [09:25:20] thanks for checking [09:26:01] trying https://gerrit.wikimedia.org/r/72488 [09:26:19] still no luck [09:27:17] hrmmm [09:29:56] New patchset: Njw; "Reduce bottom padding of message area" [mediawiki/skins/erudite] (master) - https://gerrit.wikimedia.org/r/72490 [09:30:38] MatmaRex, got any ideas? (re: https://bugzilla.wikimedia.org/show_bug.cgi?id=50746) [09:31:12] ori-l: oh, huh. i'll look [09:31:27] are you doing anything mad like calling document.write()? [09:31:32] haa [09:31:39] nope [09:31:40] Uncaught reference error: mw not defined [09:32:31] hm [09:32:34] when i load that page [09:32:39] the HTMLcontains only