[01:44:46] WikiEditor seems to be broken out of the box [01:44:53] As it can't seem to load jquery.ui [01:45:04] I guess because jquery.ui is deprecated or something [01:45:36] err [01:45:37] nevermind [01:45:47] It was something else I was doing that just broke it [12:38:23] Hi, ``Lua error: not enough memory'' errors are coming up here: https://en.wiktionary.org/wiki/go#Irish ; any ideas? [14:14:48] no Wiktionary maintainers?? [16:00:00] this is probably me being dumb... I hope... [16:00:23] I've set up https and configured http to https rewrite rules using the script from lets encrypt [16:00:50] however, it says it's trying to load scripts from 'untrusted sources', which I assume is the http version of my site... [16:01:11] I open a page with an image, it goes to https, and I see the image on the page [16:01:14] You'd have to check your browser console to confirm [16:01:20] Reedy: right [16:01:53] This page is using the deprecated ResourceLoader module "jquery.throttle-debounce". [16:01:56] it's quite possible for example in site/user JS you've got http hardcoded [16:01:56] Please use OO.ui.throttle/debounce instead. See https://phabricator.wikimedia.org/T213426 [16:02:09] Hmm [16:02:22] I googled briefly and didn't see any solution [16:02:35] I should say, any description matching what I'm seeing [16:03:07] What have you got set for $wgServer and $wgCanonicalServer? [16:03:20] they should be at least protocol relative, if not https explicitly [16:03:22] ahhhhhhh [16:04:51] wgServer was http:// [16:05:22] the link of the image is https [16:05:50] but when I click it, browser says, "This page is trying to load scripts from unauthenticated sources" [16:06:07] the url of that page is https, but I wonder [16:06:12] I don't see wgCanonicalServer [16:06:49] Mixed Content: The page at 'https://geromics.life/index.php/Projects#/media/File:GeromicsExplorationBubbles2.png' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://geromics.life/images/2/2d/GeromicsExplorationBubbles2.png'. This request has been blocked; the content must be served over HTTPS. [16:07:22] Access to image at 'http://geromics.life/images/2/2d/GeromicsExplorationBubbles2.png' from origin 'https://geromics.life' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. [16:08:23] includes/DefaultSettings.php:$wgCanonicalServer = false; [16:08:34] includes/Setup.php: $wgCanonicalServer = wfExpandUrl( $wgServer, PROTO_HTTP ); [16:11:25] I guess wgServer needs to be protocol relative or I need to set wgCanonicalServer [16:12:08] Weird its an XMLHttpRequest to the image instead of normal image load [16:12:40] bawolff: the link on the image is different from what you get when you click it, which is also weird [16:12:41] faceface: Kind of the opposite. If you make $wgServer protocol relative, then you need to set $wgCanonicalServer [16:12:50] Sorry, just reading that too [16:12:56] Currently I have $wgServer = "https://geromics.life"; [16:13:09] That's the easiest and most secure [16:13:09] and wgCanonicalServer is false I guess (unset in Localsettings0 [16:13:19] OK [16:13:39] As in, what you're doing with $wgServer being https is easiest and most secure [16:13:53] I realized after i typed what i said might have been ambigious [16:13:59] sorry [16:14:02] it's not working [16:14:32] You might have site JS (e.g. the page on your wiki named MediaWiki:Common.js ) that's manually making an http url [16:14:54] I didn't do it ;-) [16:15:02] Sorry... I have to go just now [16:15:04] bbl [23:25:44] Hi -- I am having trouble setting up authorization similar to pwauth from an older version of mediawiki. Is there someone out there who would be willing to give me a hand? It would be much appreciated.