[00:15:12] Thread for Miraheze Communities, a new Wikibase on Miraheze to document public Miraheze wikis. https://communities.miraheze.org [00:19:00] @originalauthority I found the path that VisualEditor takes when stripping unnecessary section tags from Parsoid output [00:19:30] why sometimes there are wrong items in broken redirects (it says it redirects to redlink but obviously the target page exists) [00:19:57] Perhaps the cache didn't refresh yet? [00:20:19] no it's been for months [00:20:27] ugh thats a bit messed up its calling legacy Parser classes [00:20:57] before 1.44 upgrade they show resolved (strike out), even after cache refreshes, but now they just say it's red, not resolved [00:21:07] but clicking on the red targets brings you to existing pages [00:21:14] [1/2] Maybe I could implement something like this, though: [00:21:14] [2/2] https://github.com/wikimedia/mediawiki/blob/1556475aeec3142f8f7da6c14bf83905dadcd0d6/includes/Rest/Handler/Helper/HtmlOutputRendererHelper.php#L803 [00:21:14] https://xyy.miraheze.org/wiki/Special:BrokenRedirects (#5 - #8) [00:21:45] Homer Simpson meme with Parsoid in the front and legacy parser in the back [00:21:59] But yeah that method was mostly what I was thinking of [00:23:45] [1/2] but again I don't know if that would work, becasuse when I was stepping through it, the content is actually correct here when we pass it back to Parsoid to display to the user: https://github.com/Universal-Omega/PortableInfobox/blob/e108e0be23a11291c2c4284374d5ae02480a0c1a/includes/Parsoid/PortableInfoboxDOMProcessor.php#L61 [00:23:45] [2/2] something is happening once the wtPostProcess function is finished that adds those section tags and I'm not sure if we have any control over that [00:24:58] Hmm [00:26:02] [1/2] it loosk like this function here is responsible https://github.com/wikimedia/mediawiki-services-parsoid/blob/d560d47916a863d39fb22d4a39541d5bde4cfc36/src/Wt2Html/DOM/Processors/RunExtensionProcessors.php#L109 [00:26:02] [2/2] but I can't see where the code goes after that lol [00:26:14] I think it might be passed back to something in core [00:28:05] maybe here https://gerrit.wikimedia.org/g/mediawiki/services/parsoid/+/d560d47916a863d39fb22d4a39541d5bde4cfc36/src/Wt2Html/DOMProcessorPipeline.php#131 [00:38:53] This seems relevant [00:39:04] If sections is run after extpp [00:41:34] Maybe our best bet is checking what WrapSectionsState does and seeing if it avoids processing any particular elements [01:01:14] This part here looks promising but I'd have to test what happens there in a dev environment [01:02:04] Ideally we want all those $node = $node->nextSibling to skip over the entire infobox [01:20:18] But another side effect of using Parsoid for reads is that all extension tags are gone from the infobox [01:20:54] [1/3] And that's kind of a deal breaker for us [01:20:54] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1417319300498325574/Screenshot_20250916_031951_Brave.png?ex=68ca0cf5&is=68c8bb75&hm=ee9d7d9d0fcfb4ba58ed6cab9ed1e9e89357cf447ebe4a7f00b9ebc0826fcb05& [01:20:54] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1417319300967956652/Screenshot_20250916_032045_Brave.png?ex=68ca0cf5&is=68c8bb75&hm=ff4687acfa15b5c51428d7ddb23c89eae8939452f39b1dd8c7d8214c3554025f& [01:23:10] ypu mean footnotes/cites? [01:29:55] Those are extension tags yes [01:44:24] hi guys [01:45:30] hi [01:51:43] think you might need a bit more citations [01:51:44] dont think it's verifiable yet [02:06:05] My friend showed me one wiki where they had an entire sub page dedicated to citing a characters pronouns [02:32:59] any idea on this? i really dk [02:33:22] they/them [02:33:54] people were really misgendering kris to that point huh [02:58:29] hey uh how can i veto my request? [03:25:33] sguysmw: wiki request? comment that you don't want it anymore ^^; [03:45:27] just scrap it for now, and if i find issues with the other site i will let you know and see if you can restore it [03:45:37] okay then ^^; [03:46:08] thanks [03:56:52] hey again, so uh i found an issue [03:57:21] i need somewhere to test if the issue is a css thing or if it's just something with the other site [04:16:57] the cache is updated rather infrequently, it tells you when it last was at the top of the page [04:41:42] i know it updates every three days [04:42:02] @pskyechology [04:42:12] but it's been for about a month [04:42:31] and the behavior differs after mw 1.44 upgrade [04:44:32] that is weird [04:55:26] check this page 10 hours later (the cache will refresh by then) and i'm sure they will remain there [05:10:41] renaming the page Cursed Redirects and calling it a day [07:23:21] Hmm, this doesn't happen for me, references show fine for me in infoboxes on Parsoid [07:23:38] Well I only tried 1. Maybe there's an issue if there's more than one [07:28:52] Which wiki? [07:29:23] I suggest opening a support thread and pinging @blankeclair [07:30:31] Hmm maybe it's a difference between {{#tag:infobox}} and [07:30:41] I'll check [07:31:52] coincidence that i just got out of the shower [07:32:41] Evening [07:32:51] evenyan ^_^ [08:19:36] can we have the miraheze communities wiki blue [08:35:30] Do you have a logo in mind on https://commons.miraheze.org/wiki/Category:Miraheze_Logos ? [08:36:37] was kinda thinking like this https://commons.miraheze.org/wiki/File:Miraheze_interwiki_administrator.svg [08:37:08] and then the square brackets could mean interwiki linking :sunglas: [08:41:44] [1/2] I picked the exact same logo when creating [a YouTube channel for Miraheze Guides](https://www.youtube.com/@MirahezeGuide) lol. [08:41:44] [2/2] I recorded about half of the first video a few days ago. Need to overcome my ADHD and finish it. [08:46:51] ooo can't wait [09:12:02] [1/2] Anyone know how to get a file preview like the one Fandom has, or perhaps something similiar? [09:12:03] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1417437866975428680/image.png?ex=68ca7b62&is=68c929e2&hm=ae74bda6cbaa8b8879e5f44b5bec57195862232a3d0157e19d6f44994d426c57& [09:12:36] I tried looking through the extensions page but couldn't seem to find anything. [09:13:26] MultimediaViewer. It's the same one as Wikipedia. [09:13:26] multimediaviewer [09:13:36] Thanks folks. [13:05:15] Hey guys, is it allowed to show ads on my wiki? Maybe only as a picture integrated somewhere [13:10:57] does anyone know how exactly mobile frontend rearranges the lead section to put leading images and infoboxes below the first paragraph? [13:22:09] What type of ad? [13:22:43] Like commercial ads where the site owner earns money or advertisements advertising your own service or game or the wiki’s affiliated theme? [13:26:19] Like commercial ads [13:27:30] But financing the project, the wiki is about [13:28:40] might be pinged by BlankEclair months ago chilling too long at wikicreators channel (from my bouner's log archives), but I might forgot to leave for far too long [13:28:50] context: ajhalili2006: been chilling here for who knows how long now T_T [13:33:48] Commercial ads from services like AdSense and such are prohibited due to their privacy invasive nature. [13:34:07] No commercial advertisements where you earn money are allowed on Miraheze as the service provides you with free service to begin with [13:35:45] Okay, I understand. Thanks a lot [13:41:33] You are allowed to solicit donations for expenses last i remember [13:43:45] I also thought this. Maybe it’s a option [15:08:50] Yes, donations are allowed but it should be made clear that the donations aren't being made _to Miraheze_ and what their purpose is [15:13:31] Wikis aren't allowed to be for a commercial purpose [15:14:04] Advertising to finance the wider project via the displaying of ads is considered a commercial activity by us [15:16:52] Yeah, not the wider purpose, only donations for the actual wiki like for example if you have a custom domain [15:17:13] Public TestWiki allowed donations for that though I don't think anyone did ever donate [15:28:43] I think I did [15:58:07] Did NDK ever acknowledge it? [15:58:20] I know for the first few years I paid half for the domain [16:26:31] How would one go about integrating a conlang script into a wiki? [16:49:46] [1/2] Hello! I created a wiki a bit ago and was wondering if there was any way to assign someone the groups on the left [16:49:46] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1417553058463748228/IMG_2497.png?ex=68cae6aa&is=68c9952a&hm=977c5820e0b168db443fa2c956c45177f81438ea2d25da498cc4c7fef07c7746& [18:21:56] =D [18:23:43] would be interesting [18:24:10] were you thinking sitelen pona by any chance? [18:26:38] you can upload custom font but don't expect full lang support like w/ others [18:44:49] it has to be freely licensed though [20:00:14] nah a custom one [20:00:42] oh [21:55:11] how do i make my wordmark logo right next to my icon? and at the same height? [22:05:19] what does it look like now?