[00:26:50] [1/2] Are you in Miraheze using the copycat github action for .github repo yet? I have realised it requires PAT and PAT must have expiry. How do you deal with this? [00:26:51] [2/2] https://github.com/miraheze/.github/blob/4a084044357b30e1eea95eb82185d7a7f94285b0/.github/workflows/sync-tests.yml#L54 [00:29:18] classic6401: wdym? https://files.catbox.moe/mkm9ld.png [00:30:37] Oh, i did not know the classic tokens are available. Thank you! [01:38:12] Wow I actually managed to rewrite the CreateWiki cache setup and all it took was 6 PRs and one sleepless night. I actually didn't think I'd be able to do it so quickly though lol. [01:38:30] oh wow [01:39:35] me right now: https://files.catbox.moe/r7fo55.png [01:40:08] Now I think I may need some help doing extensive testing on beta. Making sure things like ManageWiki configs properly update, wikis properly delete, and create, etc... so that we can do extensive testing before prod deploy. [01:40:54] i'd volunteer to break the entire mediawiki install, but i'm writing my own thing right now [01:41:42] So, you're staring at, essentially, a code-based kaleidoscope/prism, and having your mind absolutely, utterly blown? The more things change, sometimes they stay the same. ๐Ÿ˜„ [01:42:04] uh, what? [01:42:33] I read that as color conversion/interpretation algorithm, so brain just went, "A prism, yeah?" [01:42:50] yeah it's color conversion [01:43:02] basically i wanna add a color search box to https://rainverse.wiki/wiki/Help:Location_colors [01:43:21] so in case you're not sure where a page takes place, you can grab the color of the background and paste it into the search [01:44:54] The last 1-2 minutes delay was me just thinking about that, looking at the thing, and going "wow, neat" [01:44:57] Very cool project! [01:45:08] hehe thank you <3 [01:45:12] what i miss [01:46:04] i'm learning about color spaces [01:46:11] BE doing cool BE things, UO rewriting the foundations of CreateWiki and failing to adhere to proper sleep schedules. [01:46:25] so [01:46:32] you place "and failing to adhere to proper sleep schedules" as if only UO does that [01:46:33] one new thing [01:46:40] (it's nearly afternoon for me right now, but still :p) [01:47:06] also am I the only person who dont use BE? [01:47:23] what do you mean by using me? [01:47:33] no [01:47:34] Yeah, I've aged right into the "needs 7 hours of sleep every night else consequences" bracket. Can't be doing those four hours of sleep any more. [01:47:36] what [01:47:36] the shorthand [01:47:39] oh [01:47:50] "BE" to mean BlankEclair [01:47:51] so far, this is the first time i've seen someone use BE to refer to me [01:48:04] lol [01:48:27] CA used it i think [01:48:32] huh okay [01:48:42] late nights are always the most productive [01:48:43] when I was talking to him in DMs [01:48:47] i disagree [01:49:03] late nights are both productive and unproductive [01:49:16] Most of Miraheze's most consequential decisions have been because of late night decisions \:P [01:49:23] my productivity shoots up, but my slugginess may go up [01:49:29] most of the time i stay up til midnight its because im talking to you lot [01:49:35] you're welcome <3 [01:49:40] or minecraft [01:49:53] I think me and UO have stayed up all night discussing platform intricacies [01:50:04] only once? [01:50:11] multiple times [01:50:14] Honestly I have no idea how I am going to deploy this CW cache rewrite. I think we will need some planned downtime. I want to kill nginx so I can regenerate the cache stuff before pages can load so we don't poison the cache again. Idk how to do this for sure though lol. Something is almost guaranteed to go wrong given past luck. [01:50:21] lol yeah [01:50:46] or just have it "accidentally" deploy and declare unexpected maintenance [01:50:47] Likely to break in-flight requests, or just actions attempted to be undertaken during deploy? [01:50:48] easy [01:50:53] Seems counter intuitive that its in create wiki [01:51:12] can we put the farm into read only then serve a static cached copy while we beat the shit out of NGNIX? [01:51:37] Would make more sense for it to be in managewiki which would help with separation of concerns and 1 step closer to allowing managewiki to be used without CW [01:52:03] Oh maybe this could be a good opportunity to reverse dependency make CreateWiki require ManageWiki and ManageWiki be possible by itself by moving cache stuff to ManageWiki... [01:52:17] I suggested to UO that we depool servers one by one as we push the patch to individual servers and proxy them to see what errors we encounter [01:52:31] Was just typing that lol [01:52:39] We could do that yeah [01:52:48] btw, does mediawiki support es6 now or do i have to var [01:52:54] Yes [01:52:58] thank god finally [01:53:04] Es6 is default in 1.41+ [01:53:31] wait then why did my gadgets did not load when i use var? [01:53:58] mediaqiki lmao [01:54:07] oh now it does, eh whatever idc anymore [01:54:17] Theres some fuckery with gadgets iirc [01:54:27] There was a flag for es6 but i think that got removed [01:54:41] anyways [01:54:50] https://issue-tracker.miraheze.org/R9:8bd7b62778c73e18cf2d86e4d0cf4115a948f9c7 exists [01:55:17] brb i have a video for this [01:55:48] https://files.catbox.moe/3y7jde.mp4 [01:57:48] h u h [01:57:50] that is a [01:57:52] ๐Ÿ’€ [01:57:56] moment indeed [01:59:10] well, gadgets seem to fully support es6 now [01:59:22] alert(`${colorDiv} awawa`); gives [object HTMLDivElement] awawa [01:59:39] I haven't used vanilla js in mediawiki in months [01:59:41] Vue ftw [02:04:46] what's that javascript mediawiki hook that gives you the webpage content? [02:06:05] wikipage.content [02:06:48] [1/2] ```on('pageload', givemethecontent() => [02:06:48] [2/2] ``` [02:06:54] Sorry its 3am i am eepy [02:07:02] that's vanilla js, no? [02:07:17] Es19 i heard [02:08:03] also, there's no pageload event [02:08:14] there's DOMContentLoaded (for when the html is loaded), and load (for when everything is loaded) [02:09:01] Yeah I was joking [02:09:07] oh [02:09:44] There is a "load" event though [02:09:49] Which is the same as window.onLoad [02:09:54] yeah, i just mentioned that :p [02:09:58] Oh [02:10:02] My bad [02:10:08] get some eep [03:21:41] Anyone want to give my PRs mentioned on https://issue-tracker.miraheze.org/T12624#252899 a double-check before I merge and start trying to deploy this? It's a huge change that I did over one night so a second review might not be a bad idea lol. [03:22:10] [1/2] > It's a huge change that I did over one night [03:22:11] [2/2] whats new [03:22:51] A rewrite of how the CW cache works. Migrating from JSON to PHP which seems to significantly improve performance. [03:23:18] no as in, whats new with you pulling all nighter massive changes [03:23:33] `nano /srv/mediawiki/cache/* | grep states` whoops I froze my shell meant to cat not nano lol [03:23:41] oh lol [03:24:05] interesting [03:24:14] how would grep even read that [03:24:39] It can't hence my shell froze lol it tries to grep it but the window doesn't show. [03:24:51] anyways when you get the chance, could you clarify https://discord.com/channels/@me/1232411036171243574/1286514454972076052 [03:25:05] Oh yeah sorry [03:25:10] no worries [03:25:29] you have bigger priorities of course [04:47:20] I'll take a look when I get up tomorrow [05:17:43] Decided to deploy but turns out we may have some sort of race condition somewhere and I don't know where or how to find it. But it all seemed to work, and wow did it have a massive performance boost. 370ms to 180ms response immediately after deployment. [05:19:15] wtf jeez [05:21:07] common Miraheze W [05:24:46] Hmm what is a harmless maintenance script that doesn't do anything I can test running on all wikis to make sure our foreachwikiindblist script still works? [05:29:42] initSiteStats? [05:29:51] good idea [05:35:19] nice! foreachwikiindblist and mwscript both confirmed to work with new DB lists! [13:00:14] @suzuneu hold on creations please [13:06:38] @Wiki Creators please be aware that Tech are investigating a fault with rights being assigned during wiki creations. [13:56:07] @Wiki Creators normal service can resume [14:15:57] Please flag if rights do end up still not working [16:13:45] BlankEclair: oi [16:15:36] hiii [17:47:27] just for my curiosity, but what happened to Tweeki skin here? [17:49:42] Tweeki does seems to be disabled globally [17:57:26] I've never seen it in the wild [18:10:25] RhinosF1: intended to take a nap at 6 pm and left my laptop on [18:10:30] you can guess what happened [18:10:50] Why are you up at 4 luv [18:11:22] i slept at 6 pm [18:11:36] i think i should be awake considering that slept for just under 10 hours [18:11:42] that i slept* [18:32:23] https://git.average.name/BlankEclair/CustomSearchProfiles/pulls/1; merge featuring my phone in bed sshing to my laptop on my desk [18:43:39] am I going insane [18:44:01] or did someone switch the positions of #tech and #tech-ops in the discord channel list [19:49:17] BlankEclair: https://github.com/miraheze/mw-config/pull/5670/files [19:49:24] i'm not seeing the difference here? [19:49:47] BlankEclair: ^ [19:49:47] originalauthority: there's a difference between an empty array and appending to an array [19:50:51] correct [19:50:57] but why can't you just do +rainversewiki? [19:51:04] oh wait you can do that? [19:51:08] and remove the default [19:51:10] yes [19:51:18] huh okay [19:51:32] this works too, and there's already three other wikis doing in the same thing in LocalWiki.php [19:51:34] wgconf is very bad [19:53:26] BlankEclair: you going to revise your pr [19:53:35] i'm indifferent [19:53:36] should i? [19:53:44] it's not necessarily bad [19:54:13] i mean, if it makes it get merged faster then i will [19:54:22] i just think we should keep everything we can inside of localsettings and keep only stuff that can't work in local settings in localwiki [19:54:27] hmm okay [19:54:28] i mean if you want to keep it like that I can merge it now [19:54:41] i don't really care either way lol [19:54:46] lol same [19:54:46] Something needs to be merged so we can fix cargo for everyone [19:54:50] sure ig [19:55:05] (sure as in merge rn) [19:55:08] i'll merge it [19:55:15] since other people have theirs in localwiki [19:55:53] @originalauthority can you deploy too [19:56:50] done [19:56:58] ight cool, imma go back to reading; ping me that makes something else die [20:33:42] hmm what happens if i use test151 on a prod wiki [20:35:43] Wha [20:36:00] can i do that? [20:36:03] with x-wikitide-debug [20:36:42] you could, yes [20:36:51] cool, time to see what breaks [20:37:01] you need a secret key to activate it though [20:37:11] i was given the key lol [20:37:16] oh nice [20:37:25] though i wonder... can i use it to get exception details? [20:37:35] oh actually, I think you can't anymore [20:37:57] test151 can't cross realms anymore [20:38:01] oh okay [20:38:05] but yes, you could've seen exceptions details [20:38:15] I'm not sure if you also could've beta tested 1.43 already as well [20:38:53] https://rainverse.wiki/1.42/index.php?title=Rainverse_Wiki [20:40:53] awh wiki not found :( [20:43:59] Beta can't access prod [21:07:52] @agentisai I gave Claire the X-Debug key with permission [22:39:34] [1/3] someone please merge these, they have been open without any activity for months [22:39:34] [2/3] https://github.com/miraheze/MirahezeMagic/pull/491 [22:39:34] [3/3] https://github.com/miraheze/MessageCachePerformance/pull/2 [22:42:22] cc @reception123 since you vowed to merge old pull requests [22:48:07] โ€œVowedโ€ [22:50:10] brb [22:50:40] > [Thursday, 18 July 2024] [21.06.40 GMT+10] feel free to ping me if patches are left unmerged for too long ๐Ÿ™‚ [22:50:42] i take this as a vow [22:51:12] Bit of a stretch [22:51:42] true [22:52:03] i just want someone to make PRs timely, and pinging reception is probably more socially acceptable than meowing on phorge [22:55:45] https://issue-tracker.miraheze.org/T12520#252950 [22:55:48] meow~ :3 [22:55:51] So? [22:56:11] Since when do you care about social expectations in adversity of being a catgirl [22:56:25] i... fair point [23:00:15] imagine if mikuchan03 came onto phorge [23:00:47] https://www.youtube.com/watch?v=iQsLBb15Xrw [23:02:37] okay time to get out of bed [23:53:17] [1/2] > though i wonder... can i use it to get exception details? [23:53:17] [2/2] You can proxy to the mwtask servers to get exception details as well. [23:53:28] oh yay \o/? [23:55:24] Just don't paste your own PII places. Thats the only reason that isn't enabled everywhere, so people don't actually paste there own PII when reporting issues... [23:55:41] Voo doo [23:55:44] hmm, i thought the exception details were disabled because of server pii? [23:55:46] ? [23:55:59] thatโ€™s what i was thinking as well [23:56:12] It never shows server PII [23:57:32] https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgShowExceptionDetails [23:57:38] It gives request info so at most you see your own PII, which we don't want being pasted publicly by accident, but it is also kind of a just in case im wrong on some odd instance its probably safer not to as well. [23:57:43] hmm, depends on what it means by "it may reveal private information in function parameters due to PHP's backtrace formatting" [23:58:51] Private stuff is always redacted from output from what ive seen, maybe in an older PHP version idk lol. It never does for me. In any case, if you do have something don't post it publicly. [23:59:16] i mean, strip out the pii yeah [23:59:23] the call stack functions and files seem okay though [23:59:39] dont need someone finding the niche 1/1000000 way to see $wgSecretKey