[00:36:18] * Brooke sighs. [00:37:28] Brooke: Anything I can help with? [00:38:01] Matthew_: Try to upload a file using the "Upload file" link in the sidebar of https://en.wikipedia.org/wiki/Main_Page [00:38:05] Please? [00:38:11] And let me know if you're successful. [00:38:15] Brooke: OK, one sec. [00:39:49] * Brooke waits patiently. [00:41:05] Brooke: Script error, there's no upload button! [00:41:31] I know, right? [00:41:32] exactly [00:41:36] I'll file a bug. [00:41:39] Timestamp: 8/29/12 6:40:33 PM [00:41:40] Error: Error: Syntax error, unrecognized expression: .[name="file"] [00:41:42] Source File: https://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=monobook&version=20120829T181910Z [00:41:43] Line: 69 [00:41:45] There's the error. [00:41:49] Yes. [00:41:51] Thank you. :-) [00:41:57] No idea what's causing it. [00:42:00] Brooke: Sure :) [00:42:04] And debugging load.php has become impossible. [00:42:17] Looks like a syntax error to me, but I'm a js noob. [00:42:24] LOL, I bet. [00:43:31] Hmm [00:43:44] It looks like that's a syntax error thrown by Sizzle, not a "real" syntax error [00:44:35] What's Sizzle? [00:44:48] jQuery's selector engine [00:45:45] The library that makes things like $('input[type=foobar]:not(:selected)') work [00:45:52] https://bugzilla.wikimedia.org/show_bug.cgi?id=39779 [00:46:13] RoanKattouw: I looked at recent changes to the MediaWiki namespace and didn't see anything relevant off-hand. [00:46:21] It can't have been broken for too long... [00:46:26] Surely someone would've said so. [00:46:53] Dragonfly6-7: Users can use in the meantime. [00:47:12] I thought it was relatd to the UploadWizard work, but yeah as confirmed by someone I harassed about it just now, this is enwiki's homegrown thing [00:47:22] I know it is. [00:47:27] But they made it the default. [00:47:39] I already complained about this in several venues, but there's only so much I can do. [00:49:47] Brooke: opts.InputFilename = ($('#TargetForm .[name="file"]')[0]).value; [00:49:49] Really? WTF? [00:49:52] That's clearly broken [00:50:10] MediaWiki:FileUploadWizard.js line 535 [00:50:12] Dude, I said this was a bad idea. [00:50:19] I said on-wiki. I filed a bug. [00:50:29] Of course it's shitty JS. [00:50:35] The guy who wrote it readily admits as much. [00:50:39] But it hasn't been touched since July [00:50:42] I know, right? [00:50:56] So it's been broken since July? WTF? [00:51:01] Hmm, maybe this is due to the jQuery upgrade [00:51:07] Ah, here we are: https://bugzilla.wikimedia.org/show_bug.cgi?id=37320 [00:51:40] I'm gonna try to fix this [00:59:05] RoanKattouw and kaldari: I adore you both. [00:59:20] might be fixed now [01:01:24] looks like it's working now [01:01:55] Brooke: Mind closing the bug? [01:02:22] God help me this form is awful. [01:02:31] RoanKattouw: Yeah, I'll do it now. [01:03:56] RoanKattouw, kaldari: Thank you both! [01:04:10] NP [01:04:23] Thanks Brooke [01:04:29] The sad part about the upload form is that it has the best intentions. [01:04:33] But Jesus God it's so awful. [01:04:45] anyway, enwiki does need separate uploads, for nonfree fair-use stuff [01:04:47] the road to hell is paved with good intentions [01:04:56] The part where it's like "oh, you should put this on Commons, click here to start over!" is so... God. [01:05:09] Dragonfly6-7: Yes, it just needs a upload form that isn't so awful. [01:05:31] oh, well. Point taken on that. [01:06:05] Okay, the upload to Commons button does retain the data. [01:06:14] Fair enough. [01:06:30] > [01:06:31] Yes, I want this file to be immediately available in all Wikimedia projects, in all languages. I will upload it on the Wikimedia Commons. [01:06:34] Clicking this button will redirect you to a page on Commons. This will only work if you are already logged in there, which is likely the case if you have a unified account. Check here to see if you are logged in. [01:06:38] > [01:07:37] Here goes to . [01:07:48] If you upload this image to Commons and it is not actually free, it will be deleted and someone will hit you in the head with a rolled-up newspaper. [01:08:01] Heh. [01:08:11] Dragonfly6-7: You find a lot of bugs. [01:09:33] what do you think Dragonflies eat? [01:10:29] !log aaron synchronized wmf-config/filebackend.php 'deployed fix for bogus var' [01:12:24] Logged the message, Master [01:14:32] anyone know what it means when mysql gives a warning as part of the resultset? [01:14:48] Betacommand: show warnings; [01:15:19] ah [01:15:22] thanks [01:36:01] !log updated the payments cluster to 95907e42e57 [01:36:11] Logged the message, Master [02:18:56] !log LocalisationUpdate completed (1.20wmf10) at Thu Aug 30 02:18:56 UTC 2012 [02:19:07] Logged the message, Master [03:04:12] Hello, anyone around with knowledge of templatisation and mathfrak? [03:35:50] !log restarting apaches to get php.ini change of pcre.backtrack_limit [03:36:02] Logged the message, Master [05:15:33] Brooke: successfully getting fixes like this won't help you getting it removed :p [08:07:00] Brooke: "debugging any load.php page has become impossible" [08:07:48] Brooke: wherever you are, simply add ?debug=true (or &debug=true if there already is a ?title= ) and you get nice non compressed JS and CSS [08:21:44] Any WMF staff awake? Steward question ... [08:22:54] not to worry, I will try other means [08:26:14] * apergos peeks in [08:26:22] * DarkoNeko raises an ear [08:26:34] sDrewth: ? [08:30:59] sDrewth: there too [08:32:23] dealt with by other means, thanks for raising eyebrows, fingers, and ears though [08:32:34] ok [08:32:45] just checking an WMF address [08:36:15] all righty [09:05:44] anyone available with access to labs who will restart a bot for me? [09:05:55] <- needs COIBot restarted [09:54:24] does anyone know how I can create a footer in an external wiki? ( www.wikilovesmonuments.be ) can I do that as bureaucrat? [10:12:26] Romaine: have you tried adding &uselang=qqx to the url to see the editable components of the page? [10:12:55] if you wait perhaps yes [10:13:17] Romaine: there is an extension .. I think it is http://www.mediawiki.org/wiki/Extension:HeadersFooters [10:13:55] we do not have afooter at all, so nothing changes at all at the bottom as there is nothing [10:14:04] woaah qqx is pratical [10:14:13] yes.. but is is described as release status "experimental" [10:15:08] so there isn't an easy MediaWiki-page we can create for it? [10:17:04] Romaine: to look at the bits (domain)/w/api.php?action=query&meta=allmessages [10:17:27] numbers of footer bits [10:18:46] Romaine: here is a local example https://en.wikisource.org/wiki/Page:CooperBull1%282%29.djvu/17?uselang=qqx [10:20:11] and https://www.mediawiki.org/wiki/Manual:Footer [10:22:48] mmm, not easy to arrange for us then :( [10:24:07] Romaine, the alternative is to prescribe footers like Wikisource does through other means [10:26:54] I can't change the installation myself [10:27:02] is in the hands of wmnl [10:46:58] Romaine: what sort of footer do you want to add? [10:57:18] Nemo_bis: perhaps something like this: http://www.wikilovesmonuments.be/w/index.php/Partners_and_sponsors/nl [10:57:22] or otherwise is fine too [10:58:19] Romaine: you want to add sponsors' logos to the footer? [11:00:39] no, just mentioning that the website/project is created by users from Commons/Wikipedia etc [13:05:32] thedj[work]: Thanks. I know about ?debug=true, but I still find the JS a nightmare to debug. ;-) [13:05:56] thedj[work]: The &s breaking every URL from the page source alone is enough to drive me mad. [13:11:29] \o/ & [13:16:33] * Brooke bites domas. [15:22:39] From: board@wikimedia.org, mediawiki-announce@wikimedia.org, permissions@wikimedia.org, wikipedia-l@wikimedia.org, wikitech-l@wikimedia.org [15:22:41] \o/ [15:23:01] it's called "spam" :P [15:23:37] mmmm fried spam [17:32:13] !log aaron synchronized php-1.20wmf10/includes/filebackend/FSFileBackend.php 'deployed 3bc61905b704096789376927b6cc3d7ca78b0670' [17:32:22] Logged the message, Master [17:32:33] !log aaron synchronized php-1.20wmf10/includes/filebackend/SwiftFileBackend.php 'deployed 3bc61905b704096789376927b6cc3d7ca78b0670' [17:32:44] Logged the message, Master [17:47:12] !log aaron synchronized php-1.20wmf10/includes/filebackend/SwiftFileBackend.php 'deployed faec65ea23a8d17f08488950fccb0911f7b63086' [17:47:22] Logged the message, Master [18:31:15] !log preilly synchronized wmf-config/lucene.php [18:31:26] Logged the message, Master [18:42:48] Has global autoconfirmed every been considered? [18:43:10] Krenair: no [18:43:19] ever* [18:57:36] !log py synchronized wmf-config/lucene.php [18:57:46] Logged the message, Master [18:59:06] question, where do the clades in wikimedia come from? it is unclear whether there is an extension to support them [18:59:37] hushedfeet: what do you mean? [18:59:43] (example page?) [19:01:13] http://en.wikipedia.org/wiki/Template:Clade [19:02:34] hushedfeet: well, this is just a template [19:02:43] a big, ugly, complicated template, in fact [19:03:07] MatmaRex: like 99% of template in enwp ;) [19:03:20] DaBPunkt: ;) [19:03:33] hushedfeet: are you trying to port it to your own wiki? [19:04:10] indeed [19:04:28] mainframe at hand? [19:04:58] I have access to my server? [19:05:06] hushedfeet: just copy the source code and paste it on a page called "template:clade" on your own wiki [19:05:14] (click "view source") [19:05:15] and the transclusions? [19:05:23] what about the transclusions? [19:05:31] should I follow the full web and copy those as well? [19:05:57] do you need them? i think only the [[template:clade]] is needed to make this one work [19:06:05] (unless you want to copy the documentation, too) [19:06:21] I guess I was mostly confused because nowhere could I find details about the drawing of the cladograms, and whether that was in mediawiki, or an extension used by WMF [19:06:53] they are generated by this template using HTML tables [19:07:13] doing it this way if, if you ask me, an extremely bad idea, but it works [19:07:20] is, if * [19:10:27] an extension might not be a terrible idea. [19:10:46] but the method makes more sense. I should have thought a bit harder before asking./ [19:17:23] !log py synchronized wmf-config/lucene.php [19:17:33] Logged the message, Master [19:41:54] I'm trying to do a git pull in php-1.20wmf10 on fenari and it's giving me a permissions error... [19:42:00] error: insufficient permission for adding an object to repository database .git/objects [19:42:14] fatal: failed to write object [19:42:25] Reedy: ^ [19:42:59] who can we blame... [19:43:31] I usually blame Steven Walling [19:43:44] AFAIK he doesn't have shell.. [19:43:52] regardless [19:43:56] drwxr-xr-x 2 krinkle wikidev 4096 2012-08-29 21:22 30 [19:44:05] We can blame Krinkle [19:44:10] oh oh, now what [19:44:11] Krinkle: fix your umask [19:44:25] I did a regular git pull, nothing fancy [19:44:31] Still [19:44:38] Fix your umask ;) [19:44:41] Reedy: tell me how [19:44:46] (and why isn't it the default) [19:44:52] chmod -R 775 /home/wikipedia/common/php-1.20wmf10/.git/objects/30 [19:44:53] * Damianz finds some rotten fruit to throw at Krinkle [19:45:07] Add umask 002 [19:45:12] to the bottom of your ~/.bashrc [19:45:27] Reedy: (I know the chmod) fixing now [19:45:43] Reedy: is that what you have? [19:45:53] yeah, Tim added it to mine a while back [19:46:02] kaldari: 206 folders, and you have to want to use the broken one ;) [19:46:21] unfortunately :P [19:46:31] Reedy: hm.. what does that do, does that make the wikidev group the owner? Or does it chmod 775 by default? [19:46:34] (same effect) [19:46:58] "A common umask value is 022, masking out the write permission for the group and others, which ensures that new files are only writable for the owner (i.e. the user who created them)." [19:47:06] err [19:47:07] "Another common value is 002, which leaves the write permission for the file's group enabled. This can be used for files in shared workspaces, where several users work with the same files." [19:47:08] even [19:47:31] mine is 0022 according to $ umask [19:47:50] does it have an extra 0 or an extra 2? [19:47:53] Right [19:48:05] reedy@fenari:/home/wikipedia/common/php-1.20wmf10/.git/objects$ umask [19:48:05] 0002 [19:48:14] but it's 002 in my bashrc [19:48:26] i see (cat /home/reedy/.bashrc) [19:48:36] mine's 002 [19:51:25] am I good to pull now? [19:52:38] nope [19:52:40] a7 needs fixing too [19:53:13] does it have an extra 0 or an extra 2? ← extra 0 [19:53:23] yeah, I figured [19:53:35] if 002 -> 0002 [19:53:38] Reedy: also me? [19:53:42] yeah [19:54:25] done [19:54:28] checking entire list now [19:54:36] reedy@fenari:/home/wikipedia/common/php-1.20wmf10/.git/objects$ ls -al | grep krinkle [19:54:36] drwxrwxr-x 2 krinkle wikidev 4096 2012-08-29 21:22 30 [19:54:36] drwxrwxr-x 2 krinkle wikidev 4096 2012-08-29 21:22 a7 [19:54:45] :) [19:54:47] all good [19:54:55] almost the same, I used ack-grep [19:55:01] Why isn't it named ack on fenari [19:55:03] oh, right, ubuntu [19:55:13] yay [20:02:48] ack-grep by default [20:03:03] I had a puppet class to ensure ack is not installed and link ack-grep as ack in /usr/local/bin/ack [20:03:07] but was rejected :-] [20:03:09] so you need to alias [20:03:13] heyas [20:03:28] Reedy: welcome back :-) [20:03:28] how can I programmatically check if a page exists? [20:03:42] (subpage, that is) [20:03:48] In what sense? [20:03:51] Test it where? [20:04:30] Reedy: php script; "gets the page" (as xml) and parses for some token [20:04:43] via the api? [20:04:47] yep [20:05:15] its not, "foo", but subpage "bar of foo, so "foo/bar" [20:05:29] https://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=foobarlols [20:05:31] https://www.mediawiki.org/w/api.php?action=query&prop=pageprops&titles=$pagename [20:05:37] or whatever [20:05:44] [20:05:49] well, just deployed to test and I'm getting a ton of 404 errors - all similar to... [20:05:52] 404 Not Found - https://test.wikipedia.org/w/static-1.20wmf10/resources/jquery/jquery.messageBox.js [20:06:42] did a sync-common on srv193 too [20:06:57] could be a cached 404 [20:07:06] !log reedy synchronized php-1.20wmf10/resources/jquery [20:07:16] Logged the message, Master [20:08:06] oh, testwiki [20:08:08] Reedy: that works? [20:08:15] "works"? [20:08:48] Uncaught SyntaxError: Unexpected token : [20:09:39] getting tons of 404s from webfonts [20:10:12] Still getting 404 for all static resources - js, css, images [20:10:32] on test.wiki [20:11:31] Are you getting a syntax error in your console too? [20:12:02] haven't seen any [20:12:11] oh yeah, actuall... [20:12:28] there is one [20:12:41] Back in a few [20:12:44] from centralnotice [20:13:14] but that would make sense if it can't load the js [20:13:23] the hell [20:13:29] this error is triggered by: [20:13:30] [[Category:Hello there]] [20:14:18] directly below: /* DO NOT ADD CODE BELOW THIS LINE */ [20:14:34] Brooke: https://test.wikipedia.org/w/index.php?title=MediaWiki:Common.js&diff=141072&oldid=140272 [20:14:48] reverted [20:15:40] hi all! [20:15:44] lolwut [20:15:44] hi [20:15:49] anyone familiar with netinet/in.h ipv6 structures? [20:15:54] i'm trying to cast a byte array containing a raw ipv6 address to a in6_addr, and I must be doing something really stupid [20:16:13] ottomata: working with ipv6 is pretty stupid [20:16:25] haha ooooook [20:16:42] if I use debug=true all static resources are 404, if I don't use debug=true only images are 404 [20:16:59] so, i have char raw_address[16] [20:17:05] it contains the raw IPv6 addy [20:17:05] 404 from: https://test.wikipedia.org/w/static-1.20wmf10/skins/common/images/poweredby_mediawiki_88x31.png [20:17:38] And https://test.wikipedia.org/w/static-1.20wmf10/skins/common/images/poweredby_mediawiki_88x31.png [20:17:44] no other errors [20:17:56] I need to pass it to a funciton that takes [20:18:00] const in6_addr_t ip [20:18:02] as the argument [20:18:41] I get 55 404s from http://test.wikipedia.org/wiki/Special:NewPagesFeed?debug=true [20:18:43] actually, there's some webfonts 404s on the main page still [20:19:36] this smells like a ResourceLoader issue [20:19:48] or some problem with caching [20:19:54] Hey Krinkle, any idea what's going on here? [20:20:08] checking [20:21:03] somebody forgot to create wmf10 in /h/w/common/live-1.5 [20:21:14] only affect debug mode, but on all wikis [20:21:18] RoanKattouw_away: Reedy [20:21:26] isn't there a script for that? wtf [20:21:28] in6_addr_t is basically just a 16 byte byte array as well [20:21:30] so I'd think that [20:21:36] i thought that happens automatically [20:21:41] in6_addr_t raw6_address = (in6_addr_t)(raw_address); [20:21:43] sould be ok [20:21:49] but I get [20:21:53] error: conversion to non-scalar type requested [20:21:57] /home/wikipedia/common/multiversion/checkoutMediaWiki [20:21:59] kaldari: not a resourceloader issue, last deployment got screwed up somehow [20:22:39] static-1.20wmf10/ doesn't exist [20:22:54] "# Create static- symlinks in live-1.5..." [20:23:32] creating now [20:25:40] !log Created static-1.20wmf10 and extensions,resources,skins subdir symlinks in /home/wikipedia/commons/live-1.5, was not done by the script apparently [20:25:51] Logged the message, Master [20:27:27] Reedy: hm.. isn't doing it on /h/w/c supposed to make it work on test.wikipedia ? [20:27:42] https://test.wikipedia.org/w/static-1.20wmf10/ still 404 [20:27:45] https://test.wikipedia.org/w/static-1.20wmf9/ [20:28:48] running sync-dir now [20:28:53] !log krinkle synchronized live-1.5/static-1.20wmf10 'Creating static aliases for wmf10' [20:29:04] Logged the message, Master [20:29:25] kaldari: try again [20:29:33] looking better [20:29:41] Seems fixed now [20:30:45] all good as far as I can tell [20:31:27] kaldari, so does that mean you've deployed the upload log_page fix? [20:39:04] !log srv291 shutting down to reseat DIMM [20:39:13] oops [20:39:14] Logged the message, Master [20:49:04] Krenair: to test.wiki, yes [20:49:20] hopefully to commons soon [21:13:56] !log olivneh synchronized php-1.20wmf10/extensions/E3Experiments/experiments [21:14:06] Logged the message, Master [21:38:57] about to run scap [21:45:01] !log kaldari Started syncing Wikimedia installation... : [21:45:15] Logged the message, Master [21:45:21] Krenair: No problem. It was related to the bug about limiting syntax highlighting. [22:01:25] I just tried cherry-picking a commit from master by it's hash, and I get "fatal: ambiguous argument 'Iee4e3bdca0e72292d6d431703f0f589653f68f64': unknown revision or path not in the working tree." [22:01:35] I was trying to do... [22:01:36] git cherry-pick Iee4e3bdca0e72292d6d431703f0f589653f68f64 [22:01:52] kaldari: did you git fetch? [22:02:12] I did git pull [22:02:13] a hash with a "I"? [22:02:50] there's no "I" in hash [22:02:55] :P [22:02:57] https://gerrit.wikimedia.org/r/#/c/21954/ [22:03:11] should I just leave off the I [22:03:12] ? [22:04:23] or am I supposed to use the patchset hash? [22:04:33] kaldari: I have no idea about git – it just looked weird [22:05:27] !log kaldari Finished syncing Wikimedia installation... : [22:05:37] Logged the message, Master [22:06:37] looks like I'm supposed to use the patch hash [22:07:14] kaldari: scp -p -P 29418 gerrit.wikimedia.org:bin/gerrit-cherry-pick ~/bin/ [22:07:41] (or substitute some other dir in your path for ~/bin/) [22:07:48] gives you this: http://gerrit.googlecode.com/svn/documentation/2.0/cmd-cherry-pick.html [22:07:59] which makes it easier to cherry-pick changes from gerrit [22:08:17] oh [22:29:05] kaldari, is your deployment over? [22:29:11] yes [22:29:17] cool [22:30:44] okay, I need to deploy some stuff [22:44:38] gn8 folks [22:54:09] !log maxsem synchronized php-1.20wmf10/includes/api/ApiMain.php 'WLM API logging https://gerrit.wikimedia.org/r/#/c/21748/' [22:54:19] Logged the message, Master [23:08:21] zzz =_= [23:20:29] MaxSem: Do you happen to know why upload_by_url is turned off on Commons? [23:21:48] kaldari: cause the cluster can't do arbitary web requests from the apaches [23:22:09] oh [23:22:29] it should be viable to do it cross cluster (for transwiki to commons etc)... [23:22:41] So I guess that means that https://gerrit.wikimedia.org/r/#/c/12269/ won't work on the cluster [23:22:56] if it's done server side... no [23:23:12] rats [23:23:19] https://bugzilla.wikimedia.org/show_bug.cgi?id=20512 [23:24:33] Is it enabled on testwiki? [23:26:42] no [23:26:48] it's disabled everywhere [23:33:13] considering this bug has been open for 3 years, I guess there's not much chance of getting it resolved before WLM (Saturday) :( [23:33:47] "in theory" it just needs a proxy [23:33:51] "just" [23:34:04] is that something that anyone is working on? [23:34:21] not that I know of [23:34:31] I should really test if the cross cluster one works... [23:36:46] I see there's a note from 2009 in the config: "pending HTTP proxy setup" :P [23:37:15] the feature should be called "cross-site image forgery" :)