[00:41:21] Y'know what's really annoying? When you are working on a long article, type {{, and then the syntax highlighter locks up the page trying to highlight everything [00:42:19] you never know, there might be a page in the template namespace with a title that just happens to match the entire paragraph you're writing [09:38:00] wg oper [09:38:39] Hey folks, is there a known issue with the DB replicas right now? enwiki looks down for me [09:39:18] Naypta: yes, known, and already fixed [09:39:27] thanks for reporting it [09:39:28] volans: brilliant, tysm :) [09:39:54] you folks are amazing and don't get nearly as much appreciation as you deserve! [11:55:52] Hi everyone. I'm hitting some file ownership weirdness in my tools .git directory - just a moment ago I could push to the repository, now I'm getting a permission denied [11:56:55] And the .git directory has some subdirectories owned by the tool's owner (the ssh user) and some by the tool user [11:57:16] I would like all the source files to be owned by the tool owner, not the tool itself [11:57:32] (including .git) [11:57:56] Having that said I don't understand why the ownership could have been mixed up [11:59:22] yurb: this sounds like a toollabs question. for that #wikimedia-cloud would be a better match [11:59:59] s/toollabs/toolforge [12:00:35] mutante: thanks [12:01:24] yw [14:40:19] Reedy: re PHPStorm's wikimedia plugin. I've spotted a few missing options. How am I supposed to obtain a java config file from my xml so I can open a PR? [14:40:30] You can't [14:40:50] Unfortunately, the docs are pretty crappy [14:41:06] And not all the options are obviously named [14:41:07] Noice [14:41:35] I'll go with the ol' trial & error copypasta then [14:41:38] heh [14:41:53] I've noticed the xml doesn't contain options that are "default" seemingly [14:42:10] But you can usually use changes in that to work out the options.. sometimes [14:42:26] Feel free to just open an issue with the settings you want changing, and I'll have a poke [14:43:21] Yeah that's what I noticed too. I'll try a diff with my previous config [14:43:47] Worst case I'll upload the "updated" xml file [14:43:58] I've had a few rants at JetBrains about this [14:48:00] BTW, the "chop down" vs "wrap" thing is a bit rough. Ideally we'd want to wrap when single elements are short, and chop down when they aren't (at least this is what I see most commonly) [14:48:21] Unfortunately it's "best case" with the settings that are there [14:48:22] I mean [14:48:34] I've had to argue with them that when I rename a class, I don't want the whole thing reformatting [14:48:45] They seem to suggest they can't do one without the other, which is kinda bullcrap [14:49:46] There's almost always going to be edge cases and human interpretation [14:50:17] I'd understand this [14:50:47] When renaming, it's likely getting an AST, renaming in there, and then pretty-printing using your style settings [14:51:10] I imagine something like that, yeah [14:51:12] Keeping whitespace information in an AST is likely going to be a poor idea [14:51:51] BTW, re chop down vs wrap, I'm going for chop down, assuming that it's the most common case [14:53:04] Like I say, most of it has been (in my testing) what seemed to make sense [14:53:10] It's definitely not perfect :) [14:53:28] It cannot be [14:53:49] I just noted some weirdness [14:55:17] Whatever we pick, we're going to have one of these two edge cases https://pastebin.com/9SFzPMnR [14:55:54] heh [14:55:59] whitespace is cheap... [14:57:09] I think the former is less common [14:57:24] And it's also a bad sign if a function takes a million of parameters [14:58:00] Based on the assumption that you need quite a lot of parameters before reaching the line end, if the arguments have short names [15:03:25] Done checking the config file. Diff: https://www.mediawiki.org/w/index.php?title=User:Daimona_Eaytoy/Sandbox&diff=3904385&oldid=3904378 [15:04:14] I'll have a play in a bit [15:05:45] Most changes are for wrapping style (all set to "chop down if long", keep '(' and ')' on their own lines) [15:05:50] USE_TAB_CHARACTER = true [15:05:50] USE_TAB_CHARACTER = true [15:26:10] Ah [15:26:24] It might have missed what that's for [15:26:37] What did you do to it? [15:26:43] Does it have JS config in there too? [15:26:55] Hmmmmmmm it's possible, let me see [15:27:21] Yeah it does, silly me [15:27:44] heh [15:28:03] And CSS and whatnot [15:29:10] So this is the xml for PHP options only https://www.mediawiki.org/w/index.php?title=User:Daimona_Eaytoy/Sandbox&oldid=3904461 [15:37:01] I'm trying to move those to a java file and open a PR [15:39:21] Which object they're part of isn't easy [15:39:48] and setting up a dev environment can be a pain (I need to finish my gradle port) [15:39:49] That's what I'm trying to figure out [15:44:26] Alright, now I see it's harder than I thought [16:07:10] Daimona: It's a real PITA for the "devkit" type [16:07:18] Gradle is easier. I have a mostly working port [16:07:32] I've just not pushed to github yet from lack of testing [16:09:24] Ah, I'm probably going to give up :-| [16:09:47] I'm getting more and more confused by the drifts in the diff [16:09:53] Haha [16:10:06] I'll see what I need to integrate later. Thanks :) [16:10:21] Yeah, thank you :) [16:10:29] And I'll try and get teh gradle version up soon too [16:10:48] Once it's done, I'll import it locally and see if there's anything left to change [16:11:28] I can also do a release, and it should usually be live in a few days [19:56:28] In MediaWiki 1.35/wmf.36 that was deployed to everything-minus-wikipedia today I am seeing duplicate #mw-content-text nodes in the output in Vector. [19:56:50] I've been looking at English Wikisource and Commons. [19:57:10] Anybody seeing this on other projects? [19:58:14] i filed it as https://phabricator.wikimedia.org/T255073 [20:04:00] xover: is this breaking anything important on any project right now? i'm wondering if the deployment should be rolled back, or whether it can wait a bit [20:05:26] (i don't see anything broken, which is a bit surprising, but nice i guess) [20:06:53] MatmaRex: It's breaking English Wikisource, by way of a local Javascript. [20:07:17] https://en.wikisource.org/wiki/Ponsonby,_Henry_(DNB00) [20:07:29] The duplicated header. [20:08:24] oh, huh [20:08:41] It may be awkward and error prone to work around this (due to technical debt and other local issues). [20:09:20] xover: i see you're on phabricator, can you comment on https://phabricator.wikimedia.org/T254173 as well? maybe it should be rolled back after all [20:09:47] (i'm not a deployer, just trying to triage :) ) [20:15:44] MatmaRex: done (and thanks again!) [20:16:05] thank you