[15:56:44] *Ryan_Lane sighs [15:56:54] not exactly the easiest thing to daemonize... [15:57:24] *Ryan_Lane stares at elephant [16:11:14] Ryan_Lane: Yeah it's a bit... weird [16:11:30] well, first of all, java doesn't like being daemonized [16:11:55] secondly, its input file in a redirect in :) [16:12:01] that's being a little problematic [16:12:15] err its config file is redirecti n [16:12:40] I have a service written, I'm just having a hard time getting it to background [16:31:29] *Ryan_Lane cheers [16:31:41] success. now I just need to get it to stop spitting out all of the input... [17:04:45] ok. I give up on trying to suppress the output, it'll just have to show on startup. this is one ugly service... [17:05:52] RoanKattouw: I'm going to kill your currently running process, and start the daemon. you can start/stop it with /etc/init.d/catrope-mwbot {start|stop} [17:14:25] Ryan_Lane: Thanks [17:14:31] FWIW, I didn't write MWBot [17:14:35] no prob [17:14:42] yeah, I see its an amidaniel thing [17:15:29] no issues. it probably wasn't meant to run as a daemon originally anyway :) [17:39:09] oh, lucky me, all of the selenium grid crap is launched via java, ant, or rake. None of which can daemonize natively [17:39:28] Fail [17:39:29] today is the day of creating annoyingly terrible services [17:39:35] This means they don't support fork() ? [17:39:45] rake does [17:39:46] I would expect Java to support that [17:39:56] but rake won't write a pid file for you [17:40:27] RoanKattouw: could you install PDFHandler on wikitech? [17:40:43] in java you are expected to do one of two things: use a container like jetty or tomcat, or use jsvc, which you have to write java for [17:41:32] TrevorParscal: If I had shell access to wikitech, I could [17:41:33] RoanKattouw: and switch to vector [17:41:42] Ariel wants to make me a root, might as well give me that then [17:41:46] do you want some? [17:41:59] pm tomaszf [17:42:09] :) [17:42:18] hehe [17:42:34] *RoanKattouw is eating stroopwafel ice cream right now [17:42:37] I kid you not [17:42:40] *tomaszf has keys to most things :D [17:42:46] omg. want. [17:43:00] RoanKattouw: ship it to me. :) [17:43:05] bah .. were thinking of stroopwafel dunked in nutella here [17:43:06] haha [17:43:16] Ooooh that sounds nice [17:43:28] We'll do that in Gdansk. You get the Nutella, I'll get the stroopwafels [17:43:29] i have no stroopwafel, so all of you can shut it [17:43:43] excellent .. its a plan [17:43:48] Ryan_Lane: I don't think KLM has a "keep this below 30 F at all times" luggage option [17:43:51] mmmm [17:44:02] RoanKattouw: lame. [17:44:37] tomaszf: So, can I get shell access to wikitech? :) There's also talk of giving me root over in the other channel, you may wanna talk to Ariel if you're in the office too [17:51:21] RoanKattouw: also, can we push out the commit I just made... [17:51:32] it's an accessibility issues [17:51:34] *issue [17:51:52] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/r66029 [17:52:07] On it [17:52:11] :) [17:57:33] TrevorParscal: Done [17:59:20] awesiome [17:59:25] and wikitech [17:59:27] :) [18:00:06] Still waiting on tomaszf [18:00:14] Who in turn is waiting on other people to talk to him at all [18:10:54] tomaszf: I think you're gonna have to physically poke people in order to get an answer [18:12:10] its more so that we need rob,mark and fred to do it [18:12:45] All of them? [18:13:08] One is away, one just had a baby and one isn't even on line [18:13:12] well, they each posses unique powers, which together cause root access [18:13:17] Wind, Fire, Water! [18:13:17] any of them [18:13:19] UNITE! [18:13:26] This isn't even about root, it's about wikitech access [18:13:33] Ariel implied he could give me root [18:15:57] heh. if none of the ops people are here, I guess I won't be switching us to varnish today [18:17:49] Ariel is around [18:18:26] TrevorParscal: just used the improved link dialog [18:18:27] sweet [18:18:47] it's getting pretty slick [18:18:50] pasted a wiki link using the url and got the autocorrect message [18:18:52] yeah [18:20:08] Improved link dialog? Not in SVN yet, right? [18:20:12] <^demon> TrevorParscal: In case you missed all the fun earlier, new-installer got merged to trunk. So whenever you decide to spend some of that 20% on Vectorizing it, it's there now :) [18:20:21] curious - what' the downside of simply making the change for the user [18:20:27] awesome! [18:20:32] and not asking the user if we know it's an internal link? [18:20:42] Ooh that [18:20:45] we already detect it automatically [18:20:48] That functionality has existed since forever [18:21:02] "forever" being the weekend before the office move [18:21:06] we're working on improving the dialog, so it's more obvious that a choice was made automatically for them [18:21:35] got it [18:22:41] RoanKattouw: not as important as the prior change, but r66034 should go out at some point [18:22:42] i'm wondering if users will get stuck if we ask them an explicit question [18:22:52] that's something we've already identified [18:22:56] they sometimes do [18:22:59] yeah [18:23:07] so we are redesigning a bit to prevent that [18:23:10] cool [19:27:29] ok. i'm a fan of rake now. I don't have to track pids on start, or stop, it handles everything for you. easiest init script ever. [19:47:03] Ryan_Lane: Is that you playing around again? [19:47:43] yeah. saw something that might have let me get rid of the stupid output. isn't working putting it back to the way it was [19:47:51] what does the bot do btw? [19:48:06] And it does factoids [19:48:08] !help [19:48:08] --elephant-- Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. There's not much documentation on me, but you can find all my source code at http://amidaniel.com/viewvc/trunk/MWBot/?root=svn [19:48:12] ah [19:48:16] where does it log the channel to? [19:48:20] !myfunfactoid is I am a fun factoid [19:48:20] --elephant-- Successfully added keyword: myfunfactoid [19:48:27] !myfunfactiod | Ryan_Lane [19:48:27] --elephant-- Ryan_Lane: I don't know anything about "myfunfactiod". [19:48:30] Bleh [19:48:33] :) [19:48:34] Ryan_Lane: See topic for log URL [19:48:40] Also does stuff like [19:48:42] !b 12345 [19:48:42] --elephant-- https://bugzilla.wikimedia.org/show_bug.cgi?id=12345 [19:49:19] ok. wanted to make sure it was still logging :) [19:49:24] seems it is [19:51:23] test, test, test [19:51:44] @trusted [19:51:44] --elephant-- [c-67-170-206-100.hsd1.ca.comcast.net, mediawiki/Catrope, adsl-70-137-172-57.dsl.snfc21.sbcglobal.net] [19:52:01] @trust Ryan_Lane [19:52:01] --elephant-- Added Ryan_Lane to trusted hostnames list. [19:52:06] @trusted [19:52:06] --elephant-- [Ryan_Lane, c-67-170-206-100.hsd1.ca.comcast.net, mediawiki/Catrope, adsl-70-137-172-57.dsl.snfc21.sbcglobal.net] [19:52:18] Oh that doesn't work [19:52:22] @untrust Ryan_Lane [19:52:22] --elephant-- Removed Ryan_Lane from trusted hostnames list. [19:52:24] ? [19:52:37] It works per hostname only [19:52:41] You'd need a cloak [19:52:43] ah [19:53:00] I haven't gone through the trouble of that :) [19:53:34] brb [21:36:36] RoanKattouw: User::isAnon/isLoggedIn [21:36:53] they are reporting true when the user has an "ip" thing [21:37:02] ? [21:37:19] or wait [21:37:21] maybe not [21:37:22] sorry [21:39:26] some chained logic gone wrong [21:53:22] RoanKattouw: what's the trick to getting a login first page setup? [21:53:30] is that part of the Title object? [21:53:35] What do you mean? [21:53:56] I want a link to a login page that will send them somewhere specific on success [21:55:17] ugh. I'm falling to the dark side. I'm on fedora systems trying to run apt-get. [21:55:21] *Ryan_Lane shakes fist [21:55:26] ha ha [21:55:59] Bleh PdfHandler won't work [21:56:04] TrevorParscal: wikitech runs Vector now [21:56:15] awesome [21:56:17] I also (very painfully) upgraded it to 1.16wmf4 (was still running wmf-deployment) [21:56:24] I figured out the login page thing.. [21:57:06] returnto and returntoquery? [22:11:38] RoanKattouw: what's the deal with allowing anonomous people leave feedback [22:11:42] from a technical standpoint [22:12:05] Well user IDs don't work, clearly [22:12:13] but the ID would just be 0 [22:12:15] in that case [22:12:21] and there wouldn't be any issues [22:12:27] Well [22:12:30] and we could easily identify it as anon... [22:12:33] ? [22:12:40] You gotta account for the fact that there'll be lots of user_id=0 entries [22:12:43] In the software [22:12:48] yeah [22:12:54] which we can filter out as well [22:13:01] they would be easy to put in their own bucket [22:13:12] is there a performance issue there or something? [22:13:16] Just not sure whether the software and the table indexes are up to it [22:13:24] By the latter, I mean unicity [22:13:35] the other thing [22:13:52] PrefSwitch probably has a unique index on (user_id, timestamp) which is realistic as long as user_id != 0 [22:14:05] right now - feedback is something that people can "send" but really each time they try and "send" it again, its just updating their feedback [22:14:22] so the anon thing would break that model [22:14:25] Exactly [22:14:45] it's not a requirement, and the reason I just mentioned is why it's not really being asked for [22:14:51] I was just checking with you on that [22:15:24] What is not a requirement? Anon feedback? [22:32:48] RoanKattouw: yeah, we're not going to accept feedback from anon users [22:33:08] OK [22:33:44] ok [22:33:53] you about to go to bed? [22:34:12] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/r66053 [22:35:40] Want that deployed? [22:36:23] Probably best to wait a few days for translations [22:37:11] TrevorParscal: Add a comment above the addWikiMsgArray() call listing the messages used so they're greppable [22:38:23] Same for other places where you're doing wfMsg() on dynamic message keys [22:39:03] will [22:39:12] and then we can push it to the prototype server [22:39:24] and let translations collect [22:41:00] k [22:41:08] just commited the comments [22:41:17] so, yeah, we just need this on the prototype sites [22:41:36] it's what we will push to commons/en-wp when we go default [22:41:46] but commons is fine for now [22:41:48] as it is [22:42:03] how does the translation update work though [22:42:29] maybe we should update commons [22:42:33] talking to naoko [22:42:57] That's TranslateWiki magic [22:45:32] well, if we update commons [22:46:57] what's the benefit? [22:47:19] it would make it so initially most language won't have translations [22:47:24] Yes [22:48:01] but we need as much translation with the new keys to happen as possible [22:51:41] is there a benefit to updating commons? as far as getting more translations goes? [22:51:50] Not that I can think of [22:52:13] so translatewiki will let people translate the new keys [22:52:34] Yes [22:52:43] I think it just sort of happens automatically [22:52:55] Poke siebrand if you wanna know more [22:54:49] i'm just trying to make sure we get the most translations we can for the new keys [22:55:36] it's very late for you [22:55:41] are you heading to bed soon? [22:55:45] Meh it's Friday night [22:55:46] But still, yes [22:55:57] could you update prototype with the new PrefSwitch changes? [22:56:18] Running [22:56:38] awesome [23:02:54] *nkomura wonders if there is a quick way to copy over custom CSS and JS file over from MonoBook to Vector when we switch the default [23:04:46] Well, yes [23:04:55] But the code itself may not work [23:05:14] i'm writing how-to on FAQ [23:05:39] You can try simply coping the contents of User:MyName/monobook.css to User:MyName/vector.css [23:05:52] But there's differences between the skins, so that doesn't necessarily do what you want [23:05:57] it's manual process.. [23:05:59] Yes [23:06:01] right [23:06:19] Well we could automate it if we wanted [23:06:23] yeah, i see the benefit of leaving it as a manual process [23:06:30] But your monobook.js file is not guaranteed to Just Work on Vector [23:06:50] some customization may no longer needed as you pointed out [23:08:12] Yes, a lot of simple stuff will probably work just fine [23:16:09] I copied the FAQ topic on custom .js and .css from meta [23:16:11] http://usability.wikimedia.org/wiki/What%27s_new,_questions_and_answers#Why_don.27t_the_scripts_.28monobook.js.29_and_styles_.28monobook.css.29_work_anymore.3F [23:19:14] Looks good [23:25:40] I can see why there isn't any init scripts around for selenium rc or grid nodes. It isn't exactly easy to make this run without having a user logged in.