[13:16:32] SMW doesn't even work, [[phorge:T12352]] [13:16:33] [13:33:36] Got it, keeping that on pause then [14:19:36] @bluemoon0332 you seen CF's reply? [14:35:04] no [14:35:21] They replied to your ticket [14:57:57] replied back [14:58:29] I also unassigned myself from the Cloudflare Tunnels task since I'll not be able to do it [15:04:39] [1/2] I did watch a video of someone else doing a setup though (https://www.youtube.com/watch?v=ZvIdFs3M5ic) a few days back, I do believe it would work, we should modify the nginx config to serve plaintext HTTP since TLS will not be needed in such a setup, and the hostname given to the tunnel would be added to our load balancers, it is just a bit too hard to setup on Puppet only for [15:04:39] [2/2] Mirabeta for me at least and I don't want to roll that out to production without testing. [15:06:55] test151 not being properly separated from production really sucks [15:08:18] no way to only roll to beta then? [15:21:17] Why cant it just be rolled out to test151? [15:37:51] It can be done [15:38:01] I assume @bluemoom0332 just doesn't know how [15:38:31] It wouldn't be the nicest puppet code to right [15:38:35] Write* [15:40:43] that’s saying something [15:41:18] I mean no puppet code is nice to write tbh [15:42:19] As I recall I called it “arcane runes” in [[User:PixDeVl/TC 101]] [15:42:20] [15:42:32] but i mean I called php ancient greek [15:46:58] There's a missing predesscor in that file [15:47:05] I can't spell that word [15:47:17] But you should also check it's in the MW core MIME type file [16:35:09] @rhinosf1 dp ypu know cert bot (like how to use) [16:35:25] i have an issue with setting it up and was wondering if you had any idea here [16:45:04] Kinda [16:45:12] nvm im very dumb.. just had to pause the contaijer [16:45:22] 🤡 [16:47:55] sorry :( [16:52:33] I went to get a parcel [19:57:33] yep, I don't know how to go about it so that we only deploy this to test151 [19:58:18] there's also the fact that Mirabeta isn't even on Cloudflare to begin with [20:09:50] Making nginx changes only to test151 is also a pain: test151 is basically just a regular appserver that is treated differently on MirahezeFunctions and LocalSettings in our mw-config and by mwdeploy on certain places, there really isn't much difference between it and a regular appserver other than that [20:11:22] You had a heira flag [21:07:50] Yeah you can just do a heira and a lookup to see whether puppet is running on test151 [23:33:06] X2 [23:33:06] [1/2] BlankEclair: https://git.average.name/BlankEclair/GoogleForms/src/branch/main/src/Hooks.php#L122 [23:33:07] [2/2] Yes, you can list urlUtils as a service dependency for the Hook Handler in extension.json and then you don't need to get it from MediaWikiServices. [23:33:25] ty [23:33:51] (I'm not randomly stalking your code btw i'm doing the security review lol) [23:34:50] google forms? [23:34:52] whats this [23:34:59] embeds google forms on wiki pages [23:35:08] because the current polling extensions don't meet our needs one way or another [23:35:12] GOOGLE DOMINATION [23:35:21] please…. No [23:35:26] BING DOMINATION [23:35:27] and i felt too lazy to recreate the polling wheel + docs.google.com is already allowed in csp [23:35:28] I already have enough at school [23:35:46] noooooo [23:35:57] WIKIA SEARCH DOMINATION [23:36:00] oh no [23:36:01] omg do you remember wikia search [23:36:02] what about my favorite search engine [23:36:04] die [23:36:16] ask jeebs :c [23:36:24] jeebs :3c [23:36:47] wikia search and wikia quick answers were golden [23:36:52] I feel there’s probably a deez nuts joke to be made [23:37:10] say quick answers again and I send you to the gallows [23:37:16] https://www.mediawiki.org/wiki/Special:MyLanguage/ObjectFactory; this feels overly engineered [23:37:19] this was a different one though [23:37:28] not like the quick answers they have now [23:37:28] * BlankEclair ignores the modular attributes i have in GoogleForms [23:37:45] also why is g docs in csp [23:37:50] MEDIAWIKI [23:37:55] i don't know but it's in there [23:37:59] remember? [23:38:39] MediaWiki is 95% "lets overengineer this so absolutely nobody can understand whats going on" [23:38:52] only? [23:39:32] yes the other 5% is those shitty functions like wfLoadSkin etc [23:40:46] so nothing in mediawiki is good [23:40:48] time to guess how HookHandlers works [23:41:33] Imagine using wiki search and being told a page doesn't exist despite naming it 1:1 by name. Imagine [23:41:51] godspeed brave wiki warrior [23:41:59] did you access me test mediawiki servers or something [23:42:16] rip [23:42:30] okay this is too obtuse, time to try codesearch :3 [23:42:45] hahah its pretty easy [23:42:54] you just need to match the hook exactly to how its defined [23:42:54] yeah but docs are lacking [23:43:12] like, how is my UrlUtils passed? do i need to create a separate class for this? (i hope not) [23:43:23] obligatory [[WP:BEBOLD]] and write them [23:43:24] [23:43:25] or dont! [23:43:32] oh bruh i just noticed that i already have HookHandlers above [23:44:23] [1/11] no you just do something like: [23:44:23] [2/11] ```php [23:44:23] [3/11] "HookHandlers": { [23:44:24] [4/11] "GoogleFormsHooks": { [23:44:24] [5/11] "class":"MediaWiki\\Extension\\GoogleForms\\Hooks", [23:44:24] [6/11] "services": [ [23:44:25] [7/11] "UrlUtils" [23:44:25] [8/11] ] [23:44:25] [9/11] } [23:44:26] [10/11] }, [23:44:26] [11/11] ``` [23:44:29] and then you get it via a constructor in the hook class [23:44:39] via the ctor, huh okay [23:44:45] thanks [23:50:26] it's going like Error: Object of class MediaWiki\Utils\UrlUtils could not be converted to string, and i'm like "why are you being converted to a string" [23:53:01] oh, you don't do $this->$urlUtils, but instead you do $this->urlUtils [23:53:12] i feel like i just made someone's eyes bleed with that statement [23:53:23] Yeah you did [23:54:05] i don't know if i should be scared or proud of myself [23:54:36] I… [23:54:41] anyway i'm gonna push now [23:54:51] K mean [23:54:54] i see it now [23:54:59] and it makes sense [23:55:03] But i hate it [23:55:06] me too [23:55:25] mediawizard