[00:08:33] Citizen, Evelution, Gamepress as far as I can tell [00:09:04] #How do I edit premade themes for my wiki? Question. [00:09:13] @Orduin to confirm something, are indefinitely blocked users on Meta permitted to continue to approve/deny wiki requests? [00:09:23] as a piece of clarification [00:14:48] They are [00:15:02] Got it, was just checking to confirm [00:48:59] But that doesn't really answer my question though. I want to use the skin I have, but I want dark mode to not invert the color of images. [00:49:32] afaik, [[mw:Skin:Citizen]] is the only skin with integrated dark mode [00:49:32] https://www.mediawiki.org/wiki/Skin:Citizen [00:49:33] [00:49:47] MediaWiki skins aren't really made with dark mode in mind, all the opposite [00:49:59] Case in point being the default skin with so much white space [00:50:29] I know there is a way to do it such that images are not inverted, though. I just don't know how to a) edit the skin for all users or b) go about figuring out how to do that. [00:50:58] Nope, the dark mode button through extension making everything inverted [00:51:12] [[mw:Extension:DarkMode]] probably has the CSS/documentation you're looking for [00:51:12] https://www.mediawiki.org/wiki/Extension:DarkMode [00:51:12] [00:51:18] Your only choice is to modify skin which making it permanent dark [00:51:39] [1/2] https://kodiak.wiki/wiki/Main_Page [00:51:39] [2/2] This wiki managed to figure out how to do it, so there's got to be a way. [00:53:00] If I could figure out how to edit the skin, I would be getting somewhere, though. The manuals make mention of it, but I'm not sure where I can actually get started with that. [00:53:11] [1/2] no idea🤷 [00:53:12] [2/2] If someone somehow managed to make that, just steal take their CSS/JS [00:53:49] Well skin CSS can be modified at MediaWiki:Common.css or MediaWiki:.css [00:54:09] You could try to use the code provided on the page in the CSS customization option and target img tags [00:54:25] [1/3] so adding something like ```.img { [00:54:26] [2/3] [00:54:26] [3/3] }``` [00:54:34] to the CSS page [00:56:40] I'll see if I can manage to find it [00:56:56] Their skin was HasSomeColours [00:57:05] also their CSS https://kodiak.wiki/wiki/MediaWiki:Hassomecolours.css [00:58:29] Likely the skin CSS override dark mode extension so the image didn't get inverted [01:08:22] I added this to MediaWiki:Common.css and it didn't change anything [01:08:33] Yes, because of your cache [01:08:44] Clear your cache and the page's cache too [01:08:56] Ideally the latter before the former [01:10:40] Done and it still inverts [01:11:19] [1/5] I have [01:11:19] [2/5] ```css [01:11:19] [3/5] .img { [01:11:20] [4/5] filter: invert( 1 ) hue-rotate( 180deg ) [01:11:20] [5/5] }``` [01:11:46] Perhaps I need to make a rule for the logo too? [01:14:44] That could be the issue, actuall [01:15:40] Oh, yeah, that did it [01:24:57] Except now it flips it around in light mode too... Urg [01:33:17] Ah, apparently, no need for the image one, just the MW logo one [01:47:47] [1/3] Module:Messagebox/ambox.css [01:47:48] [2/3] is'nt css? i think it is Lua. [01:47:48] [3/3] How can i fix it? [01:48:38] URL? [01:49:47] Having Module namespace means that script is Lua [01:51:05] [1/2] What is the element name of the notifications inbox icon? [01:51:05] [2/2] Better yet, is there a list of the element names of all the media wiki specific icons? [01:51:59] Use dev tool? by pressing F12 and hover mouse to the thing you want to get element name [01:54:07] If it is currently being read as lua instead of CSS, this can be fixed on the Special:ChangeContentModel page. [01:57:06] Hmm, but that doesn't really help me figure out which is precisely the name. [02:29:54] thx [02:32:24] It doesn't give me the name of it, no. [02:33:01] who can set up Message Box Meta Template in my wiki? [02:33:37] *I'm from Japan [02:37:30] [1/6] I can only think about these kind of images that appears on a Wiki: [02:37:30] [2/6] Website logo [02:37:30] [3/6] Wordmark [02:37:31] [4/6] Img [02:37:31] [5/6] Thumb img [02:37:31] [6/6] Skin specific button img [02:41:15] I mean, doesn't every skin have the alert bell and the message inbox icons? [02:43:21] [1/2] yep, but I don't know what skin do you use [02:43:21] [2/2] if that was Vector then I think there is no other button beside those 2 have icons [02:45:45] a wiki by default can have multiple skins and some aren't even having on off button in extension list [02:45:56] I'm using HasSomeColours [02:46:29] oh also don't forget to set default skin and disable all other skins to prevent other users switching skins [02:49:55] welp, the skin only have alert and inbox icons [02:52:40] [1/4] .mw-wiki-logo [02:52:40] [2/4] .img [02:52:40] [3/4] .thumbimage [02:52:41] [4/4] I think that's all [02:55:06] Hmm. So nothing like .alert or .inbox [02:55:43] don't need to invert alert and inbox (unless it have some sort of glitch) [02:56:49] They dont show up [02:57:03] Probably the colors I've chosen for the header, but [02:59:06] [1/2] .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read [02:59:06] [2/2] .oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-labelElement [03:20:16] I've more or less given up at this point [04:54:03] The dark mode extension use the `filter` to invert images, you can just target those images in CSS and set `filter` to none [04:54:35] Dark mode probably add some sort of class to either the `` or `` element to toggle the styles, you can use that to target light/dark mode [07:44:04] Can I pay for my wiki to be exempt from inactivity? [07:44:12] If so, how much would it cost? [07:46:24] You can not pay for that. For it to be exempt from inactive it just has to meet certain requirements and a Steward can do it after reviewing the request. [07:46:37] Oh [10:28:59] [1/3] can anyone help user in this support thread, please? css formatting of blocks on main page [10:28:59] [2/3] https://discord.com/channels/407504499280707585/1104403925781712968 [10:28:59] [3/3] I don't have much free time nowadays nor can access my laptop atm [12:12:40] Right, that's exactly the issue. I have no idea what the element's name is, so I can't alter anything. [12:37:23] Is it just me or is Miraheze having random 502 errors [12:40:22] Anyone else getting 503 errors? [12:40:32] Now I'm getting nothing but 502 errors [12:40:39] @Site Reliability Engineers ^ [12:41:04] 503 Backend fetch failed errors on all miraheze sites [12:41:42] It's changed to 503 errors [12:42:55] <🇺🇦Grant🇺🇦#5884, replying to Tali64#9984> same here [12:44:30] <ΛlphaOmega#8769, replying to 🇺🇦Grant🇺🇦#5884> ditto [12:45:30] same [12:46:28] <🇺🇦Grant🇺🇦#5884> is my computer just being really slow, or is Miraheze take forever to load [12:48:46] Switched to 502 errors and Yes @🇺🇦Grant🇺🇦 it is slow [12:49:18] <🇺🇦Grant🇺🇦#5884> Does anyone have any idea what is going on with Miraheze? [12:49:47] <🇺🇦Grant🇺🇦#5884> I opened Miraheze one moment and its running smooth and fast, next moment I am getting spammed with 502 errors [12:49:52] Just give it a few minutes [12:49:59] <🇺🇦Grant🇺🇦#5884> and now its a 503 again [12:50:47] The 5xx errors don't really matter, they're related to the same issue [12:50:54] I met 502 [12:51:03] what happened [12:51:14] <🇺🇦Grant🇺🇦#5884> No one knows [12:51:20] <🇺🇦Grant🇺🇦#5884> ¯\_(ツ)_/¯ [12:52:12] Even the miraheze home page is unaccessible [12:52:17] Happy music stops [12:52:44] <🇺🇦Grant🇺🇦#5884> you didn't even wanna block your IP- [12:53:30] <🇺🇦Grant🇺🇦#5884, replying to SolidBlock#2180> only page that boots up is the help page partially in a 2/10 chance [12:53:57] We're aware of the issue [12:54:04] And those that open, take half an hour to load DX [12:54:22] <🇺🇦Grant🇺🇦#5884, replying to Agent#3928> what is the issue? [12:54:36] Database is restarting [12:54:38] <🇺🇦Grant🇺🇦#5884> heyy it booted up [12:56:02] I swear it's only a matter of time before db121 crashes entirely [12:56:13] normal now [12:57:17] Of course you may see read-only errors until somebody with access can fix that [12:58:35] is there magic words list? [13:00:28] Is there a list of all custom domain Miraheze wikis? [13:02:52] https://meta.miraheze.org/w/api.php?action=query&meta=siteinfo&siprop=magicwords [13:03:27] i got list in wikipedia thx [13:05:10] @MarkusRost I belive https://github.com/miraheze/ssl/blob/master/certs.yaml lists all of them [13:06:47] Working for me now. [13:07:15] Thanks, I'll see if I can parse that into something usable for me [13:07:32] [1/2] Is there a list of the custom HTML elements that MediaWiki/Miraheze uses? [13:07:32] [2/2] Like, for example, `mw-wiki-logo` [13:39:54] <🇺🇦Grant🇺🇦#5884> guys, how do I change a wiki's logo? [13:56:34] i registered my site to google search console, but i think my site is'nt displaying search result. how can i fix it? [13:59:09] No, but you can use Inspect Element to find the HTML classes MediaWiki uses [14:00:29] <🇺🇦Grant🇺🇦#5884, replying to 🇺🇦Grant🇺🇦#5884> can someone please show me how [14:01:04] 日本語やめい [14:01:25] <スモール#5142> japanese!? [14:01:33] yes [14:02:12] solve this pls [14:02:18] I tried that. It doesn't really seem to work. For example, how do I find the class name of the tray icon and bell icon? I've yet to be able to figure it out. [14:03:01] Some elements use IDs instead of classes, so maybe they use IDs [14:03:02] also i registered sitemap [14:03:17] <🇺🇦Grant🇺🇦#5884> Uhh- guys I made my wiki's logo non existant- [14:03:29] how [14:04:56] Try checking Special:ManageWiki/settings again, maybe you messed up the logo setting [14:05:15] <🇺🇦Grant🇺🇦#5884, replying to Tali64#9984> what is the setting supposed to look like? [14:06:57] $wgLogo if I recall correctly [14:07:13] So, like, which if these strings is the one that controls the icon? [14:07:28] <🇺🇦Grant🇺🇦#5884, replying to Tali64#9984> it didn't work [14:08:05] Is your wiki public? If so, send its URL, I may be able to see the problem [14:08:46] You don't have anything in $wgLogo, that's the issue [14:09:11] Just fix it by pasting the URL of the logo you want your wiki to have [14:10:17] <🇺🇦Grant🇺🇦#5884> did, it didn't work [14:11:27] Maybe you posted the link to the file page, not the actual image [14:11:37] <🇺🇦Grant🇺🇦#5884> don't think thats supposed to happen- [14:11:39] The correct link should begin with static.miraheze.org [14:11:50] <🇺🇦Grant🇺🇦#5884, replying to Tali64#9984> I did that [14:12:19] Your image should be at most 150x150 pixels [14:12:47] <🇺🇦Grant🇺🇦#5884> e- [14:12:50] <🇺🇦Grant🇺🇦#5884> so its too big? [14:13:37] None of these things work [14:14:59] <🇺🇦Grant🇺🇦#5884, replying to Tali64#9984> should I shrink the file? [14:17:00] <🇺🇦Grant🇺🇦#5884> Bruh- why does it need to be so small, its so blurry.. [14:17:06] If it's over 150x150px, yes [14:20:01] My logo is 300x300 and fits fine [14:22:20] <🇺🇦Grant🇺🇦#5884> Error 503 again [14:22:29] That's been happening recently [14:24:12] Quite frustrating that I can't figure out how to change the colors of two tiny icons over the course of 4 hours. [14:25:32] <🇺🇦Grant🇺🇦#5884> @Tali64 I changed it! [14:34:49] <スモール#5142> When will maintenance end? [14:35:09] Unless there's a sitenotice on the top of each page, there is no maintenance [14:35:20] Currently, the database is locked due to it restarting [14:35:31] It will be unlocked soon when an SRE has the time to login and unlock it [14:42:50] unlocked [14:44:14] I have figured it out. [14:56:56] If it's over 150x150px, yes [15:29:12] https://xomnipedia.org/wiki/User:Antoniokf5/Main_Page why are the mobile only sections of this not working [15:29:21] they still show in desktop [15:29:31] same for the desktop sections showing in mobile [16:04:10] [1/13] Can't say I like doing it this way, but I guess it works [16:04:10] [2/13] ```js [16:04:11] [3/13] export const mirahezeWikis = new Set(); [16:04:11] [4/13] got.get( 'https://raw.githubusercontent.com/miraheze/ssl/master/certs.yaml', { [16:04:11] [5/13] responseType: 'text', [16:04:12] [6/13] throwHttpErrors: true [16:04:12] [7/13] } ).then( response => { [16:04:12] [8/13] if ( !response?.body?.includes?.( '# Production' ) ) return; [16:04:12] [9/13] response.body.split('# Production')[1].match(/(?<=url: ')[a-z0-9.-]+(?=')/g).forEach( wiki => mirahezeWikis.add(wiki) ); [16:04:13] [10/13] }, error => { [16:04:13] [11/13] console.log( `- Error while getting the Miraheze wikis: ${error}` ); [16:04:14] [12/13] } ); [16:04:14] [13/13] ``` [17:48:42] a very belated but sincere THANK YOU to the Miraheze team for getting Cargo back up! Also recovering all those images that we thought we might have lost. Y'all don't get enough praise. You rock :) [18:05:15] musikanimal: i'm sure SRE appreciate the thanks [20:03:34] Hi everyone. WikiEditor upload tool doesn't allow me uploading over previously existing images. This has been going on for years. Is this fixed? [20:12:05] Have you reported it before? [20:14:31] it was reported before I believe [20:14:43] I can't share the link here I think [20:14:44] Where? [20:14:51] Use /auth [20:15:07] Only verified users can post links [20:15:10] Too much spam [20:16:00] https://phabricator.wikimedia.org/T190913 [20:16:47] The task is open [20:16:49] So no [20:17:18] Looks completely ignored since 2018 [20:24:34] sheesh [20:24:46] any way I can... fool the system then? the file in question is my logo [20:26:26] Use Special:Upload [20:28:09] doesn't help [20:28:21] oh wait [20:28:21] It does [20:28:22] maybe it does [20:28:28] you can overwrite files [20:28:33] Just not from editors [20:28:40] Every file has an overwrite link [20:30:52] thanks a ton!