[00:09:33] so it would seem that MW's syntax highlighting (and presumably minifier too?) doesn't support function calls in static class properties or static blocks, static properties that are arrow functions, and anonymous classes [06:48:28] This is still the stance, yes [07:20:20] which aspect(s) of it? [07:21:08] Have you done anything with the IPInfo extension? [07:21:22] Cause to do anything meaningful with it, you have to use paid for services [07:21:27] That aren't exactly cheap [07:22:40] Yeah. It could probably make better use of MaxMind’s free DB. [07:23:39] Based on comments on wmf Phab, to use that on a wiki would break licensing [07:26:32] Which comments? [07:27:43] AFAIK the main value of IP info in anti abuse use cases is having access to the raw value, the metadata we get from Spur can be helpful in some cases, but so many IPs have questionable IP reputation that it’s difficult to judge whether that extra info is useful. [07:37:17] I'll find it soon but there's a comment I saw yesterday [08:34:14] @kostajh I think I'm wrong now [08:34:18] I was going off https://phabricator.wikimedia.org/T366272#9854042 [08:34:23] Which says GeoIP2 [08:34:41] Wonder if the same is in the GeoLite files [08:36:32] I'm not sure it does https://www.maxmind.com/en/geolite/eula [08:36:35] So maybe we are okay [08:36:52] @paladox could we make the full set of GeoLite files available on mw* too [10:21:26] [1/2] https://meta.miraheze.org/wiki/User:PetraMagna/temp_account_js [10:21:26] [2/2] Something like this [10:48:57] I'm gonna be honest I have no idea what this means which is making me think maybe there's a good reason these don't work [10:51:06] ^ MW targets ES2019 or something. Can't remember. You can binary search ES versions with features to determine the precise one I guess. [10:55:02] Optional chaining is precisely 2020 [11:52:33] Something is going wrong with SimpleBlogPage, the `user` right has access to `createblogpost`, but it won't let you create a blog post? I'm not sure how to fix this on my wiki exactly, https://doorsgame.wiki/wiki/Special:Blogs shows nothing, and there's nothing in the dropdown menu. [13:09:35] this is already documented on [[MediaWiki/1.46]] [13:09:39] [13:17:14] [1/2] no pressure if this isn't getting done any time soon, but how's the progress on adding `realname` to hidden preferences? [13:17:14] [2/2] https://issue-tracker.miraheze.org/T15239 [13:25:05] [1/4] I think we need [13:25:05] [2/4] 1. A maintenance script in MirahezeMagic that removes all real names on a wiki. Anyone can submit a PR on this. [13:25:06] [3/4] 2. A mw-config PR that adds this configuration option. [13:25:06] [4/4] And if we want all new wikis to not show the real name option by default we can, but it'll complicate the deployment process more. [14:05:58] in that case I might try to write a maint script based on [DeleteLocalPassword.php](). I know little to nothing on PHP so could just end up a wash tho. [14:10:43] Think that’s a great idea [14:21:26] [1/3] this setting isn't working for me? [14:21:26] [2/3] https://cdn.discordapp.com/attachments/1006789349498699827/1559209382364053575/image.png?ex=6ace3e65&is=6accece5&hm=464b9051bf2b6a8b01fd93c868b202a0cce42aa6eeecea3ccb5d3295b09adcf7& [14:21:26] [3/3] https://cdn.discordapp.com/attachments/1006789349498699827/1559209383416561724/image.png?ex=6ace3e65&is=6accece5&hm=d549a95e39ef666720b07101a4dc9e5aec58dc603b4acc6baafa495d4d49e281& [15:06:39] [1/2] https://issue-tracker.miraheze.org/T16251 [15:06:39] [2/2] MacFan raises this priority again [15:14:59] [1/2] [15:14:59] [2/2] Anyone wanna do the bot thing for the needs data dump tasks [15:16:26] archive.org sounds easiest to be pipelined. what about other services like google drive, dropbox, and more? [15:18:41] and sometimes wikis request import with certains command line params? [15:20:09] wikiteam3 archives can ensure the same format, making it possible for auto work. user uploaded images may be on different services and compressed in different ways [15:28:05] [1/2] https://github.com/ccxtwf/MirahezeMagic/blob/maint/clear-real-names/maintenance/ClearUserRealNames.php [15:28:06] [2/2] untested for now but feel free to yell at me for not knowing PHP [16:23:30] I kind of understand not supporting anonymous classes, but not supporting function calls in static assignment because the minifier incorrectly sees them as malformed method definitions is inexcusable [22:05:55] [1/2] I think you can test this locally by copy-pasting the maintenance script into your MW install. It doesn't even need to be in the `maintenance` directory because something like `php maintenance/run.php ./ClearUserRealNames.php` would work (I didn't run it myself but something like that can work). [22:05:55] [2/2] Installing MirahezeMagic locally is a pain because it depends on a bunch of other stuff, so I've always been using this trick to test my maintenance scripts.