[01:35:59] moonmoon: thanks a lot for that. [06:00:28] Hi there, I'm facing some strange issue with InstantCommons since last two days. It was working fine till 12/10/2022 but suddenly on the morning of 13/10 it stopped working and started showing red links instead of images and when I click on the link it taking me to Special:Upload. I used the command curl [06:00:29] https://commons.wikimedia.org/w/api.php?action=query&format=json to check connection with Wikimedia and it's returning with [1] 517994 and different number on each run and my server provider have white listed IP addresses listed at https://wikitech.wikimedia.org/wiki/IP_and_AS_allocations but InstantCommons still not performing so can someone [06:00:29] please suggest any fix? Thank you [06:05:43] Guest23: did you remember quotes in your curl command? [06:06:07] Hi bawolff I forget your username and was unable to ping you. [06:06:36] No worries, i dont have an irc bouncer and am only in the channel intermitently [06:06:48] If I add the quotes it's giving error but without quotes it's returning with [1] 520735 [06:07:34] [1] 517994 is what shell says when you tell it to run the command in the background if you have an & symbol that is not quoted [06:08:27] Job number and process id i think [06:09:15] With this plain command curl https://commons.wikimedia.org/w/api.php?action=query&format=json it's returning with the above code but with curl 'https://commons.wikimedia.org/w/api.php?action=query&format=json' it process for some time and then giving time out error. [06:09:49] curl: (7) Failed to connect to commons.wikimedia.org port 443: Connection timed out [06:10:06] So that probably suggests the ip is still blocked [06:10:11] If you do [06:10:27] dig +short commons.wikimedia.org [06:10:53] Does it return one of the ip addresses that you had unblocked [06:11:20] It's only showing 1 IP address and that's sound like my own [06:12:01] That's interesting. It could suggest that part of the filtering involves dns redirection [06:12:57] Does [06:13:18] dig +short @8.8.8.8 commons.wikimedia.org [06:13:27] Return the ip you expect? [06:14:09] Returned with the same IP 103.102.1##.### [06:14:50] So technically the Wikimedia IPs are still not unblocked? [06:16:01] 103.102.166.0/24 is a wikimedia ip range [06:16:31] Ohh ok I though it's my server IP that start with same numbers [06:17:00] This is that I get [06:17:01] dyna.wikimedia.org. [06:17:01] 103.102.166.224 [06:17:47] Yeah, that looks right the right ip for commons [06:18:24] So now what could be the cause of this strange issue? :( [06:19:16] This still looks like some sort of firewall issue [06:19:23] But you could do [06:19:40] traceroute commons.wikimedia.org [06:19:53] To see at what point things are being blocked [06:20:11] -bash: traceroute: command not found [06:21:10] Oh hmm, guess its not installed. Its usually a pretty common program [06:21:20] Yeah it's not available on my system [06:22:37] Do you have tracepath or mtr [06:22:49] I guess traceroute is now considered too old school [06:24:43]  1?: [LOCALHOST] pmtu 1500 [06:24:43]  1: host.example.com 3.536ms reached [06:24:44]  1: host.example.com 2.859ms reached [06:24:44]      Resume: pmtu 1500 hops 1 back 1 [06:24:55] example.com stands for my server domain [06:27:09] This above result was given by tracepath commons.wikimedia.org [06:27:23] If its not getting really past your server, suggests some sort of network access control or security group config thing [06:28:15] If you are on a managed host, probably best to contact your hosting provider [06:28:59] Unfortunately I'm not on fully managed host. I have a dedicated server and they help me with minor issues etc. [06:29:31] What should I ask them to look at and fix? [06:31:30] Basically it sounds like your server does not have outbound internet connectivity [06:32:35] How that is configured depends on provider, but typically there is some sort of firewall-esque config where you have to allow outbound internet connections [06:34:26] Ok so I'll ask them the same and let see if they can do something and I'll come back with the outcome. [06:34:49] In aws i think its usually related to things with names like vpc, security groups, or nacl (i think anyways, not really an aws person) [06:37:10] Got it. [06:40:09] Also, I would like to inform you that I tried to install your extension yesterday after disabling MediaHandler but it returned with 500 error. [06:40:43] Is it possible due to my MediaWiki version which is 1.37.2 [06:45:06] There is less testing on that version. In theory it should work as long as you download the right version [06:45:51] Like in the download page there should be an option for 1.37 [06:46:00] I downloaded the 1.37 version and installed on 1.37.2 but it was not working for me. [06:46:36] I'll try to reinstall and debug to give you the complete error. [06:47:27] 500 error is usually php error, so the error might still be in your php error log [06:48:56] Ok I'll check and update you. [17:06:43] Hi I'm getting Lua error: Internal error: The interpreter exited with status 126 error after firewall was activated any idea how to fix it? Thanks [17:12:50] I managed to fixed it. The Lua file was not executable. [19:57:20] Hi all. I've been trying to install Mediawiki on my NAS for days now. My NAS is a stubborn thing, but I managed to install Portainer on it so I can now install a Mediawiki Docker image. I have to boot that up in bridge mode, because host network would conflict with my NAS' web admin [19:58:03] In bridge networking, the Mediawiki Docker container has 172.17.0.3 and is inaccessible from my machine. Only from the host NAS. Port 8080, however, is exposed to the NAS host, and I can reach that. [19:58:48] However, the Mediawiki setup greets me once, twice and then for the next part of the setup, it starts to redirect to 172.17.0.3. I can't simply set $wgServer in LocalSettings.php because that appears to mess up the setup even further. [19:59:12] What should I do? And why is Mediawiki assuming a base url other than the one it was visited with when it was not instructed to? [19:59:41] Also: how can one setup a different base url if the setup process introduces an apparent catch 22? [20:02:46] Hmmm, something new. Now I get a white screen :/ [20:16:13] Is someone able to give https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralNotice/+/842900 a C+2? [20:24:03] FYI: we're setting up https://www.mediawiki.org/wiki/Project:Requests#Bridge_MediaWiki_IRC_and_Discord right now [20:24:54] !discord bridge 178359708581625856 1030937803472781362 [21:12:12] one more time... [21:12:14] !discord bridge 178359708581625856 1030937803472781362 [21:12:56] test [21:13:22] 👋 [21:13:23] Test successful [21:13:34] Awesome! [21:13:48] legoktm (@_discord_367157114965327882:t2bot.io) test [21:13:57] (it's pretty cool, I can even see typing indicators in the Matrix room) [21:14:13] hmm, the @mention syntax is a bit broken [21:14:18] What about reactions? [21:14:28] reactions don't get sent to IRC [21:14:39] and didn't come over to Matrix either [21:14:54] maybe can disable all the features that don't work here on discord [21:15:48] Did you get the wave before the message "Test succesful"? [21:16:09] yep [21:20:42] testing replies... [21:21:16] it appears as a native reply on Matrix, nice [21:21:33] I'm sure the 3 different legos won't confuse anyone [21:22:23] ^ that message didn't make it to Discord, but it did on Matrix [21:22:40] What [21:22:40] About [21:22:40] Multiline [21:22:40] ~~spam~~ [21:23:21] shall I go find my ascii art collection? [21:23:32] 1 multiline message on Matrix, 4 messages on IRC. pretty sure if it was longer the bridge would've turned it into a paste [21:23:48] test again? [21:24:14] Mediawiki [21:24:16] Is [21:24:17] Good [21:24:19] not sure, but messages I'm writing on Matrix and IRC are not making it to Discord. Discord message are still going over to Matrix/IRC [21:24:24] Here, sorry for the sample [21:24:27] *spam [21:24:39] :) [21:25:51] so it's selective? [21:26:00] as in randomly dropping messages? [21:26:25] not even random, seems like everything stopped going into Discord :( [21:26:33] not even random, seems like everything stopped going into Discord 😦 [21:26:43] oh one sec [21:27:23] messing around with permissions, give me a few mins [21:30:19] Try now please? [21:30:39] hello [21:30:54] great [21:31:28] ah and you took away reacts [21:32:15] consistent experience 🎉 [21:34:00] lowest common denominator [21:34:20] yeah it makes sense, e.g. if someone asks a question and then someone in discord just leaves a thumbs up react. But I also feel it's self-defeating if we lower rich chat platforms like Matrix and Discord to what IRC offers... [21:34:26] we still love your IRC! [21:34:39] s/your/you/ [21:34:42] what about edits? [21:35:09] The Matrix bridge handles it, they come across very IRC-like: `17:34:39 s/your/you/` [21:35:12] i don't believe IRC has the functionality for that. But it's not something that can be restricted on discord [21:35:34] @ legoktm that's why it's in a separate channel [21:35:53] that.... seems like a terribile idea [21:36:15] Prod[m]: sure, but if everyone on Discord talks in the other channels, it makes bridging less useful :) [21:36:37] image embeds??? [21:36:43] oof, using reply on Matrix looks really weird on the Discord side [21:36:53] oh that's a reply lol [21:37:00] 0 1 2 3 4 5 6 7 8 9 0 [21:37:05] * 0 2 4 6 8 0 [21:37:15] * 0 2 4 6 8 [21:37:29] how'd that come through? [21:37:36] 17:37:00 0 1 2 3 4 5 6 7 8 9 0 [21:37:36] 17:37:05 * 0 2 4 6 8 0 [21:37:36] 17:37:15 * 0 2 4 6 8 [21:37:47] that's, kinda cool [21:40:49] I just changed channel name. Hope that didn't break anything! [21:41:11] I see it created a webhook, so should be fine [21:42:01] what happens when I reply to myself [21:42:13] nothing exciting, no ping or anything in IRC :( [21:42:26] Izno[m], how about you [21:42:32] ok, ping the other way [21:42:59] what about `@here` or `@everyone`? [21:43:10] that doesn't sound like a terrible idea at all :upside_down: [21:43:26] that was an uninspiring parse of an apostrophe [21:43:31] ~~It should be disabled~~ [21:43:46] it didn't send the emoji through 😦 [21:44:01] so this is a 3 way bridge? IRC, Matrix, and Discord? [21:44:25] I'm a bridgin your protocolls [21:44:28] or rather IRC <-> Matrix <-> Discord, but not IRC <-> Discord [21:44:55] mmhmm [21:45:10] sorry for the takeover #mediawiki o7 [21:53:13] I'm just a bit curious about Matrix.. [21:53:21] I wondered [21:53:50] ..if are large communities on Matrix as there on irc and where [21:54:25] Izno: its not like #mw gets used as much as the old days pre the 20,000 diff channels [21:56:09] ¯\_(ツ)_/¯ [21:56:26] oh Hexchat [22:00:44] Which bridge are you using? [22:05:39] We currently have about 1100 users in the discord server. about 260 "online" currently [22:07:00] "Which bridge are you using?..." <- https://t2bot.io/discord/