[00:35:09] https://github.com/AlPha5130/mediawiki-extensions-Purge/blob/master/resources/ext.purge.js#L7 [09:10:37] <_wr_.> [1/3] Can I load external JavaScript via Gadget or User custom JavaScript? [09:10:37] <_wr_.> [2/3] It seems the content security policy blocked me from loading the entire / part of the script [09:10:38] <_wr_.> [3/3] https://github.com/inpageedit/inpageedit-v2 [09:10:59] <_wr_.> I've tried both methods and neither of them worked [09:11:25] you tried personal js? [09:11:30] <_wr_.> yeah [09:12:10] <_wr_.> Or maybe this only happens on custom domain wiki? Idk lol [09:12:58] no idea [09:15:25] <_wr_.> All I did was `mw.loader.load('https://cdn.jsdelivr.net/npm/mediawiki-inpageedit')` and it was expected to work properly 💀 [09:16:03] I believe it's not that easy [09:16:22] what I meant tho, is did you copied the entire code? [09:17:36] <_wr_.> [1/2] Yeah, absolutely [09:17:37] <_wr_.> [2/2] it worked fine when it was running on self-hosted mw, maybe it was blocked due to miraheze's limitation? [09:18:36] yeah [09:18:46] but I don't know details [09:18:55] maybe rhinos will explain better [09:19:10] <_wr_.> tkx bro [09:29:06] <_wr_.> [1/2] I think I have some idea [09:29:07] <_wr_.> [2/2] This might was caused by the content-security-policy, where js.org was not listed in, so that's the reason why it can't be loaded properly, since some of the resources was hosted on ipe-plugins.js.org [10:58:36] hey Graph doesn't seem to be working on my wiki [10:59:09] not sure if i'm just oblivious to how it's done, the manual on mediawiki isn't amazing for explaining how to make your own graphs [10:59:42] i don't think i can post wiki links [11:00:08] You need to /auth to post links [11:00:09] Graph and all dependencies are enabled [11:00:50] https://psychoengineering.miraheze.org/wiki/Stateful_machine [11:01:25] works on vega live [11:06:49] when i tried to preview https://www.mediawiki.org/wiki/Extension:Graph/Guide#Examples_of_charts_with_external_data it also didn't work [11:06:51] same bug [11:07:14] extra newlines after and before /graph don't work either [11:13:53] i feel like i'm missing something obvious [12:24:33] does anyone know of a working graph example [12:28:06] vega 2 json also renders as code block [12:37:20] Graph is not present in https://psychoengineering.miraheze.org/wiki/Special:Version despite being enabled in settings? [12:37:22] intentional? [12:39:50] doesn't exist as a parser extension tag [12:40:05] is there some amount of time it takes between enabling an extension and it actually loading on the wiki? [12:43:57] disabling and reenabling doesn't appear to change anything [12:55:52] Graph is broken [12:56:02] Due to it being not the most secure extension [12:56:13] We really should add a note [13:02:52] oh! [13:03:04] yeah, you should... i have to selfhost a wiki now lmfao [13:03:43] @octopirate please under no circumstances run the graph extension on any mediawiki site [13:04:02] We don't disable extensions because we're grumpy people [13:04:38] if Miraheze SRE says there are security risks, then it's a big deal [13:05:11] It was Wikimedia Security that discovered the issue [13:05:25] even bigger deal lol [13:08:41] how should i make graphs [13:09:04] Depends on what you want [13:09:12] i could render svg from vega and use that? [13:09:17] mostly flowcharts with links [13:09:30] Not sure [13:09:49] You can use SVGs rendered by anything [13:10:23] also no vulnerability listed on the extension page although i assume that's par for the course... is security (or lack thereof) covered by "unstable" [13:10:46] yeahhhh would be nice to have them dynamically generated but if it's a security risk then it's a security risk [13:11:20] That's not a security risk if you only have the SVG [13:11:27] no offense but to be honest i don't know how to phrase this less bluntly - why are disabled extensions still listed with no notice? [13:11:43] no no of course, i mean if dynamically generating them is a security risk then i won't do it [13:12:25] There is in a huge banner at the top [13:12:37] [1/2] Oh, if you use graph to generate svg file and you put that svg to MH then it's not a security risk [13:12:38] [2/2] I mean this [13:12:38] oh my god i'm blind [13:12:39] I have genuinely no idea [13:12:48] jesus [13:13:08] years of reading wikipedia as a casual viewer have conditioned me into simply not seeing the notice at the tops of pages [13:13:27] i'm actually kind of terrified that i didn't spot that at all [13:15:02] I'm kind of terrified by that too [13:15:22] anyway [13:15:26] thanks for the support [13:15:37] will render svgs manually until further notice i suppose [17:59:52] oh, my god [18:00:00] i did all of this and i didn't even notice the mermaid extension [18:01:32] <:sisyphus:1141069100198670496> [18:18:42] I can't enable SyntaxHighlight on my wiki, does it have any conflicts? [18:19:05] have you switched it on in editor itself? there's marker buttin [18:48:29] The save button on managewiki gets grayed out when I check the box for it. [18:50:29] in manage wiki you should type something in reason field before saving [18:52:28] Tried that, still nothing [18:52:48] what's you wiki? [18:52:57] Notably the button doesn't get grayed out when I check the boxes for other extensions [18:53:22] it's really hard to get just by words at this point [20:55:10] someone can accept my wiki request? [20:56:12] pls [20:56:22] dragonvisionsc.miraheze.org [21:01:23] Your request has been accepted; make sure to read the [[Content Policy]] and ensure your wiki follows it at all times [21:01:23] https://meta.miraheze.org/wiki/Content_Policy [21:01:24] [21:07:23] It follows all