Board Thread:General Coding Help/@comment-8072-20181005012431/@comment-26497423-20181005020416

Oh, I know what's wrong. It's pretty funny now that I think about it, lol. I should have realized when I read the page history. You're using an  link in your code, and logged-in users have https enabled. It should fix itself in a while if you change it back to https, but I should question why is the wgServer check in there at all? I would remove it, but if you REALLY need to check the wiki, I'd suggest trimming out the http(s):// part with regex or  or just checking. Hope it helps, and hit me up if you need working code for it too