[00:29:08] (03PS10) 10Legoktm: Make abstract Config class truly implementation-agnostic [core] - 10https://gerrit.wikimedia.org/r/109850 (owner: 10Ori.livneh) [00:29:52] (03CR) 10Legoktm: Make abstract Config class truly implementation-agnostic (034 comments) [core] - 10https://gerrit.wikimedia.org/r/109850 (owner: 10Ori.livneh) [00:31:12] (03CR) 10jenkins-bot: [V: 04-1] Make abstract Config class truly implementation-agnostic [core] - 10https://gerrit.wikimedia.org/r/109850 (owner: 10Ori.livneh) [00:36:12] legoktm: Are we there yet? :P [00:36:17] Jenkins says no [00:36:44] yeah, fixing that right now [00:36:52] I'm not sure what Daniel wants to do with the factory thing [00:40:35] the tests need work once we figure out what the interface is going to be. [00:40:43] (03PS11) 10Legoktm: Make abstract Config class truly implementation-agnostic [core] - 10https://gerrit.wikimedia.org/r/109850 (owner: 10Ori.livneh) [00:42:43] (03CR) 10jenkins-bot: [V: 04-1] Make abstract Config class truly implementation-agnostic [core] - 10https://gerrit.wikimedia.org/r/109850 (owner: 10Ori.livneh) [00:42:45] That's to be expected [00:43:25] blegh [00:43:38] oh right [00:43:47] I should probably run these locally first [00:45:16] (03PS12) 10Legoktm: Make abstract Config class truly implementation-agnostic [core] - 10https://gerrit.wikimedia.org/r/109850 (owner: 10Ori.livneh) [01:03:02] (03PS1) 10Purodha: Introduce ow_add_definition functin to API. [extensions/WikiLexicalData] - 10https://gerrit.wikimedia.org/r/116270 [01:11:54] (03PS1) 10Purodha: Fix mistyped file name.:wq [extensions/WikiLexicalData] - 10https://gerrit.wikimedia.org/r/116271 [01:23:40] (03CR) 10Physikerwelt: [C: 032] Add COPYING [extensions/Math] - 10https://gerrit.wikimedia.org/r/116244 (owner: 10Reedy) [02:37:14] (03CR) 10MZMcBride: Fix mistyped file name.:wq (031 comment) [extensions/WikiLexicalData] - 10https://gerrit.wikimedia.org/r/116271 (owner: 10Purodha) [02:42:53] (03CR) 10Hiong3-eng5: "Yes, the file name should be renamed. but it seems not renamed here." [extensions/WikiLexicalData] - 10https://gerrit.wikimedia.org/r/116271 (owner: 10Purodha) [02:59:18] (03CR) 10Hiong3-eng5: Introduce ow_add_definition functin to API. (034 comments) [extensions/WikiLexicalData] - 10https://gerrit.wikimedia.org/r/116270 (owner: 10Purodha) [03:06:40] (03CR) 10Hiong3-eng5: "Oh, its deleted. I think it is better to amend your original patch than create a new commit. :)" [extensions/WikiLexicalData] - 10https://gerrit.wikimedia.org/r/116271 (owner: 10Purodha) [03:20:01] (03PS2) 10Legoktm: Implement design by Prtksxna [extensions/AccountInfo] - 10https://gerrit.wikimedia.org/r/116268 [03:20:52] legoktm: o: [03:20:59] legoktm: Can I see it anywhere? [03:21:13] http://cl.ly/image/2j021N3x0g2l is what it is right now [03:22:14] let me put it on my labs wiki [03:22:15] What's the green? [03:22:33] that's what your current information is [03:22:42] but I want to make that more obvious somehow [03:22:45] Yeah. [03:22:51] Shoot design an e-mail. [03:22:55] https://www.mediawiki.org/wiki/Thread:Extension_talk:AccountInfo/Design [03:23:20] Thx. [03:23:24] This is great. [03:26:08] legoktm: You know I've never used that debug toolbar. [03:26:12] Is it useful? [03:26:26] Depends on what you're trying to debug [03:26:42] Fair enough. [03:26:55] I was messing with some mysql queries and it was useful for that [03:26:55] The line separators seem arbitrary to me. [03:27:07] I was going to e-mail wikitech-l about MariaDB optimizations. [03:27:19] I'm concerned, but I'm not sure if it's justified. [03:27:45] I'm concerned about people not using MariaDB. And I'm concerned about smaller wikis where the optimizer might act different. [03:27:50] I updated legoktm.wmflabs.org/wiki/Special:AccountInfo to include the design patch [03:27:52] differently * [03:28:07] MariaDB is not super different from MySQL right now. [03:28:11] On the HTTP protocol? [03:28:39] legoktm: Either are Blink and WebKit... yet. Give it time. [03:28:59] Hello, I was trying to determine the language direction(ltr or rtl) while implementing a beta feature. Here is my code: https://dpaste.de/nZ8C#L3,4,6 It gives me a recursion error. I know the relevant file is https://github.com/wikimedia/mediawiki-core/blob/master/includes/context/RequestContext.php but I am not able to figure out why it gives me the recurson error. [03:29:34] legoktm: so people will be able to CU themselves? [03:29:46] Jasper_Deng: basically [03:29:47] that actually is something that Google has been doing.... [03:29:51] Gloria: http://dom.as/2013/11/26/how-mysql-engineering-broke-the-backups/#comment-4046 [03:30:35] Jasper_Deng: The Google reports are next to worthless, from what I've seen. [03:30:51] Why would you want to CU yourself? [03:30:55] they provide almost the same amount of info, with geolocation, to boot [03:30:58] huh: in case someone was hacking in [03:31:12] paranoia_level++; [03:31:23] It's not self-CU, exactly. [03:31:56] Why are some stylesheets in mediawiki .css and some .less? [03:32:09] less was only introduced recently [03:32:18] and if you don't need to use less features...css is good enough [03:32:35] legoktm: Right, but the nesting mostly makes the CSS more readble [03:33:07] Jasper_Deng: wouldn't this help vandals know what the CUs/stews will be able to deduce? [03:33:33] not completely [03:33:40] AccountInfo won't give xff [03:33:53] (unless legoktm is going to correct me on that one too) [03:34:18] it will give XFF [03:34:20] legoktm: So moving any css to less won't be considered bad? Does it have any performance implications? [03:34:47] huh: There's an interesting bug report about this. :-) [03:34:50] prtksxna: technically less is slower because it requires a preprocessor, but I'm not sure how much slower...I don't think anyone has pointed out that its too slow [03:35:06] "It's not self-CU, exactly." [03:35:15] What is the difference, other than the special page name? [03:35:24] you can't CU others on your IP [03:35:57] and as you can tell, its purpose is different than CU [03:36:01] huh: Read the RFC and bug report for background. [03:36:12] huh: There's also a chat log... on one of the talk pages, maybe? [03:36:45] https://www.mediawiki.org/wiki/Requests_for_comment/Retained_account_data_self-discovery? [03:37:01] Yep. [03:37:10] The bug report is hopefully linked from that. [03:37:15] Yep [03:37:31] How long are IPs stored on Wikimedia sites currently? [03:37:39] such that CUs can access it [03:37:46] 90 days [03:37:49] approximately [03:37:56] not exactly? [03:37:59] Nope! [03:38:14] no, it's pretty exact [03:38:20] give or take a few seconds [03:38:20] huh: b/c it's enforced by a script [03:38:22] There's a cute algorithm in place for deleting the rows. [03:38:23] ^ [03:38:42] Okay, thanks [03:38:52] You can read the source of CheckUser to see the logic. [03:39:30] Gloria: I'm sure it's not in CU itself, I thought it was a server-side script [03:39:59] I think you're confused. [03:40:21] Or I am. :-) [03:40:34] I mean, the script is in the CU extension, etc. [03:40:48] legoktm: If I change any .css file to .less will everything "just work" or will I have to register it somewhere [03:40:49] why does https://www.mediawiki.org/wiki/Extension:Checkuser not mention it? [03:41:02] Maybe I'm thinking of RecentChanges? [03:41:14] prtksxna: it'll just work :) [03:41:15] One of them uses some access-based algorithm, I'm fairly sure. [03:41:15] idk about recentchanges [03:41:24] legoktm: So apple :P [03:42:22] https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FCheckUser.git/e94ad6b467a5d4b88bebd83f09617a8719ef33d7/CheckUser.hooks.php#L221 [03:42:31] legoktm, Jasper_Deng: Every 100 edit, no? [03:42:37] Unless Wikimedia also runs the maintenance script? [03:42:38] Dunno. [03:42:43] That's what I was remembering. [03:42:49] there's a cron job for the maintence script [03:43:23] ^ [03:43:36] why isn't this documented in the extension documentation? [03:43:56] oh there /is/ a mention of this variable [03:44:35] Who wrote the debug toolbar? [03:45:50] nevermind ^ [03:46:40] Jasper_Deng, legoktm: Is the cron job probabilistic as well? :-) [03:46:46] no [03:46:47] Usually scripts like that are, as I recall. [03:46:52] It iterates through all wikis? [03:46:56] why the heck would you use rand like that? [03:46:59] (just asking) [03:47:06] Job runners do it. [03:47:15] To make it fairer for small wikis. [03:47:25] I guess. [04:00:11] I should get more credit for knowing about that obscure CU algorithm. [04:00:41] Er, I´ll reiterate. I was trying to determine the language direction(ltr or rtl) while implementing a beta feature. Here is my code: https://dpaste.de/nZ8C#L3,4,6 It gives me a recursion error. I know the relevant file is https://github.com/wikimedia/mediawiki-core/blob/master/includes/context/RequestContext.php but I am not able to figure out why it gives me the recurson error. [04:01:32] Niharika: use isRTL [04:01:33] with caps [04:02:37] but that shouldn't cause a recursion error ... [04:03:17] Niharika: does getLanguage() happen to trigger that hook? [04:03:29] that could cause a stack overflow [04:04:04] Other than that, you would need to give stack trace to debug [04:04:45] huh: getLanguage doesn´t trigger the hook..Hang on. I´ll copy the trace. [04:04:52] huh: http://legoktm.wmflabs.org/wiki/Special:AccountInfo [04:05:52] http://legoktm.wmflabs.org/w/index.php?title=Main_Page&diff=3&oldid=1 nice vandalism [04:07:04] https://dpaste.de/tdzK [04:08:25] Niharika: maybe someone else can help, that's a bit too cryptic for me [04:08:29] huh: There is another function in the same file which creates an instance of RequestContext too. [04:08:34] oh? [04:08:47] That could cause the recursion? [04:09:23] Possibly, but I would need to see it myself to tell you [04:09:41] maybe someone else can help [04:09:57] Okay, no problem. Thanks. [04:11:20] Gloria: is there a version of User::isAllowed that takes an action and a page? [04:12:23] Err, what? [04:12:27] What are you trying to do? [04:14:14] See if a user has the correct permissions to create a page before creating it in an extension? [04:14:42] Or does doEditContent already check for blocks, correct permissions, allowed in namespace, etc. ? [04:15:53] Dunno. [04:16:03] Look at what MassMessage does? [04:16:05] It makes edits. [04:16:22] * huh looks [04:17:55] so it uses the API [04:17:57] hm [04:18:13] Sounds sensible to me. [04:18:14] good idea [04:28:15] (03PS2) 10Prtksxna: mediawiki.debug: Migrate CSS to LESS [core] - 10https://gerrit.wikimedia.org/r/116272 [04:42:40] (03CR) 10MZMcBride: "Brian: thank you for working on this." [core] - 10https://gerrit.wikimedia.org/r/116227 (owner: 10Brian Wolff) [04:49:22] huh: $title->userCan( 'edit' ) [04:49:34] that only checks protection, and titleblacklist [04:49:42] legoktm: is that better or worse than using API? [04:49:48] you really should just use the API which will check abusefilter + spamblacklist and everything else [04:50:00] hm, ok [04:50:15] Yep. [05:56:14] (03PS3) 10Legoktm: Implement design by Prtksxna [extensions/AccountInfo] - 10https://gerrit.wikimedia.org/r/116268 [05:56:23] prtksxna, Gloria: ^ [05:56:27] gonna deploy that in a second [06:00:36] (03CR) 10Prtksxna: Implement design by Prtksxna (032 comments) [extensions/AccountInfo] - 10https://gerrit.wikimedia.org/r/116268 (owner: 10Legoktm) [06:01:58] legoktm: ^ [06:02:07] legoktm: Still need to fix the 91 days 0 hours :P [06:05:44] prtksxna: 0.8em looks pretty small on my computer [06:05:54] legoktm: :( 0.9? [06:06:23] that's better, but it's still small [06:06:37] can we just keep it the same size as the parsed user agent? [06:07:06] legoktm: Doesn't make sense, it lesser important information [06:07:08] The drawer might make more sense expanding across all the table columns. [06:07:15] legoktm: Must maintain heirarchiy [06:07:19] I'm not sure why the IP addresses are in a monospace font. [06:07:48] The drawer is also a reasonable place to clarify which data is for the current session. [06:07:54] Maybe. [06:07:58] Gloria: Used to reading it in monospace? [06:08:06] Who is? [06:08:08] -design? [06:08:14] http://hackertyper.net/ [06:08:41] that's why it's in monospace, i mean [06:08:51] ori: Vimum mode on chrome breaks that for me :( [06:09:25] legoktm: Why an extension again? Why not core? [06:09:28] The CU dependency? [06:09:41] yeah [06:09:57] ori: Did you get a change to see my mail? [06:10:02] chance [06:10:26] yeah, sorry := [06:10:33] s/:=/:\ [06:10:36] legoktm: Eh... why a separate extension? [06:11:08] as opposed to putting it in CheckUser? [06:11:22] I don't feel it fits, and the extension can be used without CU even being installed. [06:11:38] Then why not core? [06:12:11] because then implementing CU would be a pain [06:12:37] vimium looks neat [06:12:45] prtksxna: i'm not reading e-mails at the moment, i'm on vacation [06:12:57] i'm on irc to keep tabs on gloria [06:12:59] * Gloria NP: "The Power Of Love" by Celine Dion from "The Colour Of My Love" [06:13:03] ori: Its really nice :) [06:13:13] Vacation or the e-mail? [06:13:13] ori: Oh right, I forgot! [06:13:28] Gloria: vimium [06:13:33] Ah, right. [06:13:39] Such ambiguity. [06:13:46] http://sqlfiddle.com/ :O [06:14:04] 'cause I'm your ladyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy. [06:15:13] (03PS4) 10Legoktm: Implement design by Prtksxna [extensions/AccountInfo] - 10https://gerrit.wikimedia.org/r/116268 [06:15:31] (03CR) 10Legoktm: Implement design by Prtksxna (032 comments) [extensions/AccountInfo] - 10https://gerrit.wikimedia.org/r/116268 (owner: 10Legoktm) [06:15:38] That commit message should be rewritten. [06:15:40] prtksxna: I just went with 0.9 for now [06:15:46] Gloria: be bold! [06:15:50] There's a Co-Author thing. [06:16:05] Maybe one day. [06:18:13] legoktm: Erm, why is IP Address not a link (as you wanted to) [06:18:36] legoktm: edits not showing up for me :( http://localhost:8080/wiki/Special:AccountInfo [06:18:54] didn't get to the link thing yet [06:19:02] legoktm: i can haz screenshot? [06:19:09] prtksxna: you have CU installed right? [06:19:30] prtksxna: http://cl.ly/image/401v1c0A3s14 [06:19:55] * Jasper_Deng guesses legoktm is going to make his extensions, at least new ones like this one, compatible w/ Composer [06:20:22] legoktm: Looks good. No, I didn't [06:20:33] prtksxna: just use the vagrant role ;) [06:20:42] Jasper_Deng: Dunno. I'm not sure about the whole composer thing yet [06:24:12] * prtksxna uses vagrant rols [06:24:16] s/rols/role [06:24:22] brb [06:26:43] http://cl.ly/image/2T030X0S292e [06:37:54] legoktm: Nice :D Uses moment().fromNow()? [06:38:10] legoktm: Also can you put the generated markup into a fiddle? I'll mess with the CSS there :) [06:39:22] prtksxna: no, that's all in PHP :) [06:39:34] legoktm: From page source, please :D [06:41:37] prtksxna: https://dpaste.de/DqAh/raw [06:43:19] (03PS5) 10Legoktm: Implement design by Prtksxna [extensions/AccountInfo] - 10https://gerrit.wikimedia.org/r/116268 [06:43:41] prtksxna: ^ that's the latest CSS too, I had to change the nth-child stuff since we added a new column [06:44:00] legoktm: Ah, right [07:43:48] (03PS6) 10Legoktm: Implement design by Prtksxna [extensions/AccountInfo] - 10https://gerrit.wikimedia.org/r/116268 [07:44:26] (03CR) 10Prtksxna: [C: 031] Implement design by Prtksxna [extensions/AccountInfo] - 10https://gerrit.wikimedia.org/r/116268 (owner: 10Legoktm) [07:49:17] (03PS7) 10Legoktm: New design for Special:AccountInfo [extensions/AccountInfo] - 10https://gerrit.wikimedia.org/r/116268 [07:50:38] (03PS8) 10Legoktm: New design for Special:AccountInfo [extensions/AccountInfo] - 10https://gerrit.wikimedia.org/r/116268 [07:51:19] (03CR) 10Legoktm: [C: 032 V: 032] New design for Special:AccountInfo [extensions/AccountInfo] - 10https://gerrit.wikimedia.org/r/116268 (owner: 10Legoktm) [07:57:50] (03CR) 10Legoktm: [C: 031] "Looks the exact same to me, but I'd prefer if someone who's more proficient at LESS to also look at it." [core] - 10https://gerrit.wikimedia.org/r/116272 (owner: 10Prtksxna) [08:01:08] sleeping ? [08:03:52] (03PS1) 10Legoktm: Fix incorrect usage of Title::newFromText [extensions/Echo] - 10https://gerrit.wikimedia.org/r/116273 [08:39:19] How will I add a custom manifest, say like https://github.com/example42/puppet-exim to my existing vagrant roles ? [08:39:52] I copied the manifests/*.pp to the original manifests.d/ directory, but exim is not showing up in my roles list [08:42:55] legoktm: Hi ! You around ? [09:38:25] (03CR) 10Parent5446: [C: 04-1] "Almost ready. Just a few minor issues." (035 comments) [extensions/Persona] - 10https://gerrit.wikimedia.org/r/112309 (owner: 10Donyu) [11:01:59] Was there any recent change (in the last month or so) with gerrit authentication? I can't seem to be able to ssh into gerrit any more from either of my machines, even though it was working fine before. [11:02:23] (I've checked all the usual suspects locally.) [11:38:33] guillom: Confirmed that the key is still present in your account on gerrit? [11:44:44] rdwrer: yup, still there and still the same [11:45:59] (03PS1) 10Purodha: Re-add renamed file. [extensions/WikiLexicalData] - 10https://gerrit.wikimedia.org/r/116277 [11:46:21] rdwrer: in the meantime, could I bother you for a minute and ask you to run this? http://www.gossamer-threads.com/lists/wiki/wikitech/283396#283396 [11:46:47] (when you have time) [11:47:50] * guillom is late for family lunch, will bbl. [13:37:46] (03PS1) 10Liangent: Create plural rules for variants of zh (Chinese) [core] - 10https://gerrit.wikimedia.org/r/116278 [13:44:49] (03PS2) 10Liangent: Create plural rules for variants of zh (Chinese) [core] - 10https://gerrit.wikimedia.org/r/116278 [13:46:21] (03PS3) 10Liangent: Create plural rules for variants of zh (Chinese) [core] - 10https://gerrit.wikimedia.org/r/116278 [14:39:24] moin @all, short question: if i type "git review -R" and get a "Creating a git remote called 'gerrit'" there is somthing wrong? [14:42:03] eckart: no, that's normal, git-review creates its own remote in addition to the 'origin' one you probably have [14:43:13] phuuu .... thx .... so now iam waiting for the next error ;) [15:12:24] (03PS7) 10Manybubbles: Setup jenkins configuration [extensions/CirrusSearch] - 10https://gerrit.wikimedia.org/r/115193 [15:26:22] (03PS1) 10Foxtrott: Follow-up Icc640545c4: More css stuff [extensions/Lingo] - 10https://gerrit.wikimedia.org/r/116279 [15:26:46] (03CR) 10Foxtrott: [C: 032 V: 032] Follow-up Icc640545c4: More css stuff [extensions/Lingo] - 10https://gerrit.wikimedia.org/r/116279 (owner: 10Foxtrott) [15:39:25] (03PS20) 1001tonythomas: Removed 'Remember my login' preference [core] - 10https://gerrit.wikimedia.org/r/94614 [16:05:30] Gloria: I have read the gerrit tutoria, but cannot get ssh to work [16:05:49] and the gerrit tutorial [16:06:16] huh: Windows or Linux? [16:06:29] huh: Can you please paste the exact SSH command you're running and its output? [16:06:43] If you can SSH into Labs, you should be able to SSH into gerrit.wikimedia.org without issue. [16:07:08] I'm trying to do it from Labs, multichill [16:07:22] (because in Windows you have some weird ssh issues) [16:07:47] is that okay? [16:08:10] yea ... windows, git and gerrit are creepy [16:08:11] Fucking Internet. [16:08:35] Excess Flood? [16:08:41] Wireless stupidity. [16:08:48] Anyway, what's the issue? [16:08:59] I tried to do it instead from Labs [16:09:04] ssh: connect to host gerrit.wikimedia.org port 22: Network is unreachable [16:09:38] should I do it from my own computer? [16:09:52] Yes. [16:10:00] wrongport .. wikimedia gerrit runs at port 29418 [16:10:02] then I'd need to install ssh, git, git-review, maybe other things [16:10:06] It won't work from tools-login. [16:10:11] oh, I have ssh [16:10:13] obviously [16:10:19] but not the others [16:10:32] eckart: Even specifying the appropriate port fails. [16:10:43] And you can connect to gerrit.wikimedia.org over port 22. [16:10:48] works from here ... also with putty [16:10:48] I believe. [16:10:48] Gloria: I tried it on bastion... would it be better in a tools account? [16:11:01] huh: No, do it from your local computeer. [16:11:04] Or from vagrant, I suppose. [16:11:08] ok, I'll try [16:11:12] If you don't want to do it from Windows. [16:11:19] You can use a virtual(ized) environment. [16:11:46] Permission denied (publickey). [16:11:56] huh: Paste the exact command you're running. [16:12:00] I've asked like nine times. [16:12:17] huh, you have to put in your pulic key to wikitech [16:12:33] I'm also fighting with Gerrit. I patched up a bug, I got a bunch of unrelated changes. Did https://www.mediawiki.org/wiki/Gerrit/Tutorial#git_review_complains_about_multiple_commits [16:12:38] (Port 22 will fail. My .ssh/config sets it for me.) [16:12:46] But I still have a couple of leftover I can't get out [16:12:53] multichill: Just ignore them and commit? [16:12:59] You probably won't break anything. [16:13:00] ssh pirsquared@gerrit.wikimedia.org [16:13:04] Permission denied (publickey). [16:13:13] My public key is on wikitech already [16:13:20] huh: Try "ssh -p 29418 pirsquared@gerrit.wikimedia.org" [16:13:45] ohhhhh, thanks [16:14:02] huh: Somewhere on your computer there is likely a directory (a folder) called ".ssh". [16:14:05] You should find that. [16:14:16] it works with the correct port number [16:14:26] You can make a file called "config" inside where you can specify the port number. [16:14:37] what format? [16:14:39] Then you won't need to specify it so often. [16:15:11] http://p.defau.lt/?joVodNUYrg4bS5wuvw8_wg [16:15:15] That's mine. [16:16:03] but linux ? ;) [16:16:22] OS X. I think Windows has the same thing. [16:16:39] Because people usually install some emulator. [16:16:48] windwos is using backslashes ;) [16:17:04] Then it would be in .ssh\config [16:17:08] Shrug. [16:18:16] and yes, there is a hidden directory called .ssh in c:\xxxxx\\ [16:19:35] dont know the exact english called directory behind the c ;) ... in german its called "Dokumente und Einstellungen" ... on XP ... dont have a win7 running at the moment [16:19:38] No, it will be .ssh/config [16:19:44] git bash uses proper file paths [16:19:47] * huh is not using Windows [16:19:53] What are you using? [16:20:04] OS X, but I also can run Linux is needed [16:20:11] as needed [16:20:14] Oh, OS X should be trivial. [16:20:43] huh: Install homebrew. [16:20:47] If you haven't already. [16:21:15] Does that work w/o XCode? [16:21:28] No. [16:21:38] You'll need to download and install XCode as well. [16:21:41] It's several gigs. [16:21:57] Krenair: you are rigt, the git bash use forward slashes, but if you search the file in the normal explorer .... ;) [16:24:01] anyway, has someone get it running to push a patch under windows? my bash is showing "Creating a git remote called gerrit taht maps to ssh:/ ...." since 2 hours *g* [16:24:25] Nobody develops on Windows directly... [16:24:30] You use an emulator of some kind. [16:24:40] Whether that's a virtual box, cygwin, git bash... [16:25:56] i dont deveolpe on my windows .. and i dont use a git/gerrit on my production system .. so should i run a virtual linux on my windows only to push a simple patch? [16:26:13] huh: are you still having ssh issues? [16:26:46] I had ssh issues earlier today, and was wondering if it was on my end or not since it used to work about a month ago. [16:26:58] eckart: If you're using Windows, you probably want to use MediaWiki-Vagrant, yeah. [16:27:10] guillom: What kind of issues? [16:27:32] Gloria: whats that? [16:27:36] eckart, I have it working under windows [16:27:41] Gloria: Good ol' access denied. [16:27:41] !vagrant [16:27:42] There is no such key, you probably want to try: !vagrant, [16:27:44] goodness knows how but I figured it out [16:27:49] !vagrant, [16:28:05] I swear to fucking God that bot gets more and more retarded every day. [16:28:10] :D [16:28:15] lol [16:28:26] https://www.mediawiki.org/wiki/MediaWiki-Vagrant [16:28:31] eckart, maybe I can help though. what command were you running when it stopped? [16:28:57] the last command was git review -R (fro the tutorial) [16:29:18] try using ctrl+c to kill the command, and trying again [16:30:11] (03PS1) 10GBT248: Preferences.php: avoid "Undefined index" if key 'realname' don't exist in $formdata Added additional check for missing key "realname" in $formData which can cause an undefined index: realname (see bug 62029 fo details) [core] - 10https://gerrit.wikimedia.org/r/116282 [16:30:17] Could I bother someone for a quick gerrit query, since I can't get it to work at the moment? https://www.mediawiki.org/wiki/Wikimedia_engineering_report/How_to#Fill_out_the_Metrics_box [16:30:56] aargll [16:31:00] I wonder if petan secretly modifies the bot daily. [16:31:02] Just breaking random shit. [16:31:10] It really isn't rocket science to set up and maintain an IRC bot. [16:32:05] gngngngng ... 2hours waiting for nothing ... [16:32:37] patch uploaded ... i think so .. the bot is teling it :D [16:32:38] guillom: That's not simple, exactly. That query requires tweaking. [16:32:41] yay [16:33:15] Gloria: hm; ok. I usually just use mark's script from http://www.gossamer-threads.com/lists/wiki/wikitech/283396#283396 [16:33:20] (03PS2) 10Alex Monk: Preferences.php: avoid "Undefined index" if key 'realname' don't exist in $formdata [core] - 10https://gerrit.wikimedia.org/r/116282 (owner: 10GBT248) [16:33:40] If it's too complicated, I'll just try harder to get ssh to work. [16:33:51] guillom: Yeah, let's fix your SSH. [16:34:00] guillom: Paste the exact command and error you're receiving. [16:34:29] eckart, did you bother working out the code style from the code around it? [16:34:31] I don't have Mark's script, of course. [16:34:37] Or better, read the CC/PHP page? [16:34:43] Don't abbreviate, please. [16:34:52] Or at least do it in a link. [16:36:18] Gloria: http://pastebin.ca/2650125 [16:36:19] (03CR) 10Alex Monk: [C: 04-1] Preferences.php: avoid "Undefined index" if key 'realname' don't exist in $formdata (032 comments) [core] - 10https://gerrit.wikimedia.org/r/116282 (owner: 10GBT248) [16:36:29] yes and no ... iam getting the error in my apache error log and it tooks me 6hours to find the right position where the error was generated [16:36:50] after found it there are no probs to write the 3 lines ;) [16:37:11] It's not asking for my passphrase, but I have no idea why. [16:39:17] debug3: Could not load "/home/gpaumier/.ssh/wikimedia-key" as a RSA1 public key [16:39:19] doesn't look good [16:39:31] hmm [16:40:04] FTR, I can connect to github with the exact same setup (just a different key). Files locations / permissions are the same. [16:40:41] you sure you put your public key in gerrit? [16:40:46] And it worked 4 weeks ago when I ran that gerrit command, and I haven't touched the keys since. [16:40:52] Yeah, it's been there for ages. [16:41:10] Maybe I'll try to add a second key an see how that goes. [16:41:15] and* [16:42:36] guillom: You've abstracted your configuration. [16:42:43] yes [16:43:21] The config file is dead simple (hostname, url, port, username, identity file) [16:45:04] guillom: Try "ssh -p 29418 guillom@gerrit.wikimedia.org" ? [16:45:06] I've tried without the config file (and the full command) and the result is the same [16:45:13] Hrm. [16:47:05] Hmm; I've added another key to gerrit, and now it's working. [16:48:25] Hmm, no. This time it asks for my passphrase, but still denies access. [16:48:30] wff [16:52:38] With a brand new key with no passphrase, added to gerrit, I still get access denied. [16:52:49] -_- [16:53:20] Check the file permissions of your .ssh directory and the keys? [16:53:31] Otherwise, you may need someone in ops to check the error log. [16:55:53] The folder is 700, the keys 600, so that's normal afaik. [16:55:57] Okay. [16:56:01] Thanks. [17:38:28] (03CR) 10Reedy: Switch API to use Config classes (031 comment) [core] - 10https://gerrit.wikimedia.org/r/109271 (owner: 10Reedy) [17:48:32] nemo_bis:hi r u free right.... need your advice? [17:52:59] *right now [18:07:48] (03PS1) 10Umherirrender: Use a secondary db connection for Revsion::getParentLength in api [core] - 10https://gerrit.wikimedia.org/r/116286 [18:11:48] (03PS3) 10Inchikutty: Embedding leaflet maps based on OSM data to UploadWizard [extensions/UploadWizard] (osm) - 10https://gerrit.wikimedia.org/r/116129 [18:13:37] (03CR) 10Parent5446: [C: 031] Removed 'Remember my login' preference [core] - 10https://gerrit.wikimedia.org/r/94614 (owner: 1001tonythomas) [18:25:49] (03PS1) 10UltrasonicNXT: Add PM log [extensions/MediaWikiChat] - 10https://gerrit.wikimedia.org/r/116287 [18:27:14] (03CR) 10UltrasonicNXT: [C: 032 V: 032] Add PM log [extensions/MediaWikiChat] - 10https://gerrit.wikimedia.org/r/116287 (owner: 10UltrasonicNXT) [18:30:53] (03PS2) 10Purodha: Re-add renamed file and fix a typo. [extensions/WikiLexicalData] - 10https://gerrit.wikimedia.org/r/116277 [18:46:03] (03PS1) 10GBT248: Preferences.php: avoid "Undefined index" if key 'realname' don't exist in $formdata [core] - 10https://gerrit.wikimedia.org/r/116288 [18:55:02] (03PS1) 10Chococookies: Created an extension template. [extensions/OpenBadges] - 10https://gerrit.wikimedia.org/r/116289 [18:58:20] can someone explain me why gerrit adds a new patch set 1 instead of adding it to the previous? [19:00:20] (03PS4) 10Inchikutty: Embedding leaflet maps based on OSM data to UploadWizard [extensions/UploadWizard] (osm) - 10https://gerrit.wikimedia.org/r/116129 [19:14:56] (03PS13) 10AalekhN: Make Special:Whatlinkshere.php transcludable [core] - 10https://gerrit.wikimedia.org/r/106625 [19:15:34] ooh [19:22:04] (03PS1) 10Umherirrender: Remove final period from api module descriptions [core] - 10https://gerrit.wikimedia.org/r/116290 [19:29:22] (03CR) 10UltrasonicNXT: "Legoktm: yeah, that's something I have thought of when doing stuff so far, and I will get round to. Those functions are pretty much copy p" [extensions/WikiForum] - 10https://gerrit.wikimedia.org/r/116258 (owner: 10UltrasonicNXT) [19:32:36] (03PS1) 10Umherirrender: return array on prop=imageinfo for empty metadata [core] - 10https://gerrit.wikimedia.org/r/116291 [19:42:13] (03PS3) 10Helder.wiki: Add a warning when deprecated parameters of mw.Api are used [core] - 10https://gerrit.wikimedia.org/r/115898 [19:45:43] (03PS1) 10Kaldari: Increasing z-index of toolbar from 3 to 50 [extensions/PageTriage] - 10https://gerrit.wikimedia.org/r/116292 [19:47:12] (03CR) 10Kaldari: [C: 032] Increasing z-index of toolbar from 3 to 50 [extensions/PageTriage] - 10https://gerrit.wikimedia.org/r/116292 (owner: 10Kaldari) [19:47:18] (03Merged) 10jenkins-bot: Increasing z-index of toolbar from 3 to 50 [extensions/PageTriage] - 10https://gerrit.wikimedia.org/r/116292 (owner: 10Kaldari) [19:55:18] (03CR) 10Bartosz Dziewoński: "I'm wondering, maybe we should do this for .load() instead, or for both .load() and .using()?" [core] - 10https://gerrit.wikimedia.org/r/75511 (owner: 10Helder.wiki) [20:07:40] (03PS1) 10Foxtrott: Switch to qTip2 library for tooltips [extensions/Lingo] - 10https://gerrit.wikimedia.org/r/116294 [20:08:16] (03CR) 10Helder.wiki: "That would be bug 25962, I think." [core] - 10https://gerrit.wikimedia.org/r/75511 (owner: 10Helder.wiki) [20:09:55] (03CR) 10Helder.wiki: "But yeah, "mw.loader.load( x ).done( y )" makes more sense then "mw.loader.using( x ).done( y )"." [core] - 10https://gerrit.wikimedia.org/r/75511 (owner: 10Helder.wiki) [20:10:30] (03PS2) 10Foxtrott: Switch to qTip2 library for tooltips [extensions/Lingo] - 10https://gerrit.wikimedia.org/r/116294 [20:11:45] (03CR) 10Foxtrott: [C: 032 V: 032] Switch to qTip2 library for tooltips [extensions/Lingo] - 10https://gerrit.wikimedia.org/r/116294 (owner: 10Foxtrott) [20:12:51] (03Restored) 10BryanDavis: Remove '--versions', run_on_cluster, build_command, sudo_args and cluster_run [tools/scap] - 10https://gerrit.wikimedia.org/r/116068 (owner: 10Ori.livneh) [20:13:01] (03PS8) 10BryanDavis: Remove '--versions', run_on_cluster, build_command, sudo_args and cluster_run [tools/scap] - 10https://gerrit.wikimedia.org/r/116068 (owner: 10Ori.livneh) [20:22:07] (03Abandoned) 10BryanDavis: Validate --versions arguments to scap [tools/scap] - 10https://gerrit.wikimedia.org/r/116017 (owner: 10BryanDavis) [20:22:56] (03CR) 10BryanDavis: [C: 032] "I'll make a follow up patch to pretty up the progress bar." [tools/scap] - 10https://gerrit.wikimedia.org/r/116068 (owner: 10Ori.livneh) [20:23:32] (03Merged) 10jenkins-bot: Remove '--versions', run_on_cluster, build_command, sudo_args and cluster_run [tools/scap] - 10https://gerrit.wikimedia.org/r/116068 (owner: 10Ori.livneh) [20:28:25] (03PS4) 10BryanDavis: Convert mwversionsinuse to pure python [tools/scap] - 10https://gerrit.wikimedia.org/r/116062 [20:29:00] (03CR) 10BryanDavis: "Patch set 4 was a manual rebase." [tools/scap] - 10https://gerrit.wikimedia.org/r/116062 (owner: 10BryanDavis) [20:31:45] huh: Question about the newonly/toponly patch... Special:ApiSandbox [20:31:56] Technical_13: ... ? [20:32:01] that's not in core [20:32:17] is there not something there which needs to be updated as well for the new format or does that pull directly from the api.php? [20:32:43] Should work automagically, I hope. [20:33:03] that's what I was asking, :) [20:36:20] I think it uses the same methods the api.php help uses [20:36:24] to get the params [20:37:23] Technical_13: it's on http://deployment.wikimedia.beta.wmflabs.org/wiki/Main_Page [20:37:27] you can test it there [20:40:45] http://deployment.wikimedia.beta.wmflabs.org/wiki/Special:ApiSandbox using http://deployment.wikimedia.beta.wmflabs.org/w/w/api.php?action=query&list=usercontribs&format=json&uclimit=1&ucuser=Technical_13&ucshow=top&uctoponly= shows that both could be used confusingly.. [20:41:35] I gues it is fine, but I think that putting that (deprecated) or even better (superseded by 'top' & '!top') is a good idea... [20:43:20] (03PS1) 10BryanDavis: Use shortened command in cluster_monitor status logging [tools/scap] - 10https://gerrit.wikimedia.org/r/116399 [20:43:26] Technical_13: I deprecated it correctly [20:43:34] that's an ApiSandbox problem, not core [20:43:51] (03CR) 10Helder.wiki: "I tested this on Chrome 33 and on Firefox 27 but it still doesn't work as expected in some cases, depending on the presence of accented ch" [core] - 10https://gerrit.wikimedia.org/r/114959 (owner: 10Bartosz Dziewoński) [20:45:25] (03CR) 10BryanDavis: Use shortened command in cluster_monitor status logging (031 comment) [tools/scap] - 10https://gerrit.wikimedia.org/r/116399 (owner: 10BryanDavis) [20:52:07] legoktm: can you tell Technical_13 how ApiSandbox works WRT deprecation? [20:52:52] http://deployment.wikimedia.beta.wmflabs.org/wiki/Special:ApiSandbox#action=query&list=usercontribs&format=json&uclimit=1&ucuser=Technical_13&ucshow=top&uctoponly= [20:53:09] MaxSem would know [20:53:19] sorry, legoktm, I thought you wrote the extension :S [20:53:46] it returns ""warnings": { "usercontribs": { "*": "The uctoponly parameter has been deprecated." } }," in the request, but before you make the request, all you see is "uctoponly Only list changes which are the latest revision" [20:54:24] Hm, maybe I didn't deprecate it right [20:54:26] ??? [20:54:26] "Only list changes which are the latest revision" is the message that is in core, and it should be changed to "Only list changes which are the latest revision (superseded by 'top' & '!top')" IMHO [20:54:44] anomie: ping [20:54:49] Technical_13, ApiSandbox just displays parameter information from action=paraminfo [20:54:59] huh: pong [20:55:08] anomie: did I deprecate correctly ? https://gerrit.wikimedia.org/r/#/c/115189/5/includes/api/ApiQueryUserContributions.php [20:55:25] huh: Looks right to me [20:55:40] Why isn't it displayed in api.php as deprecated? [20:55:55] I think it is deprecated okay in a technical sense, it just doesn't tell the person preforming the query that until a query has been made when it could. [20:56:13] :/ [20:56:27] I thought I did it the way you wanted [20:56:34] huh: Where are you looking, exactly? [20:56:56] anomie: http://deployment.wikimedia.beta.wmflabs.org/wiki/Special:ApiSandbox#action=query&list=usercontribs&format=json&uclimit=1&ucuser=Technical_13&ucshow=top&uctoponly= [20:57:01] deployment.wikimedia.beta.wmflabs.org/w/api.php [20:57:16] says DEPRECATED! [20:57:23] but Technical_13 thinks I did it wrong [20:57:47] Description for "uctoponly" is "Only list changes which are the latest revision" [20:57:51] mentions nothing about being deprecated. [20:57:54] Technical_13: Looks like a bug in ApiSandbox to me. [20:58:01] Technical_13: file a bug for Extension>ApiSandbox [20:58:05] should be an easy fix [20:58:14] "Only list changes which are the latest revision" is what the description is set as in core. [20:58:21] (03PS1) 10BryanDavis: Remove leftover MW_VERSIONS_SYNC usage [tools/scap] - 10https://gerrit.wikimedia.org/r/116447 [20:58:24] Technical_13: it was done correctly [20:58:28] it's a bug in ApiSandbox [20:59:27] Technical_13: curl "http://deployment.wikimedia.beta.wmflabs.org/w/api.php" | grep "DEPRECATED" [21:00:02] ... [21:01:43] https://gerrit.wikimedia.org/r/#/c/115189/6/languages/messages/MessagesEn.php is where the text needs to be added. [21:01:57] No, you're wrong [21:02:11] Okay. [21:02:12] Give me an example of another API param doing that [21:02:18] then I will believe you ;) [21:03:07] 'sp-contributions-toponly' => 'Only show edits that are latest revisions', /// Description for "uctoponly" is "Only list changes which are the latest revision" == Look likes that is where it pulls the description from to me. If I'm wrong, then I'm wrong.. [21:03:32] It's no big deal. [21:03:33] Technical_13: https://deployment.wikimedia.beta.wmflabs.org/w/api.php [21:03:40] Search for "uctoponly" [21:03:53] The api help adds it correctly, but not ApiSandbox [21:03:59] Technical_13: You're wrong. That's where the checkbox in Special:Contributions gets its text, not the API. [21:04:20] ;) [21:04:37] that's where the checkboxes in both Special:Contributions AND Special:ApiSandbox get the text... [21:04:57] Technical_13: we're not talking about SpecialContributions [21:05:02] we're talking about the API [21:05:07] they are implemented differently [21:05:27] (although theoretically a ContribsPager might work for API) [21:07:51] Technical_13: Wrong again. Proof: your message says "Only show edits that are latest revisions". API and ApiSandbox both say "Only list changes which are the latest revision". Note the slight differences. [21:07:52] Technical_13: trust me, it's correct [21:08:19] Okay. [21:09:07] I'm wrong. I'll file a ticket on BZ later (burried in trying to make an ACC script I've been working on do some more stuff.) [21:28:03] anomie: would it be better to have i18n message with text "deprecated", "(deprecated)", or "$1 (deprecated)" ? [21:28:07] I guess the last one [21:28:52] huh: For ApiSandbox? Probably the last. [21:29:03] thanks [21:36:23] Nemo_bis: hi [21:36:35] On TWN, what template is used for parameters? [21:40:42] nvm [21:44:12] (03Abandoned) 10Alex Monk: Preferences.php: avoid "Undefined index" if key 'realname' don't exist in $formdata [core] - 10https://gerrit.wikimedia.org/r/116288 (owner: 10GBT248) [21:45:38] Technical_13: please file a bug [21:45:56] ? [21:46:08] I am almost done with my script patch... [21:46:24] [[User:Technical 13]] modified [[User:Technical 13/SandBox/ACCHelp.js]] ( I actually think it is done... Lets test it.... (yay....) ) ▶ https://en.wikipedia.org/w/index.php?diff=597865946 [21:46:25] ok [21:46:49] just need to fix the issue that it doesn't like "Date.now()" [21:49:22] (03PS1) 10Chococookies: Adds form fields to BadgeManager [extensions/OpenBadges] - 10https://gerrit.wikimedia.org/r/116448 [21:51:20] k [21:58:45] !bug 62133 |huh [21:59:19] * huh looks [21:59:19] !bug 62133 [21:59:19] https://bugzilla.wikimedia.org/show_bug.cgi?id=62133 [21:59:41] petan will have to fix that... <+wm-bot> DEBUG Exception in plugin Infobot Core: Argument is out of range. Parameter name: startIndex last input was Technical_13 chan: #wikimedia-dev !bug 62133 |huh [21:59:53] hmm [22:00:13] either way, I CCed you and anomie for 62133 [22:04:38] (03CR) 10Donyu: "Just some thoughts on the DB schema" (033 comments) [extensions/OpenBadges] - 10https://gerrit.wikimedia.org/r/115238 (owner: 10Aizhuli90) [22:08:05] (03PS4) 10Stepzhou: @donyu @stepzhou fourth iteration for persona sign up special page [extensions/Persona] - 10https://gerrit.wikimedia.org/r/112309 (owner: 10Donyu) [22:08:27] Technical_13: maybe you can help me with something [22:08:54] Through JS, how is it possible to access the messages API to e.g. get parentheses? [22:09:06] I tried mw.msg( 'parentheses', 'text' ) [22:10:18] Ah, nvm [22:13:50] (03PS1) 10Gerrit Patch Uploader: Show parameter deprecation on Special:ApiSandbox [extensions/ApiSandbox] - 10https://gerrit.wikimedia.org/r/116449 [22:13:54] Technical_13: ^ [22:13:56] (03CR) 10Gerrit Patch Uploader: "This commit was uploaded using the Gerrit Patch Uploader [1]." [extensions/ApiSandbox] - 10https://gerrit.wikimedia.org/r/116449 (owner: 10Gerrit Patch Uploader) [22:14:23] (03PS3) 10Umherirrender: Remove another undefined $env and TODO comment for it too [core] - 10https://gerrit.wikimedia.org/r/114482 [22:14:32] anomie: ^^ [22:14:38] that should fix T13's concerns [22:15:48] https://www.mediawiki.org/wiki/Manual:Messages_API#Using_messages_in_JavaScript ++ https://www.mediawiki.org/wiki/ResourceLoader/Default_modules#mediaWiki.message [22:15:59] huh: Looks sane at first glance [22:16:14] http://pirsquared-test.instance-proxy.wmflabs.org/wiki/Special:ApiSandbox [22:16:16] works [22:16:53] Technical_13: I had already figured it out when I uploaded the patch [22:16:59] I forgot to add it to resource loader [22:19:39] (03CR) 10Technical 13: [C: 031] "Works fine." [extensions/ApiSandbox] - 10https://gerrit.wikimedia.org/r/116449 (owner: 10Gerrit Patch Uploader) [22:20:05] Technical_13: any reason why you -1 my rebuildInterwiki change? [22:20:18] link? [22:20:37] https://gerrit.wikimedia.org/r/#/c/112920/ [22:20:46] Is it just because it is under discussion/not ready to merge? [22:20:52] Or is there another reason? [22:21:25] "Why does it have to go in the "other" section instead of in the regular iwm? This seems like a hackish way to accomplish this to me, and this change conflicts with multiple articles on multiple language wikis and an alias in hiwp." was my comment [22:21:41] Technical_13: look at my reply, and TTO's [22:21:47] so, the -1 was for "This seems like a hackish way to accomplish this to me" [22:21:59] It makes /wiki/c: work [22:22:29] TTO's response of "Probably no reason other than consistency." doesn't make it less hackish. [22:22:44] Technical_13: See https://en.wikipedia.org/wiki/Special:Interwiki [22:22:52] some interwikis have "Forward" column true [22:23:02] like w:, d:, v:, m:, etc. [22:23:10] The ones that are false are in the Meta interwiki map [22:23:21] If this change is merged, the forward will be "true" [22:23:47] Also, I'm not a complete n00b with the interwiki map -> https://meta.wikimedia.org/w/index.php?title=Interwiki_map&action=history [22:24:04] I never said you were... [22:24:44] Just that I think there is no reason for an "other" section hack. [22:24:51] I guess no biggie either way. [22:25:14] And I'm sure that my -1 isn't all that important in the scheme of things, now is it... :p [22:25:43] So... would you prefer to add it to [[m:IWM]] ? [22:26:56] I'd prefer if it wasn't added at all as "C:" is just to ambiguous, but I'll digress if that is what the majority of people want.... [22:27:06] Technical_13: that's what the RfC is for [22:27:20] I'm aware of that. [22:28:08] I guess what I'm saying at this point we should probably wait for that to close in favor of adding it before we worry about how to add it.... [22:29:08] Yep, agreed [22:43:19] (03PS3) 10GBT248: Preferences.php: avoid "Undefined index" if key 'realname' don't exist in $formdata [core] - 10https://gerrit.wikimedia.org/r/116282 [22:55:56] (03PS1) 10Foxtrott: adding composer support [extensions/Lingo] - 10https://gerrit.wikimedia.org/r/116450 [22:57:14] (03CR) 10Foxtrott: [C: 032 V: 032] adding composer support [extensions/Lingo] - 10https://gerrit.wikimedia.org/r/116450 (owner: 10Foxtrott) [23:07:14] MaxSem: hi, https://gerrit.wikimedia.org/r/116449 [23:07:42] (03CR) 10PiRSquared17: [C: 031] Show parameter deprecation on Special:ApiSandbox [extensions/ApiSandbox] - 10https://gerrit.wikimedia.org/r/116449 (owner: 10Gerrit Patch Uploader) [23:07:49] thanks uhu [23:07:52] huh [23:07:59] :) [23:08:06] Can you review and test it? [23:09:32] ugh, am going to have to rebase over that >_> [23:12:57] Krenair: why? [23:13:32] because it modifies an area that my apisandbox patch does too [23:13:41] Sorry [23:13:48] I can abandon it if you want [23:14:05] no, no. [23:14:10] it's a good patch [23:17:09] huh, but why did you Code-Review+1 your own patch? [23:19:01] Is that not allowed? [23:19:12] Well it's allowed, I just don't understand why you'd do it? [23:19:22] (03CR) 10PiRSquared17: Show parameter deprecation on Special:ApiSandbox [extensions/ApiSandbox] - 10https://gerrit.wikimedia.org/r/116449 (owner: 10Gerrit Patch Uploader) [23:19:39] fixed [23:23:24] (03CR) 10Alex Monk: Show parameter deprecation on Special:ApiSandbox (031 comment) [extensions/ApiSandbox] - 10https://gerrit.wikimedia.org/r/116449 (owner: 10Gerrit Patch Uploader) [23:24:12] Krenair: oh, yep [23:24:21] other than that, looks good [23:24:26] but I think they're mostly equivalent [23:24:30] * huh will fix [23:27:17] (03PS1) 10Foxtrott: Release version 1.0.0 [extensions/Lingo] - 10https://gerrit.wikimedia.org/r/116451 [23:27:21] Krenair: would it be better with ? : [23:27:23] ? [23:27:30] (03CR) 10Foxtrott: [C: 032 V: 032] Release version 1.0.0 [extensions/Lingo] - 10https://gerrit.wikimedia.org/r/116451 (owner: 10Foxtrott) [23:27:46] huh, what do you mean? [23:28:08] desc = param.hasOwnProperty( 'deprecated' ) ? mw.msg( 'apisb-params-deprecated', desc ) : desc [23:28:09] or something [23:28:16] less readable imo [23:28:30] why ditch the .plain()? [23:28:47] Technical_13: mw.msg != mw.message [23:29:02] but they're related [23:29:12] mw.msg is actually just a call to mw.message [23:29:15] hmmm... the mw.message might be correct here. I can't remember what the difference is [23:29:47] Krenair: either will work [23:30:07] Gloria: any preference? [23:31:15] (03CR) 10Aklapper: "The commit message is repetitive and should not be "squashed commit" in the first line." [core] - 10https://gerrit.wikimedia.org/r/116230 (owner: 10Deepali) [23:31:15] Nope. [23:31:44] MaxSem: any preference? [23:31:50] mw.msg va mw.message? [23:31:57] I guess msg would be more consistent [23:32:08] some of them should be newer [23:32:11] or something [23:32:40] I think mw.msg uses .text [23:34:07] so ... which one is better then? [23:34:54] mw.msg = function () {return mw.message.apply(mw.message,arguments).toString();} [23:35:51] (03PS1) 10Aizhuli90: fixed comments [extensions/OpenBadges] - 10https://gerrit.wikimedia.org/r/116452 [23:38:32] MaxSem: should I make it use mw.msg? [23:39:46] I guess nobody cares