[03:06:49] [1/2] Thanks to @suzuneu we have some hope of fixing one big source of the "Cookies disabled" error on login for https://issue-tracker.miraheze.org/T15258, but it's not clear which way is best. [03:06:49] [2/2] Anyone (esp. tech) has any thoughts on this? [03:07:20] I don't want to @cosmicalpha on everything but he did handle the SUL3 migration which is related to this, so... [03:08:07] I will look in a few minutes [03:15:26] [1/2] We can also use `$wi->isAnyOfExtensionsActive( 'WikibaseClient', 'WikibaseRepository' )` to check if wikibase is enabled. If it is, disable the imitation mode setting. This is hacky as hell but works. [03:15:26] [2/2] Or we can try to improve the docs by adding a warning. [04:03:35] I think just updating docs is enough for this case tbh. [04:31:37] tbh this needs a little more consideration and discussion before doing anything there [11:02:51] [1/4] https://cdn.discordapp.com/attachments/1006789349498699827/1572205369629872319/1793926613881.png?ex=6afd85da&is=6afc345a&hm=b769873639a58e7ac33e0375cb3a285d011a1785738bf5d7bd4f52e424b3f801& [11:02:51] [2/4] https://cdn.discordapp.com/attachments/1006789349498699827/1572205370041176146/image_3vgazq.png?ex=6afd85da&is=6afc345a&hm=65264bc71197cf21a9b09e2d5fa25cdd4cff9a87d3525b6f3e5758b09b62c84c& [11:02:51] [3/4] https://cdn.discordapp.com/attachments/1006789349498699827/1572205370464669828/IMG-20261020-WA7456.png?ex=6afd85da&is=6afc345a&hm=dfa641d5da311263446cf77244809b881d0e62ccf57e9c929fb43485256b24e6& [11:02:51] [4/4] https://cdn.discordapp.com/attachments/1006789349498699827/1572205370875576400/1792374971472.png?ex=6afd85da&is=6afc345a&hm=6c05434b2959857c35859fb56ff0f406b0c908ec2eb5b7b8b7b3638a4d8d8fa9& [12:56:49] [1/2] hi! how does one fix this csp error [12:56:50] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1572234053904633976/image.png?ex=6afda091&is=6afc4f11&hm=514a864b0932d7268f4d7b5f439ec7b76c99080ce442da4e31158e8ad5804052& [13:10:03] Possibly related to this? https://discord.com/channels/407504499280707585/1006789349498699827/1565365508663148656 [13:10:26] Is this happening constantly or intermittently? @whostacking [13:10:48] seems to be happening for this one image https://zh.doorsgame.wiki/wiki/DOORS_Wiki [13:23:17] Unfortunately I'm on mobile rn so I can't verify the headers [13:40:13] [1/3] Is this the same image? [13:40:13] [2/3] [13:40:13] [3/3] https://cdn.discordapp.com/attachments/1006789349498699827/1572244972873322628/Screenshot_2026_1117_203929.png?ex=6afdaabc&is=6afc593c&hm=eee11ade80515e2ea37bf345c0cd74013bc53fc4772ec52a9abbc33f3fce3ad1& [13:43:08] Yes [13:43:35] Seems to be loading fine on my end, is it not loading on yours? [13:44:45] not for the main page 😦 [15:17:25] [1/2] main page as well [15:17:25] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1572269434955898930/image.png?ex=6afdc184&is=6afc7004&hm=073db601aa867454589ad8b851faa92cd36883e37451cec5b330518c0e83648e& [15:22:14] https://cdn.discordapp.com/attachments/1006789349498699827/1572270646770139166/image.png?ex=6afdc2a5&is=6afc7125&hm=3f08c8e8b6211aa70918b244c0005eddadadcd512ce9b129efea100abc14de39& [15:29:12] [1/3] related to this I suppose: [15:29:12] [2/3] https://discord.com/channels/407504499280707585/1006789349498699827/1565963800631320698 [15:29:13] [3/3] you could make a PR to add doorsgame.wiki (since 'self' is being interpreted as 'zh.doorsgame.wiki') to your CSP if you'd like the nuclear option [15:30:14] might be of interest? @eri_nyuhuhu [17:12:25] [1/2] I am unsure if this is related, but I am having a similar issue trying to use EmbedVideo with Youtube (i've allowed Youtube in my CSP) [17:12:25] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1572298375842365491/image.png?ex=6afddc78&is=6afc8af8&hm=34e80d74d55e66fb805e5ae844257b8dcb6272178108dab19a420f9ece6a6684& [17:58:38] Could you make a Phorge ticket for this? I can make one on your behalf if you are unable to. [18:02:22] This is known warning, if I recall correctly. [18:03:33] @posix_memalign ? [18:03:47] [1/2] either way, the video doesn't load [18:03:47] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1572311301953163476/image.png?ex=6afde882&is=6afc9702&hm=1d93df816e9bf20a2ac8303b2df065d0429c15bee1acfe4e90f53ae814bad0a8& [18:11:54] It seems like this may be on Google's side? [18:12:45] [1/2] working fine on my current wiki which i'm in the process of migrating from [18:12:45] [2/2] https://themidnight.wiki/wiki/The_Midnight_Remix_Radio [18:13:02] Their code should be calling to https://youtube-nocookie.com/youtubei, but it's calling to https://youtube.com/youtubei and they are not passing the correct CORS headers for that to work. [18:13:16] Can you link to the respective Miraheze wiki? [18:13:53] it's private for the moment, i am not wanting to make it public until i'm done moving everything over, but i can snips of anything that you are wanting to look at. [18:16:35] I can't reproduce at https://exttest.mirabeta.org/wiki/EmbedVideo [18:19:32] It appears to be a Google-side issue from some light investigation; embedding youtube-nocookie in general seems to be failing. [18:23:11] [1/3] Same video works on Public Test Wiki but not a test private wiki [18:23:11] [2/3] https://cdn.discordapp.com/attachments/1006789349498699827/1572316185809256588/image.png?ex=6afded0e&is=6afc9b8e&hm=62cfb4490025e7900dbf61ae9923269fe967cbdaa35da8f45fae03125dfa258b& [18:23:12] [3/3] https://cdn.discordapp.com/attachments/1006789349498699827/1572316186472095906/image.png?ex=6afded0f&is=6afc9b8f&hm=7a010b0959688e1d30a3e2e509768898c5d76aa4b30042e83d4732aa69ff9233& [18:23:49] I think it has something to do with stricter headers on private wikis [18:24:09] i see. so once public it should work [18:27:14] I can't embed YouTube on Codepen either and I get the same error, which is how I came to the conclusion it may be on the Google side. Also, my results weren't consistent, and YouTube was serving different code between the different websites, oddly. [18:33:09] If you check `embedded_player_response` it'll say `PLAYABILITY_ERROR_CODE_EMBEDDER_IDENTITY_MISSING_REFERRER` on a failing video player. [18:33:40] It's in the response to the initial `https://www.youtube-nocookie.com/embed/H9Ph9CvGNyw?autoplay=1` request. [18:34:21] So YT is rejecting embeds without a referrer, which we don't set in a private wiki [18:36:00] Funnily enough the solution is to enable the Maps extension per https://github.com/miraheze/mw-config/blob/3bfcb050dfd92a2415b1a179b7ad98485bd88a0c/GlobalSettings.php#L1022 because the referrer policy is changed just to make Maps work. [18:37:15] Though Maps is disabled and restricted now so the average wiki can't enable it [18:49:36] [1/2] It looks like [referrerpolicy](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe#referrerpolicy) can be set on the