[00:42:29] !seen fschulenburg [01:53:32] spagewmf: Last seen : Jul 06 10:17:17 2012 (2 weeks, 5 days, 15:35:48 ago) [03:49:02] A lot of Extension: pages on mediawiki.org link to http://prototype.wikimedia.org , but that seems untended since 2011 and 1.19. Is it obsolete? [03:49:38] Yes [03:55:21] bye [12:33:49] I close http://svn.wikimedia.org/doc/ tab, and FF sheds 55MB of ram. [16:30:59] MediaWiki should almost ship with HotCat [16:51:41] Reedy, yeah - it should be an extension [16:53:49] Well, shipping gadgets by default, with the RL2 central repo... ;) [16:59:24] RL2 is a horizon which you'll never reach... [17:41:01] roan is off for longer time? [17:45:28] yuvipanda: FYI, work on short url is going on by ops [17:46:07] Danny_B|backup: didn't realise he was off.. [17:46:15] Reedy: :D any eta? [17:46:22] like, order of magnitude one? [17:46:25] I've re-enabled it on testwiki/test2wiki [17:46:26] weeks/days? [17:46:35] with the rewrite rule? [17:46:40] dunno, Ben and Faidon are/were looking at it [17:46:44] Yeah, it doesn't seem to work currently :p [17:46:54] it -> the extension? [17:47:01] or the rewrite rule? [17:47:31] the rewrite rule [17:47:41] special:shorturl/foobarwhatever works fine [17:48:57] ah cool [17:49:20] i'll poke maplebed when I next surface that in my head [17:49:53] He's offline now.. :/ [17:52:56] Reedy: or perhaps not online yet (SF) [17:53:03] No, he was earlier [17:53:09] about an hour ago [17:53:14] ah, okay [17:53:45] 67 minutes ago he quit ;) [17:54:54] Reedy: sure it was 67 and not 68? :P [17:55:27] [17:46:54] <-- maplebed (~maplebed@wikimedia/bhartshorne) has quit (Quit: maplebed) [18:02:01] * marktraceur set up local Jenkins with file system polling to run tests [18:02:09] So much easier [18:27:35] RoanKattouw: RobH: did you guys have any chance to get to that moving/renaming of wiki we discussed in berlin? [18:27:49] Not yet [18:27:56] :-/ [18:28:00] I have not touched general mediawiki configuration in months =P [18:29:00] I am not sure who would be the person to do that [18:35:37] hi, can someone please look at one of the most peculiar bugs? see: https://bugzilla.wikimedia.org/show_bug.cgi?id=38720 [18:36:12] Nikerabbit: about? [18:40:17] werdna: yes [18:40:35] Nikerabbit: looking for advice on a localisation matter [18:40:55] so I'm working on something to parse timestamps (from ~~~~~) in a localisable way [18:42:01] what I'm doing right now is generating a timestamp using ~~~~~ and then running preg_replace( "/\d+/u", "\d+" ) and preg_replace( "/[^\W\d]+/u", "[^W\d]" ) [18:42:21] in other words, trying to generalise from an exemplar [18:42:28] I'm wondering if this is a good way to do it, or if there's a better way. [18:44:09] werdna: doesn't that timestamp depend on user preferences? [18:44:17] not in signatures [18:44:23] they're done in accordance with the content language [18:44:31] I'm giving Nikerabbit some time to facepalm right now :) [18:44:55] uhhhuh [18:45:01] here we go ;-) [18:46:42] at some point the past there was suggestion to output the timestamps in signatures in a way they can be formatted easily, like 2012-02-02 12:12:21 or with magic word or somesuch [18:47:10] sounds pretty nasty for talk pages. [18:47:17] and also at some point I was toying around converting the time formatting strings into regular expressions automatically [18:48:22] oh yeah? [19:19:11] Krinkle: That $.escapeRE() is pretty handy :) [19:19:42] its in the module jquery.mwExtension [19:19:51] (be sure to depend on that if you use it in the code) [19:20:03] yeah, I usually only use it from the console, then put the literal regex in [19:20:17] thanks for the tip, very useful [19:20:25] yw [19:21:07] "jQuery is great and can do all things"? [19:21:25] Or is there jQuery-specific code in it? [19:21:45] No there is not [19:21:54] jquery.mwExtensions should really just be in mw.util [19:22:24] or in a far future in dedicated modules (e.g. mw.RegExp.escape or mw.Escape.regex ) [19:22:33] a bit like YUI does [19:22:59] Sounds much more better [19:25:04] http://www.doxdesk.com/img/updates/20091116-so-large.gif [19:26:01] More disappointingly, and less like a joke, http://forum.jquery.com/topic/how-to-sum-numbers [19:27:00] werdna: but that turned out to be quite hard once you start supporting anything else besides the basics [19:28:00] !rtad is Read The Awesome Manual [19:28:01] Key was added [19:35:06] svn.wikimedia.org/doc/? [19:38:34] Krinkle, what does the d stand for? [19:39:24] !rtad del [19:39:24] Successfully removed rtad [19:39:29] !rtam is Read The Awesome Manual [19:39:29] Key was added [19:39:32] :D [19:39:58] Amgine: phpDoxygen is definitely not aweesome [19:40:09] imbo (in my biased opinion) [19:40:15] <^demon> Manuals make awesome footrests. [19:40:24] <^demon> Print them out, stack them up. Cheap ottoman. [19:41:07] +1 [19:41:08] though it appears we have solid ones in the office (I'm looking at one under my desk) [19:41:11] "Fellowers" it says [19:41:28] they're on wheels even [19:42:36] hi Krinkle [19:44:28] or mine, Krinkle. [19:46:10] is FootNote obsolete in favour of Cite? [19:46:48] <^demon> I've never even heard of FootNote. [19:47:16] really? see: https://www.mediawiki.org/wiki/Special:Code/MediaWiki/10812 [19:47:22] for example [19:48:07] <^demon> Just because it's there doesn't mean I know about it :p [19:48:32] :) [19:48:49] so I guess the answer is yes... [19:54:28] [19:56:31] ^demon: would it be better to a) write a special-purpose xml parser from scratch, b) write an extension to SimpleXMLElement, c) write a wrapper value object using SimpleXMLElement or whatever, d) something I haven't thought of yet? [19:57:34] e) regex [19:57:57] f) hire a hitperson in the UK to hitReedy? [19:58:20] Your suggestion was a), Reedy! [19:58:25] and e [19:58:27] :p [19:58:34] <^demon> I hate wheel-reinvention, so I'd be inclined to use as much in stock PHP as possible (so SimpleXML and friends). [19:58:42] <^demon> That being said, things sometimes suck and you have to DIY. [19:58:51] <^demon> (Sorry for the vague and non-committal answer) [19:59:18] Me too. And I'm lazy. [20:00:30] <^demon> I honestly haven't played with SimpleXML enough to know for sure. Is it based on libxml2 like the legacy xml parser stuff? [20:00:33] <^demon> Cuz *that* sucked. [20:01:06] dunno. Mostly I hate xml, but I understand why it's better than other shit. [20:01:39] <^demon> json is nice :) [20:01:54] See what the DOM preprocessor uses [20:01:55] use that [20:02:08] <^demon> The DOM preprocessor uses DOMDocument, iirc. [20:02:13] ^demon: http://xmpp.org/extensions/xep-0295.html [20:02:21] bah, the data I have to work with is from yr.no. [20:02:21] ^demon: btw pgehres was looking for you to give somebody access to svn [20:02:22] yes, svn [20:02:32] <^demon> Yes, I know. Already took care of it. [20:02:49] sweet [20:02:58] <^demon> werdna: JSON is cool. I don't use XMPP so meh :) [20:03:26] [20:03:36] <^demon> yuck. totally not portable. [20:03:38] [20:04:34] ^demon: read the proposal, it's funny [20:05:35] "While many of the advantages of JSON over XML can be observed in this encoding (particularly the inherent brevity)" [20:06:49] tfinc: I am so sore today. [20:07:12] "Hopefully the beauty of this approach will be apparent at this stage, but in case some lingering doubts remain (and with the hope of aiding interoperability), more examples are provided here:" [21:02:08] RoanKattouw: https://github.com/Krinkle/testswarm-browserstack [21:03:56] RoanKattouw: https://github.com/Krinkle/testswarm-browserstack/blob/2012/lib/testswarm-browserstack.js\ [21:18:24] bsitu: https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Pagetriage-del-tags-dbg3-desc/en [21:19:00] looking at it, thx [21:29:30] who would be the one to ask to set up a new extensions repository? Chad? [21:29:53] ya [21:30:27] found http://www.mediawiki.org/wiki/Git/New_repositories [22:57:10] bsitu: awjr: want to talk about 20% time stuff? I will be away tomorrow so I just wanted to chat, if you have time [22:57:41] sumanah: im in an agile training meeting right now and will be in another one all day tomorrow too [22:57:51] 20% time stuff? [22:57:59] ah never mind awjr ok [22:58:05] Danny_B|backup: https://www.mediawiki.org/wiki/Wikimedia_engineering_20%25_policy [22:58:16] thanks [22:58:45] Hi sumanah [22:59:15] bsitu: so, if you already have 20% plans for tomorrow, never mind me :-) but if you want ideas, I can provide [23:00:02] awjr: hope your meeting is useful and not too onerous. :-) [23:00:19] sumanah thanks, so far so good :) [23:00:23] not much, is there anything in particular you want me to work on [23:00:49] Krinkle, I'm confused [23:00:50] what do we need to do with jQuery before using it? [23:01:21] bsitu: so, highest priority is the Gerrit merge queue, especially for backlogged components such as UploadWizard and ProofreadPage, and secondarily patches awaiting review in Bugzilla for MediaWiki or WMF-deployed extensions. [23:01:43] Platonides: The jQuery git repo contains a lot of different files, there is no 'jquery.js' or something [23:01:47] it is modular [23:02:02] to have a usable jquery.js for the public, it has to be build first [23:02:11] are you familiar with "make" or "build" ? [23:02:22] sure [23:02:36] sumanah: I will go over them tomorrow [23:02:37] whenever there is a release we can just pull the latest release off the jquery can, no big deal [23:02:39] I thought we just copied their files to our folder [23:02:40] code.jquery.com [23:02:47] no, never never did that ever [23:02:48] bsitu: ok, thanks! [23:04:02] this started with a thread about debian package [23:04:14] wanting to use thier packaged libjquery [23:04:33] that's what made me look at our resources [23:11:01] bsitu: https://www.mediawiki.org/wiki/Wikimedia_engineering_20%25_policy/status#2012-06-monthly has the relevant links. [23:11:54] thx [23:12:11] jdlrobson: got a moment to talk about 20% time stuff for tomorrow? [23:12:44] so I have a slight problem sumanah in that I have agile training yesterday, today and tomorrow… would it be acceptable to have two 20% days next week instead? [23:12:59] jdlrobson: check with your manager, but sure [23:13:02] or just skip 1 [23:13:50] sorry I didn't realise I was going to be involved in the sessions wed/thur and had planned to move it from friday today... [23:15:09] it's cool, understandable [23:15:12] thanks for the heads-up [23:19:48] sumanah: *waves* [23:19:50] hey mwalker [23:19:54] so, what error are you getting? [23:19:59] can you commit your USERINFO? [23:20:17] ah; that's probably an important step I missed [23:20:21] but, the error is: "svn: Commit failed (details follow): [23:20:22] svn: access to '/svnroot/wikimedia/!svn/act/7cb635cd-9f13-41e9-b57d-742d5bf0705b' forbidden" [23:20:57] USERINFO isn't a prequisite [23:21:06] Sure but it's good as a commit test [23:21:07] I'm just using that as a diagnostic step [23:21:50] you're in the right authorization group so that's not the problem [23:21:56] Reedy, RoanKattouw, want to take a crack at it? [23:22:08] You did check it out using ssh? [23:22:31] svn+ssh even [23:22:32] I attempted to do a switch, it may not have succeeded, let me do the USERINFO first and then report back [23:22:52] (this on a fresh checkout using svn+ssh) [23:22:55] we're still using svn? [23:23:08] yeah [23:23:52] numerous extensions are still in svn too :p [23:26:07] Danny_B|backup: check out https://www.mediawiki.org/wiki/Git/Conversion#Affected_development_projects [23:26:34] <^demon|away> USERINFO may very well have been set r/o, pending a migration to git that I didn't finish. [23:26:42] Danny_B|backup: ^demon|away and the other folks working on Git support want all the SVN projects moved off svn.wikimedia.org by the middle of 2013 but some haven't made it there yet [23:26:55] Nah [23:26:56] [/USERINFO] [23:26:56] * = rw [23:27:21] err, ^demon|away [23:27:27] You broke mediawiki authz even more [23:27:28] -rw-r--r-- 1 root root 17182 2012-07-26 23:08 mediawiki/conf/authz [23:27:29] i see, thanks for info. i was just curious... [23:27:43] Danny_B|backup: when someone's curious, I spew informative URLs :-) [23:27:49] <^demon|away> Reedy: Couldn't have, I don't have root on formey [23:28:05] sumanah: which is very nice and practical of you. appreciated [23:28:15] lol [23:28:25] Danny_B|backup: :-) yay! [23:28:48] ^demon|away: we know it's been you, you can't hide :-P [23:32:05] Reedy: I'm guessing it's a local problem that I just ran into, but I can't commit my USERINFO because "svn: Can't open file '/svnroot/mediawiki/db/txn-current-lock': Permission denied" [23:32:08] thoughts? [23:32:44] this was with a fresh "svn co svn+ssh://svn.wikimedia.org/svnroot/mediawiki/USERINFO" [23:33:54] Ryan_Lane: ^ I guess that's also a question/RfC for you as well [23:37:35] -rw-rw-r-- 1 root svn 0 2008-09-20 00:02 txn-current-lock [23:37:39] I guess you're not in the svn group [23:38:33] sumanah: ^ is that a you + ldap thing? [23:38:51] I ensured that mwalker was in the mediawiki group in the authz file, Reedy [23:39:00] Yeah, as did I [23:39:15] so what group is it he's not in? [23:39:39] well, that file is owned by root:svn [23:39:51] everyone else can read, but only root and anyone in the svn group can write to it [23:40:02] he's not root, so ergo, he's not a member of the group [23:40:54] oh, ok, I misread "the svn group" there [23:42:43] reedy@formey:/svnroot$ getent group | grep mwalker [23:42:43] reedy@formey:/svnroot$ [23:44:59] though, no one else seems listed in the group svn.. [23:45:23] Try a svnadmin lslocks? [23:45:35] It almost sounds like someone's got an outstanding lock on the path. [23:45:45] haha at your username [23:46:21] nada [23:46:26] Yeah, just checked. [23:46:27] Hmm [23:46:33] I just committed to /USERINFO [23:47:22] Yeah, and I just did a fresh clone. [23:47:24] Err, checkout [23:47:48] I got -rw-rw-r-- 1 reedy svn 5 2012-07-26 23:40 txn-current [23:47:48] Reedy, svn is the main group [23:47:59] Granted, I guess we should just move this crap to git and be done with it. [23:48:00] and mwalker is in it [23:48:02] Perhaps I could do that tomorrow. [23:48:05] mwalker:x:2454:500:Mwalker:/home/mwalker:/bin/bash [23:48:14] gid=550(svn) [23:48:59] Where did you pull that from? [23:49:22] also, the line above says 2454:500 [23:49:23] not 550 [23:50:30] getent passwd [23:51:02] 2454 would be his uid [23:51:14] mwalker: ok, you're in capable hands, I shall sort of stroll away now :) [23:51:20] sorry for the inconvenience, mwalker & K4-713 [23:51:32] sumanah: no worries; thanks for the help you gave today [23:51:41] reedy@formey:/svnroot$ getent passwd | grep mwalker [23:51:41] mwalker:x:2454:500:Mwalker:/home/mwalker:/usr/local/bin/sillyshell [23:51:41] reedy@formey:/svnroot$ getent passwd | grep reedy [23:51:41] reedy:x:1226:550:Reedy:/home/reedy:/bin/bash [23:51:43] Spot the difference [23:51:47] gwicke: https://www.mediawiki.org/w/index.php?title=VisualEditor%3ADoom&diff=565804&oldid=565802 [23:51:50] as I said, his group is 500, not 550 [23:51:54] you are in the svnadm group [23:51:55] RoanKattouw: https://www.mediawiki.org/w/index.php?title=VisualEditor%3ADoom&diff=565804&oldid=565802 [23:52:22] sorry [23:52:24] completely wrong [23:52:28] 550 is svn [23:52:34] 500 is wikidev [23:53:04] why do we have different users group? [23:53:50] seems most old accounts were in svn [23:53:55] while new are all at wikidev [23:54:05] svnadm:*:1001:pdhanda,demon,robla,tstarling,laner [23:54:06] so they wouldn't be able to svn commit [23:54:18] Most people probably don't need/want to commit to svn [23:54:25] agree [23:54:42] If they aren't already committing to SVN, I'd really rather they not start now. [23:55:02] Fundraising staff is somewhat of an exception [23:55:02] If you're starting a new extension, etc. Do it in git rather than SVN so I don't have to take the time to migrate you later :) [23:55:06] It's not like it's joe public [23:55:12] unless they were going to commit to pywikipediabot, for instance [23:55:13] Yes, certainly. [23:55:25] We haven't had anyone want pywikipediabot access in awhile. [23:55:34] Speaking of, I need to talk to them again and find out what they wanna do. [23:55:34] NotDemonSsshhh: fundraising needs svn for existing code [23:55:39] Yes, I know. [23:55:46] maybe 2 months since the last pywikipedia request [23:56:25] We could just make FR move to git, like, now [23:56:26] ;) [23:56:36] * K4-713 jumps out the window [23:56:37] no, we couldn't ;-) [23:56:51] Who is this "we" you speak of? [23:56:52] :) [23:57:21] The irc cabal! [23:57:42] Because /I/ sure as hell don't plan on making fundraising switch platforms when the fundraiser is looming in the near future. [23:57:43] Mostly me. [23:57:53] heh [23:58:00] We just need to get someone in ops to switch his group [23:58:23] If it's ldap, I think I might be able to do it, but I haven't the foggiest idea how. [23:58:30] Yeah... so, as I said before, I am perfectly willing to start working on migrating to git as soon as Jeff_Green gets back from vacation in a week and change. [23:58:56] We know who loves ldap [23:59:01] -_- [23:59:04] you guys are worthless [23:59:04] xD [23:59:11] ohai Ryan [23:59:41] Ryan_Lane: Oh please, teach me your ldap magic. [23:59:54] Teach me to be as wise and learned in ldap as you, oh dear leader ;-)