[01:41:14] emicraft: your host is exposed. When your client disconnects and re-connects, it leaves you exposed until Libera cloaks you after you auth with NickServ [01:45:57] Another reason to stay away from irc lol [01:49:12] Incorrect. Another reason to use a bouncer on IRC [01:49:32] If you say so [01:52:22] agentisai: fyi, you haven't deployed the extensions that were in the pr i made [02:58:03] I can not believe my CreateWiki PR has 250 commits and still a lot to do lol. [02:58:16] But it is practically a rewrite of the entire extension lol [05:49:24] BlankEclair: happen to be still around? [05:49:27] yep [05:49:49] got a temporary API key for SubT but it's not playing nice [05:49:56] `PHP Warning: file_get_contents(https://api-free.deepl.com/v2/translate): Failed to open stream: Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?` [05:50:26] and yes, I did confirm your proxy commit is deployed [05:50:42] wee that's fun [05:51:27] https://github.com/guzzle/guzzle/issues/1555 [05:51:29] O_o [05:51:39] honestly, why not rip out the http part and use mediawiki's? [05:52:12] I mean sure [05:52:28] whatever fixes it is good 🙂 [05:52:30] ight cool [05:53:15] back to reading docs xD [05:53:52] blame bastion! [06:10:25] reception123: https://github.com/miraheze/SubTranslate/pull/2 [06:12:24] let's see what it has to say about that [06:12:48] 50% chance of syntax error [06:16:28] no syntax issues but it still doesn't like it [06:17:09] error? [06:17:22] oh now it went back to the error I got when I set up the API key wrong originally [06:17:29] PHP Warning: foreach() argument must be of type array|object, null given [06:17:34] [1/14] ```from /srv/mediawiki/1.43/extensions/SubTranslate/includes/SubTranslate.php(103) [06:17:34] [2/14] #0 /srv/mediawiki/1.43/extensions/SubTranslate/includes/SubTranslate.php(103): MWExceptionHandler::handleError(int, string, string, int) [06:17:34] [3/14] #1 /srv/mediawiki/1.43/extensions/SubTranslate/includes/SubTranslate.php(305): SubTranslate::callDeepL(string, string) [06:17:35] [4/14] #2 /srv/mediawiki/1.43/includes/HookContainer/HookContainer.php(159): SubTranslate::onArticleViewHeader(Article, null, bool) [06:17:35] [5/14] #3 /srv/mediawiki/1.43/includes/HookContainer/HookRunner.php(866): MediaWiki\HookContainer\HookContainer->run(string, array) [06:17:35] [6/14] #4 /srv/mediawiki/1.43/includes/page/Article.php(699): MediaWiki\HookContainer\HookRunner->onArticleViewHeader(Article, null, bool) [06:17:36] [7/14] #5 /srv/mediawiki/1.43/includes/page/Article.php(545): Article->generateContentOutput(MediaWiki\User\User, ParserOptions, int, MediaWiki\Output\OutputPage, array) [06:17:36] [8/14] #6 /srv/mediawiki/1.43/includes/actions/ViewAction.php(78): Article->view() [06:17:36] [9/14] #7 /srv/mediawiki/1.43/includes/actions/ActionEntryPoint.php(731): ViewAction->show() [06:17:37] [10/14] #8 /srv/mediawiki/1.43/includes/actions/ActionEntryPoint.php(508): MediaWiki\Actions\ActionEntryPoint->performAction(Article, MediaWiki\Title\Title) [06:17:37] [11/14] #9 /srv/mediawiki/1.43/includes/actions/ActionEntryPoint.php(145): MediaWiki\Actions\ActionEntryPoint->performRequest() [06:17:37] [12/14] #10 /srv/mediawiki/1.43/includes/MediaWikiEntryPoint.php(200): MediaWiki\Actions\ActionEntryPoint->execute() [06:17:38] [13/14] #11 /srv/mediawiki/config/initialise/entrypoints/index.php(98): MediaWiki\MediaWikiEntryPoint->run() [06:17:38] [14/14] #12 {main}``` [06:18:06] weird but not my issue lol [06:18:11] oh nevermind, it was overridden [06:19:07] BlankEclair: it works now!! [06:19:10] oh nice [06:19:12] first try even [06:19:14] thanks a lot for the help 🙂 [06:19:17] yw [06:19:23] and yes, looks like you doubted yourself for nothing, it was perfect [06:19:38] things rarely work first try :p [06:20:00] also fun fact: citizen makes a request to the logo set in $wgLogos to determine its size [06:20:14] makes sense when you think about it, but it made me go O_o when i saw it [06:21:09] https://www.php.net/manual/en/function.getimagesizefromstring.php; why is this a function? [06:22:12] oh god the return values too [06:22:14] > Index 3 is a text string with the correct height="yyy" width="xxx" string that can be used directly in an IMG tag. [06:22:48] @theoneandonlylegroom what do you think of https://meta.mirabeta.org/wiki/Content_Policy/ru ? [06:24:18] aaand it's gone [06:24:40] I disabled for a second [06:25:30] fun fact: my mouse cursor lags when i'm scrolling github [06:25:56] oh i had three processes in the background hogging 100% cpu, that's why [06:26:04] ...nope, still lags [06:26:21] uhh not anymore? okay [06:29:31] scrolling github isn't fun, a few times I accessed files that were so large that it just crashed [06:35:09] BlankEclair: how difficult would you think it would be to modify it so that it actually creates the subpages? [06:35:28] hmm probably not too much [06:35:43] wait no [06:35:56] would be difficult because it translated the output html [06:36:06] hmm parsoid perhaps? [06:37:35] everytime i see $this->msg( ... )->text() i have a mini heart attack [06:39:16] Parsoid's REST API should be able to do html2wt [06:40:10] we'll be doing it internally [06:43:16] Use any of the wikis then [06:43:26] parsoid must have php functions for it [06:43:29] But https://www.mediawiki.org/wiki/API:REST_API/Reference#Convert_HTML_to_Wikitext [06:43:43] You can access that on every one of our wikis [06:43:58] i... i mean, we're doing it in php [06:44:02] in the extension [06:45:41] Why is an extension generating html over wikitext that needs converting [06:46:21] wikitext -> html -> deepl -> wikitext -> save to wiki [06:46:30] ah [06:47:10] I've no idea [06:47:20] It must be possible but I can't find much docs [06:47:34] Maybe a question for the parsoid team [06:47:48] Or integrate rest.php's endpoint's code to see what it does [06:50:04] hopefully possible yeah [06:50:12] if not, we can call ourselves :p [06:58:47] btw, https://github.com/miraheze/mw-config/pull/5690 was merged but the extensions aren't installed [07:15:41] good thing I built safe guards to not load missing extensions and fatal everything when installed. Anyway I am on a plane right now so can't deploy. [07:15:59] huh neat [07:16:01] how much does the internet cost? [07:16:19] there's nothing? [07:17:35] $10 [07:17:46] cheaper than i expected [07:18:22] tempted to see if i can make a dcc chat request that makes you connect to irc [07:18:27] irc client within irc client [07:19:23] wait no i meant ctcp [07:21:16] Messing with IRC stuff when making the relay bot and adding SASL support to a few of our other bots like ircrcbot was absolutely enough for me lol. It confused me a ton a lot of the time. [07:22:26] actually... it's dcc chat [07:24:03] Isn't DCC still IRC? I don't know to much about this topic sorry if I sound completely off here lol [07:24:22] not the same protocol [07:24:30] you use irc to start a dcc connection [07:24:39] but that's about it i think? [07:24:44] idk i'm reading ircdocs.horse [07:26:50] DCC is still a feature within IRC isn't it? Basically IRC = communication platform while DCC is within IRC for direct client communication? Again I may be totally offbase here lol [07:27:21] hmm yeah [07:27:33] I just find it funny that like [07:27:44] out of all the possible TLDs they chose .horse [07:27:51] oops [07:27:53] eh [07:28:06] makes [07:28:12] what did you DO!? /j [07:28:21] i forgot a leading colon... [07:28:25] ah [07:28:37] so it ignores all characters after a space [07:28:58] fun fact: i constructed the DCC CHAT request by hand with printf and ctrl+v [07:29:39] that sounds [07:29:41] uh [07:29:54] high in cholesterol [07:29:57] practical? very [07:30:10] here's a screenshot lol: https://files.catbox.moe/k7az80.png [07:30:18] Well at least it wasn't spending 5 minutes writing code and realize you did it in the wrong language like I did today. For some reason I keeo trying to use Kotlin or C# rather than PHP. At least only 5 minutes and not long but still I should have realized after 5 seconds lol [07:30:33] lmao ouch and how [07:31:11] I was distracted and I was doing it from my phone in an airport lol. [07:31:21] now you just need to build a Kotlin/C# interpreter in PHP [07:31:38] lol [07:31:45] which is clearly the most practical way to go about it [07:32:09] (trust me, my uncle works at bill gates) [07:32:36] i hate how this "client" is kinda usable lol [07:32:43] i mean yeah, it's basically just netcat, but still [07:33:02] (i tried making HTTP requests, but unfortunately my irc client doesn't let me send only newlines, boo) [07:35:39] I hate when my support tickets are 'closed for inactivity' when the inactivity is their own, as they never responded. [07:36:18] Granted this was a first for me but I still hate it lol [07:37:55] don't mind me, just connecting to irc from yet another window xD [07:44:28] groupnebula563_0765: oh btw, there's irc.horse [07:44:54] if you're on firefox then you can actually connect, but it'll timeout (but you'll see a neat lil message) [12:26:47] @originalauthority have you used snippets? [12:32:02] No but ive just had a quick look and they seem to be very similar to workers [12:32:26] @paladox ^ [12:32:45] yeh i've been looking at it [12:33:14] i want the cache to include the x-subdomain header [12:35:10] oh it doesn't run before the cache??? [12:36:40] oh maybe i'm wrong hmm [12:39:00] the modfy request header should be doing it for us. I've set the header to match the conditions and i can see the servers are getting the header [12:39:11] just some reason the cache is not different [12:43:16] What doesn't? [12:44:12] It should be working just with rules i think if you've added the header [12:45:07] yeh i think i misunderstood it. By looking at it the modify request header should have done the job [12:45:22] but for some reason the cache is not splitting between if the header is there or not [12:50:15] i don't want to ginx it but it seems to be working for me (i deployed a snippet) [12:58:16] seems it's working \o/. @originalauthority do you mind trying to confirm? [12:58:29] Evil [13:00:31] oh the cache is being bypassed [13:00:32] wtf [13:37:47] wonder why it's being bypassed now [15:08:41] @originalauthority what's your worker code? [15:08:55] apparently you can do some worker stuff in snippet. [16:53:11] [1/2] i'm sorry to bother but can someone merge #5645 pls [16:53:11] [2/2] it has already been sits for over a month [18:17:24] I'm not at my pc atm but later when I am i will send on Mattermost [19:31:58] I have been receiving reports that the ICW wiki users couldn’t even make pages despite having the 10 page require and somehow I can’t also can anyone look into this wiki https://greatcharacters.miraheze.org/wiki/Special:RecentChanges?hidebots=1&hidecategorization=1&limit=50&days=7&enhanced=1&urlversion=2 [22:18:35] can someone get mw specialists to deal with the newest security task i filed? [22:18:43] too lazy to get out of bed [22:21:52] guess i'll try to login to phorge on my phone then [22:23:47] ty agent [22:24:46] back to my bed things [22:25:06] how do you find these things [22:25:28] I'm scared [22:28:14] https://discord.com/channels/407504499280707585/407537962553966603/1289702173449519228 - I'll just leave this here, since it may be of interest to the tech team