[00:04:38] if their username is taken then the username is taken. There's [[usurpation]] if they want to take the name back. We can however reattribute edits to their Miraheze accounts [00:04:38] [00:05:28] If they can log in to Meta but not the local wiki then CentralAuth has failed to do its thing can and Phorge can be used. [00:06:24] okay, they claim that they have never made a miraheze/meta account, so maybe it's just a coincidence that their username is taken? [00:06:56] and when edits are assigned on wiki they might get attached to some other person who has that name and make it look like that account has been around when it might have been dead for years [01:49:49] anyone knows a wiki that uses the Anisa skin, and made it look good? [02:02:23] [1/2] Anyone know a good way to fix this so the text is more readable? [02:02:24] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1544165494343475253/image.png?ex=6a9783af&is=6a96322f&hm=09ccc9dc7ffc1539fb97a75c98a0dd9f5ca907812315a66debbf6b5c96bf6954& [02:02:33] like forcing the color to black? [02:04:40] wait I got it nvm [04:20:31] [1/140] I have this code to make a custom infobox, imported from another source, however no matter how much I edit it I continually get the same errors [04:20:31] [2/140] `.tg-infobox { [04:20:31] [3/140] position: relative; [04:20:32] [4/140] width: 320px; [04:20:32] [5/140] padding: 16px 0; [04:20:32] [6/140] border: var(--tg-border-base); [04:20:33] [7/140] border-radius: var(--tg-border-radius-large); [04:20:33] [8/140] border-spacing: 0; [04:20:33] [9/140] color: var(--tg-color-base); [04:20:34] [10/140] background-color: var(--tg-color-surface-2); [04:20:34] [11/140] line-height: var(--tg-line-height-xx-small); [04:20:35] [12/140] font-size: var(--tg-font-size-small); [04:20:35] [13/140] } [04:20:36] [14/140] .tg-infobox th, [04:20:36] [15/140] .tg-infobox td { [04:20:37] [16/140] padding: 0; / Remove default padding / [04:20:37] [17/140] vertical-align: top; [04:20:38] [18/140] } [04:20:38] [19/140] .tg-infobox tr > *:first-child { [04:20:39] [20/140] padding-left: 16px; [04:20:39] [21/140] } [04:20:40] [22/140] .tg-infobox tr > *:last-child { [04:20:40] [23/140] padding-right: 16px; [04:20:41] [24/140] } [04:20:41] [25/140] .tg-infobox .tg-infobox-title { [04:20:42] [26/140] font-size: var(--tg-font-size-x-large); [04:20:42] [27/140] padding-bottom: 4px; [04:20:43] [28/140] } [04:20:44] [29/140] .tg-infobox-title, [04:20:44] [30/140] .tg-infobox-header { [04:20:45] [31/140] color: var(--tg-color-emphasized); [04:20:45] [32/140] } [04:20:46] [33/140] .tg-infobox-title, [04:20:46] [34/140] .tg-infobox-subtitle { [04:20:47] [35/140] line-height: var(--tg-line-height-xxx-small); [04:20:47] [36/140] } [04:20:48] [37/140] .tg-infobox .tg-infobox-image { [04:20:48] [38/140] border-top-left-radius: var(--tg-border-radius-large); [04:22:18] (Sorry for the longer looking message in advance, its a loooong string of code) [04:27:40] somebody more familiar with templatestyles can give you a more in-depth answer on how to deal with this, but the short answer is that templatestyles doesn't like variables [04:30:12] I figured that might've been the case, but I wasn't sure what to replace the variables with [04:30:37] [1/2] This is one of the errors for example, but when I tried formatting it like that it was still an error [04:30:37] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1544202797736788018/image.png?ex=6a97a66c&is=6a9654ec&hm=182256ae139fba5344d742f2ec44d6bca267912c231bdf68ed30653c40f135cf& [05:45:10] enable template styles extender [05:47:08] where is that at? [05:47:16] extensions? [05:47:18] yes [05:47:37] default template styles is worthless, extender still has some limitations but it should fix all of those [05:48:28] lemme see, I just enabled it [05:49:11] it works tysm 🙏 [05:49:20] actually a godsend lol [06:02:20] I'm afraid your first few days are probably going to be fairly like this, with tidying everything that broke in the migration. [06:03:03] [[Help:Moving From Fandom]] may be useful to you. [06:03:04] [06:03:06] Oops [06:03:21] [[Help:Moving from Fandom]]? [06:03:22] [06:03:29] Ye, there we go. [06:03:40] template styles is still so confusing to me, like if you’re gonna have a shitty overly-restrictive sanitizer, at least let me disable the fucking sanitizer in the extension settings [06:03:54] “oh but muh security” im on a controlled wiki where i know people wont do anything stupid, i do not fucking care [06:04:07] I think that's about the age of the extension as much as anything else. [06:04:39] would help if they would update the extension more than once a decade [06:04:40] Since as I understand it most of what it's missing is newer? [06:05:01] it cant even do color-mix outside of a variable (2023 function btw) [06:11:24] [1/2] 2023 is way too new. [06:11:24] [2/2] Anything made by the WMF supports browsers all the way back in 2016 (Grade C, as in no core functionality, including CSS, should be broken) https://www.mediawiki.org/wiki/Compatibility#Desktop [06:13:26] like I guess, but I feel like that shouldn’t really apply to an extension intended for keeping CSS organized and whatnot. Practically what do you even get out of limiting things when, if someone wants to, they can just stylize the templates in common.css anyways [06:14:23] It just makes the extension more obnoxious to use, if people had to make a separate sub-extension just to make your extension usable, you’re doing something wrong [06:16:28] Like I’m no expert, but as far as I’m aware, nothing bad will happen if a browser doesn’t recognize some CSS, it just ignores it [06:30:35] [1/2] How can i make a "container" that can make everything inside it take 100% of the page width relative to whats also floating on the side (an infobox in my case) [06:30:35] [2/2] I have an infobox and would like for all of the stuff on the left of it to still take the same 70% width even after passing the infobox but also for all of it to take 100% of the width when the infobox is fully collapsed (aka when its not floating right of the whole section) and on mobile where there is no infobox [07:03:32] [1/29] This is one method, but not the only one: [07:03:32] [2/29] ```css [07:03:32] [3/29] .skin-theme-clientpref-os .citizen-header__logo a { [07:03:33] [4/29] position: relative; [07:03:33] [5/29] width: 32px; [07:03:33] [6/29] height: 32px; [07:03:34] [7/29] } [07:03:34] [8/29] .skin-theme-clientpref-os .mw-logo-icon { [07:03:34] [9/29] visibility: hidden; [07:03:35] [10/29] } [07:03:35] [11/29] .skin-theme-clientpref-os .citizen-header__logo a::before { [07:03:36] [12/29] content: ""; [07:03:36] [13/29] position: absolute; [07:03:37] [14/29] width: 32px; [07:03:37] [15/29] height: 32px; [07:03:38] [16/29] background-image: url("[Image URL]"); [07:03:38] [17/29] background-size: contain; [07:03:39] [18/29] background-position: center; [07:03:39] [19/29] background-repeat: no-repeat; [07:03:40] [20/29] pointer-events: none; [07:03:40] [21/29] opacity: 1; [07:03:41] [22/29] transition: opacity 250ms ease, transform 250ms ease; [07:03:41] [23/29] transform: rotate(0deg); [07:03:42] [24/29] } [07:03:42] [25/29] .skin-theme-clientpref-os .citizen-header__logo a:hover::before { [07:03:43] [26/29] opacity: 0; [07:03:43] [27/29] transform: rotate(360deg); [07:03:44] [28/29] } [07:03:44] [29/29] ``` [07:19:22] am I able to request a CSP addition for my wiki? I am working on a basic API that provides profiles bust pngs [08:18:55] [1/2] Security. In particular TS can be edited by anyone. [08:18:55] [2/2] If you are curious, read discussions on TS on phabricator. [08:26:18] My progressing request on https://issue-tracker.miraheze.org/T15847 has gone silent, no response since 20 August. Just wondering what is the best way of trying to get it sorted? [09:55:47] What is TS? [10:11:27] In this particular context, TemplateStyles. [10:55:31] Pah, no TS for me 🙂 😆 [11:06:30] [1/3] how do i update the site name? it was changed in Special:ManageWiki an hour ago but it still shows the old one [11:06:31] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1544302426797113375/image.png?ex=6a980336&is=6a96b1b6&hm=7fe8ab844ced8fe5c8b1bc7f19055df3502c0e4379e35f77f84146688ae85c48& [11:06:31] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1544302427333857330/image.png?ex=6a980336&is=6a96b1b6&hm=0081b5ffd5598eb1a6040b3ff5cbc46ecebfb11bbbeccbe988150bc33ffe8030& [11:23:01] Blame cache [11:23:05] But which is a good question [12:02:45] [1/3] Uhhhh [12:02:46] [2/3] Thank you 😄 [12:02:46] [3/3] but where do I put the url for the logo? [12:08:35] https://cdn.discordapp.com/attachments/407537962553966603/1544318047685181480/1fb914041a532d6e.png?ex=6a9811c2&is=6a96c042&hm=e7d278347fc2059904ec441373284e02074044d834fa9ace41b8ded6d523f356& [12:47:18] Ah, I see [12:54:36] I’ll see if it works? [12:54:46] So Itsly work on both light and dark mode a. [13:04:36] `.skin-theme-clientpref-os` means it only applies to dark mode. If you want to customize for light mode, just change it to `.skin-theme-clientpref-day`. [13:05:02] [1/2] Uhhh [13:05:02] [2/2] I want to customize for both light and dark mode [13:05:23] `.skin-theme-clientpref-os` only applies to auto mode. the selector for dark mode is `.skin-theme-clientpref-night` [13:05:31] Uhhhhh [13:05:41] So I just copy and paste another one but for dark mode? [13:08:28] you can remove the `.skin-theme-clientpref-os ` selectors for all these, and apply image for one theme. then, you can use selectors that prepend `.skin-theme-clientpref-day/night` and media query wrapped `.skin-theme-clientpref-os` to set only background-image for the other theme [13:08:46] ;-; [13:08:49] What?… [13:08:56] -# (sorry I’m not good at CSS) [13:17:06] [1/29] As Honoka55 said, I got the selectors wrong ||(because my system defaults to dark mode)||. The selector for dark mode is ``.skin-theme-clientpref-night``, and for light mode it's ``.skin-theme-clientpref-day``. If you want to customize the logo for dark mode, here's how to do it: [13:17:06] [2/29] ```css [13:17:06] [3/29] .skin-theme-clientpref-night .citizen-header__logo a { [13:17:06] [4/29] position: relative; [13:17:07] [5/29] width: 32px; [13:17:07] [6/29] height: 32px; [13:17:07] [7/29] } [13:17:08] [8/29] .skin-theme-clientpref-night .mw-logo-icon { [13:17:08] [9/29] visibility: hidden; [13:17:09] [10/29] } [13:17:09] [11/29] .skin-theme-clientpref-night .citizen-header__logo a::before { [13:17:10] [12/29] content: ""; [13:17:10] [13/29] position: absolute; [13:17:11] [14/29] width: 32px; [13:17:11] [15/29] height: 32px; [13:17:12] [16/29] background-image: url("[Image URL]"); [13:17:12] [17/29] background-size: contain; [13:17:13] [18/29] background-position: center; [13:17:13] [19/29] background-repeat: no-repeat; [13:17:14] [20/29] pointer-events: none; [13:17:14] [21/29] opacity: 1; [13:17:15] [22/29] transition: opacity 250ms ease, transform 250ms ease; [13:17:15] [23/29] transform: rotate(0deg); [13:17:16] [24/29] } [13:17:16] [25/29] .skin-theme-clientpref-night .citizen-header__logo a:hover::before { [13:17:17] [26/29] opacity: 0; [13:17:17] [27/29] transform: rotate(360deg); [13:17:18] [28/29] } [13:17:18] [29/29] ``` [13:22:13] Oh damn [13:24:47] I think I’ll need to invert the logo since it’s black though ;-; [14:13:26] Hey who would be the best here to talk about content violations accusation on a wiki? [14:15:04] NotAracham and Radarr have posted on the wiki page related to the accusation. [14:16:03] https://meta.miraheze.org/wiki/Steward_requests/Wiki_reports#Content_Policy_violations%3A [14:20:43] you can use \`\`\` to format code blocks. Also a link is usually better than a blob of text [14:22:31] yes but if someone has their preferences set to auto mode this wouldn't work [14:23:13] [1/6] you calso need a ```css [14:23:13] [2/6] @media (prefers-color-scheme: dark) { [14:23:14] [3/6] .skin-theme-clientpref-os { [14:23:14] [4/6] ... [14:23:14] [5/6] } [14:23:15] [6/6] }``` [14:26:31] tysm 🙏 [14:32:22] yes just like this [14:33:07] but tbh if it's only about reverting colors (instead of a totally different image) in dark mode it has easier solution [14:57:30] jenny only three of those reactions were needed [15:49:09] Can anybody tell me why [[mw:Extension:WikidataPageBanner]] and [[mw:Extension:RenderBlocking]] don't working on the wiki I am working on? [15:49:10] [1/2] [15:49:10] [2/2] [15:54:53] Okay to be more specific the pagebanner won't change the page title and the renderblocking js code never excute. [16:20:01] where do you have the renderblocking code [16:46:54] I put it on MediaWiki:Renderblocking-vector-2022.js [16:47:09] on what wiki [16:47:44] [1/2] it used to have css but I have moved it to their gadget page [16:47:44] [2/2] for the wiki it's [[mh:blocktales:MediaWiki:Renderblocking-vector-2022.js]] [16:47:45] [16:48:19] renderblocking executes before the DOM is loaded [16:49:04] [1/4] so ```js [16:49:04] [2/4] window.addEventListener("DOMContentLoaded", () => { [16:49:05] [3/4] ... [16:49:05] [4/4] });```might be required [16:49:29] [1/2] let's me try that [16:49:29] [2/2] thanks [16:49:33] also what pages is it meant to do stuff on [16:50:12] it is meant to move the toolbar to be on top of every page's title. [17:12:56] 2009 [17:13:02] oops- [17:13:30] it put me out of the search bar for some reason while typing in it, don't mind the deleted messages- [22:52:49] anyone have any recommendations where to find svgs? [23:04:04] Besides Wikimedia? [23:04:21] Or any media-based Commons for that matter [23:04:21] yes [23:04:51] For designs or logos, you could try stuff like vectorpea [23:06:06] 2 days after i said i liked templatestyles it happened, it acted annoyingly and broke my stuff. i deleted templatestyles. i get it now [23:06:39] i'm thinking for moreso icons, if you know of anywhere [23:07:55] Huh [23:08:00] Perhaps Vecteezy? [23:08:14] @swuzzo because flex and grid exist [23:08:46] what about making stuff like, skins? i know some skins that do use that a lot [23:11:03] once again, that's a useless question without context. absolute positioning takes the thing outside of the normal document flow. if that's necessary then do it. if it's not then don't [23:11:18] thank you [23:11:18] ic, thanks [23:28:26] I’m glad to help [23:39:00] google material symbols [23:39:23] that's what i ended up going for 👍 [23:39:33] its a nice collection too [23:39:36] very very good wish i knew about this sooner [23:45:06] MODS MODS MODS i am a user on the venus miraheze wiki from the nexus miraheze wiki, we still need time to archive our content from it [23:45:29] There is a thing saying shut down but please let us import the content we need before you delete it