[02:15:33] the future of mediawiki skins is when they start using codex [02:39:02] [1/5] bro [02:39:02] [2/5] https://cdn.discordapp.com/attachments/407537962553966603/1495252353287454750/1.jpg?ex=69e591c5&is=69e44045&hm=9a7c686568e5462a001f8900f896d2f526eb86a2ae88a3767e408356aefe6df0& [02:39:02] [3/5] https://cdn.discordapp.com/attachments/407537962553966603/1495252354298023977/2.jpg?ex=69e591c5&is=69e44045&hm=b462afad9329f541dd8de9c1760bb686846e59ff54676149c8ee334397eca50f& [02:39:03] [4/5] https://cdn.discordapp.com/attachments/407537962553966603/1495252354738688000/3.jpg?ex=69e591c5&is=69e44045&hm=c744ea43f182485f7afd0d78c26f72cd9302ddb746bf93ca059554e29a59aedb& [02:39:03] [5/5] https://cdn.discordapp.com/attachments/407537962553966603/1495252355128492142/4.jpg?ex=69e591c5&is=69e44045&hm=a3582214a7f8b2840d869ca08f9903fc56a119030cb79d6bd13b8aa6fbaf3ab6& [03:44:13] bro what is this place [03:44:49] Miraheze support server [03:56:00] bro i tried doing the always dark mode thing and its still not working for new users [03:56:10] if they refresh it goes back to light mode [03:57:00] Link to your wiki? [03:57:06] #verify to send links btw [03:57:35] https://oabd.miraheze.org/wiki/Main_Page [03:57:53] It's like extremely unfinished and stuff lol no files are uploaded yet [03:58:02] I'm just making the formatting for stuff first [04:03:32] Would you mind if I touch your wiki's `MediaWiki:Renderblocking.js`? I think I know the solution but want to make sure it works. [04:03:48] Sure [04:04:50] [1/2] Also, how would I make things transparent so the background is one unified color? [04:04:51] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1495273949997699112/chrome_KBkQLP3brQ.png?ex=69e5a5e2&is=69e45462&hm=66d2032a40ff7e0fce467c76c1db57af9f1b1ecc5cac0909227e1496389d2bda& [04:04:53] kinda like this [04:10:26] Nvm I was thinking of something else. It's quite odd because I see other wikis working fine using the same snippet even when I'm logged out and refresh the page. I'll investigate a bit more. [04:12:49] Huh.. alright [04:44:58] Any luck? [04:52:23] You have Theme Toggle installed on your wiki which conflicts with the script. [04:52:30] Ah alright [04:53:55] The joy of working with 300+ extensions lol. [04:54:20] I've disabled theme toggle and It's still not working [04:54:44] Wait for cache to clear. [04:54:53] ok [07:41:33] https://reconvergentfates.miraheze.org/wiki/Template:Character [07:41:44] Where in here would I enter in
so that the Infobox title itself is centered [07:41:53] [1/2] example being this [07:41:54] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1495328572947169342/image.png?ex=69e5d8c1&is=69e48741&hm=512abd18a3477f932c8aaed017436b727cbe07f26a28bfec74629433bc0ea5c6& [07:41:55] not centered [07:45:47] wait maybe i got it [07:46:48] nevermind [07:47:24] oh wait? [07:48:29] no i dont have it... [08:14:00] wait [08:14:10] did u get it yet [08:30:04] no… [08:30:08] i thought i did like twice [08:30:11] lowkey had a [08:30:24] https://tenor.com/view/urethra-i-got-it-idea-light-bulb-meme-gif-14250792407645567538 [08:30:26] moment [08:30:30] then it was actually wrong [10:25:30] :pupCoffeeMH: coffee [13:01:09] In your MediaWiki:Common.css, `.pi-title {text-align: center}` [13:18:31] https://cdn.discordapp.com/attachments/407537962553966603/1495413289230798968/IMG_20260409_064348_446.jpg?ex=69e627a7&is=69e4d627&hm=53f98e4ed8e58eac79c0de79d4cf48c892c1b7c42d2ae49c40a843a830f920d7& [13:33:39] [1/2] I changed some text on the main page and now the option to edit it has vanished... [13:33:40] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1495417096060797059/Screenshot_20260419_143259_Chrome.jpg?ex=69e62b33&is=69e4d9b3&hm=4429ca7c2280bb9186d51715558cb1a9dcd514ddf2c378e72f0172e8c572ab3a& [13:36:34] It's due to the skin you're using (or that Mobile Frontend) is using; you can add `?action=edit` to the end of the URL to get to the editing page [13:52:48] [1/2] Curious if you could explain--I have that section of code in a Template:Gameinfo/styles.css, a second CSS page for styling my infobox (on a new page Template:Gameinfo, calling the style.css with ``) If I remember correctly, this was because Mediawiki:Commons.css wasn't "sanitized" and couldn't be used wi [13:52:48] [2/2] th the above HTML. Did I add extra steps, or is this just a different appraoch altogether? [13:54:00] I kind of dislike templatestyles because it hates when I use shit like & and other stuff [14:06:10] I could have sworn I had that extension turned off... which goes to show how little I understand what I'm actually doing. I hate to admit, but having chat gpt dumb everything down is extremely helpful [14:23:37] [1/4] TemplateStyles is an extension which can apply limited, sanitized CSS to template pages, and is invoked by the method you described. Some admins/editors like it because it means the CSS is only loaded when necessary (i.e. when template appears on a page) and it doesn't require advanced permissions to configure. The downside is that it is not as flexible as [14:23:37] [2/4] adding things to Common.css because it only accepts sanitized input. [14:23:37] [3/4] To add styles to MediaWiki:Common.css, you wouldn't put in your `` call HTML, but rather what is contained in the styles.css sheet (the raw CSS). That likely means you'll have to add some custom classes to your template, then tweak the CSS to apply only to those classes, which would result in the same effect as using TemplateStyles. [14:23:38] [4/4] Common.css is much more flexible and usable than TemplateStyles but both have their use cases [14:25:20] gotchya. thanks for the insight! [14:54:19] does anyone have a css base for vector 2010, or at least a guide for it [15:06:40] Templatestyles eats shit when you try and check if an element has a class or ID so yeah its really a use case [15:06:58] templatestyles eats shit when you [15:23:41] I should probably publish the extension to TemplateStyles that we use on UT/DR [15:25:02] Which says fuck you no CSS sanitizing but you can only have TemplateStyles pages in the MW namespace [15:48:46] that sounds quite useful [15:49:05] ig it can also work with preexisting templatestyles since it's only affecting the mediawiki namespace [15:52:31] this did not seem to work [15:53:03] Yeah it's just a few hooks [15:53:36] It's just that it's currently under which has a bunch more tweaks than just TemplateStyles so I'll have to extract it from there lol [15:54:40] How do we insert images into pages? [15:56:01] Wouldn't this mean that the TS pages are aggressively cached tho? I actually liked that TS is less aggressively cached (and works for all purposes like inline styles). [15:56:15] No [15:56:32] There is no difference in caching [15:57:09] They aren't going through load.php, they are still processed the same way and output as a