[00:10:55] [1/3] you already set citizen as default it will be citizen for any user that visits your wiki [00:10:56] [2/3] user preferences, on your screenshot, are just, again, personal option that doesn't affect anyone else [00:10:56] [3/3] if you mean you want to force only one skin on users, well yeah, that's also possible [00:11:40] i personally don't like citizen and prefer timeless lol [00:11:45] for the first point i mean forcing the skin on people who have already visited the wiki [00:12:00] with an account [00:12:04] it will be forced already [00:12:09] it's default [00:12:12] oh [00:12:13] ok [00:12:28] that's what ive been saying [00:12:41] im tired lol [00:12:55] like wikipedia changed skin couple of years ago it was forced on everyone [00:13:16] but they left option to keep the old look for registered users [00:13:34] i.e. going to those preferences [00:25:25] [1/2] Is there a way to fix this? 🥀 I thought it would fix after a few days but no luck. Purging also does not fix it [00:25:25] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1446658757256806401/image.png?ex=6934c975&is=693377f5&hm=b3ae65d861115b014c5dab8cec2974bc1d8adadcf5c015d2427d45dd1613dc9c& [00:26:36] strange. it tries to load /w/thumb_handler.php/3/32/Trick-or-treat_Stamp.png/800px-Trick-or-treat_Stamp.png [00:31:26] oops i forgot there was a support channel. my bad [00:41:35] It's fine to ask quick questions here, but if it's a complicated thing, if you're not getting answers, or an answer will require a lot of back and forth to complete, support's 100% a better fit [00:41:52] thanks. I think it might require some back and forth [00:43:59] If I sponsor on GitHub, is there somewhere I can send proof to get the donator role? (I chose GitHub because of the 0% fee) :smilesies: [00:45:40] My DMs work [00:46:01] If you can show and prove connection of accounts [02:14:40] @giantguy [02:22:09] thank you [02:28:03] [1/2] wow i really need to redesign my home page lol [02:28:04] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1446689619176456352/Screenshot_20251205_182702_Samsung_Internet.jpg?ex=6934e633&is=693394b3&hm=0787b8b5d364e1ae992a80d45c30e3328838d8161dd22bac6abf19dbecbcd5fe& [03:16:44] Who handles the RfPs? [04:24:30] Stewards close WR rfps, generally [05:13:44] What’s going on? This user is trying to make an account in my Miraheze wiki and it won’t let them despite there not being a user of that username. [05:15:34] Scratch that. The user figured out what was going on their end lol. [05:47:17] <18.748.837.46> [1/2] I'm confused regarding image rights. I'm making an althist wiki (very original ik) and I want to use [this image](https://en.wikipedia.org/wiki/File:Press_conference_of_the_Committee_of_the_GKChP_USSR_(August_19,_1991).jpg)) in my article about the group, which is also used in Wikipedia's [corresponding article](https://en.wikipedia.org/wiki/State_Committee_on_the_State_of_Emer [05:47:17] <18.748.837.46> [2/2] gency) . It is a copyrighted image, but Wikipedia uses it under fair use, and I'm likewise solely using it to provide a visual for who I am talking about. Am I allowed to use it as well? [05:54:10] you can use images from Wikipedia (and other Wikimedia projects) w/o upload, Miraheze basically has an access to their file base by default, you just use filesname [05:55:29] <18.748.837.46> [1/2] Yes but afaik that is only through Wikimedia commons, I tried pasting that image on my wiki but it would be a red link [05:55:29] <18.748.837.46> [2/2] The image is located on English Wikipedia only [05:56:01] interesting :ThinkerMH: [05:57:11] you made support thread too, it's better over there [06:28:02] are templates better than writing code manually? im coloring the text and there's a lot of /span and i wonder if it helps to use a template [06:30:19] generally yeah [06:31:04] if there's any repeatable thing using a template is easier and makes it easier to change en-masse if needed [06:31:42] seeing that this text is being coloured white though, I have to ask what exactly the context of this is [06:32:00] it was an example [06:32:03] [1/2] i mean [06:32:03] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1446751022969262172/image.png?ex=69351f63&is=6933cde3&hm=1d8b42058bdef9af7a063e7250eaabeaedbdfa16a468ce914a9fe415032e20c1& [06:32:05] this looks [06:32:07] horrid [06:33:10] why are you using
for every line [06:33:33] [1/2] this is the produst of it [06:33:33] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1446751401249079416/image.png?ex=69351fbd&is=6933ce3d&hm=2b5fa2b4969e4b27d8bfb041c23168f7bf64842548c717ac7beb7097f4812f11& [06:33:57] [1/2] had i not used this, this would be the result [06:33:57] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1446751500696289362/image.png?ex=69351fd5&is=6933ce55&hm=ab02add55bd0bb0b73321f2b9922d9b6be0b145a83241513892d4ca374746cdd& [06:35:00] a double enter works, but it has a large gap inbetween [06:35:27] what about a bulleted list [06:35:51] i dont know about a bulleted list [06:36:12] it does the same thing, doesn't it? [06:37:34] [1/3] * well it'll look like this [06:37:34] [2/3] * but it's generally easier to write than putting
at the end of everything [06:37:35] [3/3]  You can also put your additional notes in sublists like this [06:37:42] oops that doesn't work in discord [06:38:53] but anyway, regarding the text colour question using a template should make things easier to write out [06:40:54] ah okay, tysm [06:41:06] my 9000 iq trick is just to use `` [06:42:20] that works too [06:42:40] (make sure you have Extension:Poem enabled) [06:43:02] [1/4] but wouldnt it look like [06:43:02] [2/4] ``` [06:43:02] [3/4] asdjashdgjhagsdjhashd [06:43:02] [4/4] ``` [06:43:43] ? what do you mean? poem is just syntax meant to preserve the linebreaks you have in code automatically [06:44:17] would i have to put at the start and end of the page? [06:44:20] https://www.mediawiki.org/wiki/Extension:Poem [06:44:39] just at the points where you need the linebreaks preserved [06:44:54] so Text here /poem [06:46:35] is there a way i can add the bullet points easily? (multiple selectors on different lines) [06:46:41] or just anything reakky [07:05:24] [1/2] wiki text is similar to markdown, like here in discord, bullet and numbered lists are there, check this [07:05:24] [2/2] [[mw:Help:Formatting]] [07:05:24] [07:08:10] not sure wdym by selectors tho [07:09:51] i think they mean if there's an easy way to template it [07:10:00] and from the looks of their use case, i'd say, not really [07:10:08] since the text for each bullet is different/not standardized [07:38:32] if the lists are of same structure, idk, say 5 items for specific section in articles [07:38:53] you'd go w/ numbered parameters i guess [07:39:32] although templates aren't always answers, really, would be easier to just `*` [09:16:35] the horrors if making stuff work for mobile [10:20:59] We only transclude from Commons. Some wikipedia's, like the English one allow for Fair use, most Wikipedia's don't. We cannot transclude images uploaded to Wikipedia or other wikis, Only Commons. [10:21:28] I got it yeah [10:38:41] [1/19] [[Help:Edit summary|Edit summary]](Please briefly describe the changes you made, or choose from: [10:38:42] [2/19] [10:38:42] [3/19] • [[#.|New article]] [10:38:42] [4/19] • [[#.|New template/module]] [10:38:43] [5/19] • [[#.|Copyedit]] [10:38:43] [6/19] • [[#.|Fix typo]] [10:38:43] [7/19] • [[#.|Expand content]] [10:38:43] [8/19] • [[#.|Formatting]] [10:38:44] [9/19] • [[#.|References]] [10:38:44] [10/19] • [[#.|Internal links]] [10:38:44] [11/19] • [[#.|Categories]] [10:38:45] [12/19] • [[#.|Disambiguation]] [10:38:45] [13/19] • [[#.|Remove original research]] [10:38:46] [14/19] • [[#.|Wikify]] [10:38:46] [15/19] • [[#.|Maintenance]] [10:38:47] [16/19] • [[#.|Cleanup]] [10:38:47] [17/19] • [[#.|Mark without citation]] [10:38:48] [18/19] /span/span)/small/span [10:38:48] [19/19] Why this MW:Summary copied from WP couldn't work [10:42:53] what even is this [10:43:39] MW:Summary from Wikipedia [10:46:04] why you need it [10:46:54] seems redundant [10:49:02] [1/2] well i can't seem to find this, you could link too [10:49:03] [2/2] why you even need it? seems redundant [11:36:54] can I make more than one wiki? [11:41:09] Yes, but we appreciate people first maturing their first wiki [11:41:23] There is a 72 hour waiting period though [11:41:25] can you explain? [11:41:42] yeah dont worry bout that my second wiki was made long ago [11:42:06] We just do not want one page wikis made shortly after each other [11:42:23] But if your wiki was made a while back, sure [11:42:28] I will try to use it as much as I can and make it a big project [11:42:30] thanks [11:42:47] You're welcome [12:50:14] https://zh.wikipedia.org/wiki/MediaWiki:Summary [12:57:28] this is really redundant [12:57:54] this is really redundant, even en wp just goes w/ short sentence [12:58:27] is your wiki massively active to require such specifications? [13:02:35] also there's iframe, that gotta involve js and you probably miss something else [13:03:06] again, think of your wiki really need such measures [13:04:20] nobody has or is obligated to mimic wikipedia, which is incredibly complex due to its volume and size of community [13:13:48] no, I just want to make some fixed summary for us to use by a click [13:15:43] There isn't any js used in mw:summary in Chinese Wikipedia [13:16:27] look into classes the spans in your code have [13:16:32] Is it really necessary? [13:16:59] if they think so let be it [13:17:32] personally i don't think it's hard to quickly type 1-2 common words [13:17:41] so it doesn't make sense [13:18:53] https://zh.wikipedia.org/w/index.php?title=MediaWiki_talk:Summary&action=edit [13:19:08] It's not even visible on Wikipedia [13:24:41] So far I can see, only zhWP has this, and doesn't even work on there [13:24:58] None of the other Wikipedia languages have this [13:26:25] [1/2] Remember that this affects all users on your wiki. It's not a personal preference. [13:26:25] [2/2] I think you can do that easier by using a js script? [13:27:10] And I normally rely on 6 often used phrases that are available from cache 🤷🏻‍♂️ [13:45:29] [1/8] Ah... You need to add the following to MediaWiki:Common.css [13:45:30] [2/8] ```#wpSummary, [13:45:30] [3/8] #wpSummaryLabel, [13:45:30] [4/8] input#wpSummary, [13:45:31] [5/8] input.mw-summary { [13:45:31] [6/8] margin-top: 0; [13:45:31] [7/8] margin-bottom: 0; [13:45:31] [8/8] }``` [13:48:50] [1/2] But js might be easier: [13:48:50] [2/2] https://dev.fandom.com/wiki/Standard_Edit_Summary [13:49:10] Perhaps that could be converted to Miraheze standard? [14:04:18] make it into snippet on dev? [14:04:47] yeah, again, solutions on fandom tend to be cleaner/simpler than on wp [14:08:48] I can use this on my wiki???really? [14:31:53] oh [14:32:03] this is a JavaScript thing [14:35:34] i added preview extension to my wiki but it doesnt appear, does it take a bit to implement [14:43:40] https://cdn.discordapp.com/attachments/407537962553966603/1446874743104864287/image.png?ex=6935929c&is=6934411c&hm=124aa0b097929b59a866e4fae296ba505706e77a1f3dc4c28cdbfdf5dd12635f& [14:45:10] it does, and also preview might need a page edit to generae [14:54:23] yeah it works now but all of them give "there was an issue displaying this preview" [15:42:49] Is it possible to restrict specific pages for specific users? [17:05:07] [1/2] @posix_memalign Mind if I make some infoboxes dark mode compatible? Right now it looks like this [17:05:08] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1446910340611707072/Screenshot_20251206-140450.png?ex=6935b3c3&is=69346243&hm=e1f19d18a22b5e745bb611fbe93b690ca420e72053c4391dd78f6ec587a002ec& [17:05:58] Oh wait... the infobox itself already gives styles to do so [17:06:01] Nevermind [21:22:00] [1/3] Why does Global Preferences do this in Vector 2022 [21:22:01] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1446974987109142578/image.png?ex=6935eff8&is=69349e78&hm=2893f10d8d354bab764ef3a2948c3540d83df6c10cc02282be9e6100ad9cebab& [21:22:01] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1446974987473915914/image.png?ex=6935eff8&is=69349e78&hm=befc685d3cf409da795a9110ddc3e50b6d1969d43f42b669971a60fc90254c77& [21:23:06] wgVectorMaxWidthOptions mayhaps? [21:23:30] [1/2] This pisses me off, I don't want it to be this wide [21:23:31] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1446975365577838652/image.png?ex=6935f052&is=69349ed2&hm=064d498479be8b6b9166f57e3d16e73549dda865ca2a68f137bf5c2ead908a06& [21:23:35] What does that do [21:24:01] [1/2] something related to max width [21:24:01] [2/2] idk much, i got distracted when i discovered it and never got back to it lol [21:24:03] Update on the “lost edit”: It somehow saved ☠️ [21:24:30] Can we kill that, it's currently a beta right? I saw it in github [21:24:41] prolly [21:24:49] i have to get up and do mornyan things tho [21:24:56] i can't sleep in :(((( [21:25:07] I need that setting killed [21:29:53] [1/2] Nevermind [21:29:53] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1446976967088935102/image.png?ex=6935f1d0&is=6934a050&hm=a0a0c150bbba0646a72893b16d99438832e05b77a2982966afeedf47aa9d1cfa& [21:30:19] Is there a way to disable that? Is it a setting we can disable? [21:45:26] do you want it on all pages, or just all special pages [21:45:40] i'll try to figure it out after brekkie [21:50:46] Both [22:15:00] [1/7] okay, what you want is [22:15:01] [2/7] ```php [22:15:01] [3/7] $wgVectorMaxWidthOptions = [ [22:15:01] [4/7] 'exclude' => [], [22:15:02] [5/7] 'include' => [], [22:15:02] [6/7] ]; [22:15:02] [7/7] ``` [22:15:19] https://cdn.discordapp.com/attachments/1293312886277406743/1343916790245494844/caption.gif [22:15:44] [1/4] https://cdn.discordapp.com/attachments/407537962553966603/1446988508383416522/1765059336847.png?ex=6935fc90&is=6934ab10&hm=39bdd5f6b2b5f0e023645e26fc15a199a5989cf66231053614cbb64612513f65& [22:15:45] [2/4] https://cdn.discordapp.com/attachments/407537962553966603/1446988508773355693/1765059336847.png?ex=6935fc90&is=6934ab10&hm=4a25566a159bf4635fbe1557ca345f97b80b6fd78725e9a665d3c4dc8752e611& [22:15:45] [3/4] https://cdn.discordapp.com/attachments/407537962553966603/1446988509222277211/1765059336847.png?ex=6935fc90&is=6934ab10&hm=75ed4872cf36bcdbfc75b7396089cd4e17f873694f4a25bcebe6e0152952d414& [22:15:45] [4/4] https://cdn.discordapp.com/attachments/407537962553966603/1446988509649965138/1765059336847.png?ex=6935fc90&is=6934ab10&hm=4709e522ed780d51b5dc11ef5c2ccaf16e642a02022ca8a2ce3bf710dd20356c& [22:16:13] Is there a way to do that with Miraheze [22:16:19] yeah [22:16:25] [[phorge]] task :3 [22:16:31] [22:30:39] By the way does that deactivate the settings to choose the width? [22:30:51] there's a setting? [22:31:03] (is https://issue-tracker.miraheze.org/T14613 the wiki you wanted it on?) [22:31:10] Ya [22:31:14] neat [22:31:23] https://cdn.discordapp.com/attachments/407537962553966603/1446992442518933698/image.png?ex=6936003a&is=6934aeba&hm=feb4df325a589d1ced649cf9ab5b7e002ca06989c37f87a81a73f630d32b1d60& [22:31:25] nope, setting's still there [22:31:49] How do I KILL the width settings [22:33:34] CSS probably [22:33:51] I'm gonna brutally murder wikimedia [22:35:06] i'm trying to figure it out, but i too want to brutally murder wikimedia [22:35:26] I'm gonna [22:35:30] take a look at github [22:35:31] try disabing ? ¯\\\_(ツ)_/¯ [22:35:59] https://gerrit.wikimedia.org/g/mediawiki/skins/Vector/+/6764f91110fa7761e0311875bf3bd205520faf9e/resources/skins.vector.js/clientPreferences.json [22:36:00] uh [22:36:02] what the fuck is this [22:36:16] Wikimedia making stupid decisions for no reason or whatsoever [22:36:22] BUT [22:36:30] I'm gonna guess that's it [22:36:59] https://cdn.discordapp.com/attachments/407537962553966603/1446993856427200753/image.png?ex=6936018b&is=6934b00b&hm=633a6590f6e647a1fcd9b51488a69a3e8430aa3c0d862f86d77f20fc349e99a4& [22:37:06] an overengineered feature system [22:37:15] which nobody will ever need because there aren't that many settings [22:37:26] They really didn't think of other wikis that will use that skin did they [22:37:33] can we put doom in it without modifying other files? [22:37:36] no, why would they [22:37:45] -# What's doom [22:37:54] a game that run on anywhere [22:38:00] I mean you can try [22:38:14] just because it's overengineered, I don't think that means it works great [22:38:17] If they're able to run doom on a calculator, doesn't mean you can't do the same to it [22:38:25] https://www.youtube.com/watch?v=D5NTJSfUWDE [22:38:59] Question, are those settings only editable in LocalSettings.php file? [22:39:11] yeah [22:39:16] Oh my god bruh [22:39:28] Wikimedia why must you do this to us... [22:40:20] And LocalSettings.php isn't accesible to normal users right [22:40:35] not at all [22:40:40] no, but you can make config requests on phorge and we'll change 'em [22:40:54] Can we brutally murder wikimedia [22:41:00] probably unwise [22:41:06] They maket oo many stupid decisions [22:41:18] while it would be nice for frustration, my eyes are on the qld health minister [22:41:21] miraheze is unlikely to accept the maintenance of mediawiki in their place [22:41:32] ahh nothing like getting mediawiki to behave [22:41:40] The what [22:41:42] it can be love/hate for me [22:42:06] Vector 2022 is a hate-hate situation to me [22:42:20] ||leave vector in 2022|| [22:42:27] [22:42:28] Too many weird decisions [22:42:41] the timing 😭 [22:42:42] i use vector 2010 :3c [22:43:05] how does wikimedia complicate config so much wtf [22:43:06] I use monaco, in Miraheze wikis taht have it enabled that is [22:43:14] Because they're STUPID!!! [22:43:23] You shall NOT enjoy configuring Vector 2022 [22:44:26] https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/skins/Vector/+/6764f91110fa7761e0311875bf3bd205520faf9e/resources/skins.vector.clientPreferences/clientPreferences.js#358 [22:44:27] wow [22:44:59] [1/4] on a serious note [22:45:00] [2/4] does anyone know of a guide on how to start up a wiki bureaucracy system thing [22:45:00] [3/4] and [22:45:00] [4/4] best way to create rules and such [22:45:22] [1/2] Top ten things I hate in Vector 2022 [22:45:22] [2/2] - Sidebar has "Switch to old look", good thing it's getting absolutely murdered in MediaWiki Version 1.51 [22:45:50] Vector 2022 [22:46:23] okay, so i think you would want to empty https://piggy.miraheze.org/wiki/MediaWiki:Vector-feature-limited-width-name [22:46:34] I don't think `mw.message.exists` checks if it's disabled [22:46:36] actually idk [22:46:51] Actually- I believe that doesn't remove the settings itself [22:46:57] It just changes the name of it [22:47:03] i would read the source code for mw.message, but i don't want to punt the wmf more [22:47:17] give me 60 seconds to open phpstorm [22:47:20] there's a check: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/skins/Vector/+/6764f91110fa7761e0311875bf3bd205520faf9e/resources/skins.vector.clientPreferences/clientPreferences.js#358 [22:48:55] https://cdn.discordapp.com/attachments/407537962553966603/1446996859867627610/image.png?ex=69360457&is=6934b2d7&hm=6218bdb3893225918fd910f14abcbaccc0e224aca0b62e22c7991cdf95307689& [22:49:18] now the question is whether it's loaded if it's disabled via `-` [22:49:24] I would assume it is [22:49:30] can't you make the page empty as well? [22:49:50] [1/2] yup [22:49:51] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1446997091682615466/image.png?ex=6936048e&is=6934b30e&hm=f248ecd21092e3ba4d75bd3f37ca0482bb4f2f8af36ee00634c2f45612ec32c9& [22:49:53] Wow that DOEs work [22:49:59] yay!! [22:50:00] I just gotta empty the other ones [22:50:11] that's actually surprising [22:50:12] [1/2] Cause it... does this [22:50:12] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1446997180052410419/image.png?ex=693604a3&is=6934b323&hm=8f231633ccf20d0c8ea41b22a4bd8d3dd205e9e6e0599e9a88ced157d77c9e01& [22:50:18] imagine if that just gives an emp- what the fuck is that [22:50:20] oh [22:50:31] I think the header is just empty [22:50:55] give me some wide text :smilesies: [22:51:24] NO wide text for you [22:51:38] WIDE [22:53:14] [1/2] AARGH! [22:53:15] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1446997946758332457/1765061591909.png?ex=6936055a&is=6934b3da&hm=60e698ebc67097330ce95678280e8e082689a454da271dba375477a2ef5a8e08& [22:53:37] Okay erm [22:53:41] sigh [22:53:41] so [22:53:47] the message has to _not exist_ [22:53:49] [1/2] I don't reccomend, at all [22:53:49] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1446998090837135531/image.png?ex=6936057c&is=6934b3fc&hm=3edbaed4692e34d0515233650860afce457a08c84e7066fabd733ea480f667d8& [22:53:49] instead of like [22:53:50] be empty [22:54:13] you could probably do that via JS if you manage to load it before vector's JS [22:54:22] or whenever the relevant code is run [22:54:23] what about locked down pages? [22:54:39] skill issue [22:54:41] i mean, even if you run after vector's js, you could .remove() the element [22:54:48] or just use css [22:54:53] i am reflecting the skill issue to wikimedia [22:54:55] users can change the page width anyway [22:54:57] you can't stop them [22:54:59] same issue [22:55:24] Doom to them [22:56:45] I'm gonna revert the thing I did [22:57:34] https://www.mediawiki.org/wiki/Manual:Hooks/MessageCacheFetchOverrides [22:57:35] hmm [22:58:36] is this documentation up todate? [22:58:54] I usually use MessagesPreLoad [22:59:18] to implement custom x-xss codes [22:59:28] oh neat [23:00:01] https://gerrit.wikimedia.org/g/mediawiki/core/+/893252d7ef8638103cc1469373565c6f91060841/includes/Cache/Hook/MessageCacheFetchOverridesHook.php [23:00:02] haha nope [23:00:35] is that the hook they use for WikimediaMessages? [23:00:52] MirahezeMagic [23:01:04] or that [23:01:38] I am so sorry for making you have to break your brain just to find a way to remove the Width settings claire 😭 [23:01:49] ikr [23:02:00] [1/14] you could probably try something like [23:02:00] [2/14] ```php [23:02:01] [3/14] / [23:02:01] [4/14] * @inheritDoc [23:02:01] [5/14] */ [23:02:01] [6/14] public function onMessagesPreLoad( $title, &$message, $code ): bool { [23:02:02] [7/14] $key = lcfirst( preg_replace( '|/' . $code . '$|', '', $title ) ); [23:02:02] [8/14] if ( $key === 'some-message' ) { [23:02:02] [9/14] $message = false; [23:02:03] [10/14] return false; [23:02:03] [11/14] } [23:02:03] [12/14] return true; [23:02:04] [13/14] } [23:02:04] [14/14] ``` [23:02:07] I could have never knew Vector 2022 was that difficult (and ANNOYING) [23:02:50] [1/2] this is where it's handled [23:02:50] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1447000360215642123/image.png?ex=69360799&is=6934b619&hm=2455dd682d9da040537a899504c5c9341fa4e294f16508be4c8481fea13d350d& [23:03:20] I'm trying to mess with width too [23:03:33] [1/5] ```php [23:03:33] [2/5] $wgHooks['MessageCacheFetchOverrides'][] = static function ( &$keys ) { [23:03:34] [3/5] $keys['vector-feature-limited-width-name'] = ''; [23:03:34] [4/5] }; [23:03:34] [5/5] ``` [23:03:44] does that work? [23:03:48] yep [23:03:58] oh [23:04:13] in my case making the article body width slightly bigger on standard so that it can fit 2 columns of gallery when scaled to 2x base game resolution (pixel art) [23:04:21] https://cdn.discordapp.com/attachments/407537962553966603/1447000742253559808/1765062256405.png?ex=693607f4&is=6934b674&hm=85cd04a2db2d0979a94d94318ee3dfd601205253beee2780379a15cd14742ea5& [23:04:32] ohh, I think my local dev environment doesn't use the message cache, so this hook works for me [23:04:55] (did get this working but had to overwrite multiple css rules) [23:05:26] not a fan of how the main container is asymmetrical (it includes the right sidebars but not the left ones [23:05:55] not a fan of a config system so overengineered yet useless that i had to hook out a message instead of emptying it [23:06:07] (i might still be a lil frustrated) [23:06:09] why did they even account for the message not existing [23:06:19] fuck if i know [23:06:31] [1/5] ``` [23:06:31] [2/5] // If the user is not debugging messages and no language exists, [23:06:32] [3/5] // exit as its a hidden client preference. [23:06:32] [4/5] ``` [23:06:32] [5/5] oh [23:06:42] yeah, but [23:06:46] wouldn't disabled make more sense? [23:06:53] wait [23:07:02] why would you put hidden prefs inside the config then??? [23:07:06] I don't think that exists in mw.messages [23:07:29] that config is probably used somewhere else as well where they need hidden prefs...? idk [23:07:34] it does [23:07:49] that's php [23:07:52] oh [23:08:03] i got so pissed i didn't even notice [23:08:06] https://cdn.discordapp.com/attachments/407537962553966603/1447001685296676945/image.png?ex=693608d5&is=6934b755&hm=125adbf4f6d990bee5deccfe88cdb2db1730dfbd0bb39061ccf738aa7ae345ca& [23:08:17] for fuck's sake [23:08:28] :3 [23:08:36] oh [23:08:46] btw I recently implemented what I consider jqueryMsg's most annoying missing feature [23:08:52] even if it were that, surely `!msg.exists() || ['', '-'].includes(msg.plain())` isn't that hard [23:08:54] https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1203448/ [23:09:20] Vector 2022 is THAT annoying [23:09:36] the JS messages api is trash [23:09:41] it's missing a lot of features [23:09:44] for example, rawParams [23:09:50] why doesn't the wmf add them?? [23:10:01] this one, you can do with params() with an element [23:10:04] which only works in jqueryMsg, but you have to use `Object.assign( yourStringVariable )` [23:10:06] Cause it's wikimedia [23:10:09] only if the message is parser [23:10:13] i forgot if it could be a vanilla js element, or a- what the fuck [23:10:34] Wikimedia doesn't give a fuuck if it's not for their own wikis [23:10:39] I have that on my to do list, just like the self-closing HTML tags, but it's sad nobody else cares about that API [23:10:50] it would have benefited their own wikis as well [23:11:02] a lot of i18n XSSs were caused by rawParams not existing [23:11:09] the devs just inserted the unescaped messages as HTML instead [23:11:15] so they could use HTML params [23:11:38] ✨ thanks wikimedia ✨ [23:11:41] Wow I can't believe that [23:11:57] do they even really care about them? [23:12:03] XSSs? [23:12:06] money money money [23:12:07] I LOVe vector but Vector 2022 isn't the best [23:12:07] i18n xsses [23:12:23] I would assume they do now [23:12:29] i fucking hope [23:12:46] Can we go to the Wikioasis way and make the default skin (Which I hate but almost all skins are better than Vector 2022) Citizen [23:12:47] the security team has probably spent a large amount of time dealing with the i18n XSSs I reported [23:13:03] at some point there was a double-digit amount of i18n XSS patches deployed in WMF prod [23:13:17] hot or cold: 50? [23:13:26] no lmao probably less, I haven't counted though [23:13:37] oh, i was genuinely expecting somewhere around 75-85 [23:13:39] hold on let me look up how many I reported [23:13:50] oh, xss _patches_ [23:13:55] i was thinking individual messages [23:14:48] 25 i18n XSSs did affect the WMF so far, but I reported most of them in July/August [23:15:30] meanwhile I've reported 51 i18n XSSs in total [23:15:48] which is less than half of the total amount of vulnerabilities I reported [23:15:50] that surprises me tbh [23:16:12] I wonder how a Miraheze's own SKin would look like [23:16:25] summon 3 volunteers with unlimited time [23:16:52] pill baby + 2 others probably [23:17:03] oh god [23:17:15] He would just make it like Citizen [23:17:23] With a touch of Lakeus [23:17:41] * { background-filter: blur(5px); } [23:17:45] LOL [23:17:59] Yeah we would be doomed with all honesty [23:18:05] https://imago.tg [23:18:14] nah but tbh I think it probably wouldn't be that bad [23:18:16] the blur makes my laptop go 😍 [23:18:17] https://cdn.discordapp.com/attachments/867365805674201091/1427368269991514142/watermark.gif [23:18:24] the backend/JS part is the bigger problem [23:18:52] Ahem [23:19:08] ALL of the wikis that has that specific value laggies my PC [23:19:12] Alongside my mobile [23:19:26] https://cdn.discordapp.com/attachments/407537962553966603/1447004537251692804/image.png?ex=69360b7d&is=6934b9fd&hm=4a330dc7e260057cb706001a91b865b08b6e97aec9c00f277aedb21a98a08a46& [23:19:30] no glasses simulator [23:19:43] lemme test it out [23:19:49] (use `* { backdrop-filter: blur(5px) !important; }`) [23:19:54] (not background-filter) [23:20:20] oh yeah, I meant expect for the filters [23:20:33] He loves filters [23:20:41] not really the same vibe tbh [23:21:41] new challenge: add `@keyframes rotate{from {transform: rotate(0deg);}to{transform: rotate(360deg);}}body{animation: rotate 2s linear infinite;}` to your global.css [23:21:59] scrolling is quite fun [23:22:24] Anyways, is it possible to remove the Width setting? [23:22:35] If it isn't that's fine [23:27:48] [1/6] if you just want to visually remove it you can do [23:27:48] [2/6] ``` [23:27:48] [3/6] #skin-client-prefs-vector-feature-limited-width { [23:27:49] [4/6] display:none [23:27:49] [5/6] } [23:27:49] [6/6] ``` [23:29:12] Kind of wanted it to be removed without CSS, though that seems to be very annoying to do so [23:30:48] you can't scroll lol [23:32:39] Why is Vector 2022 the default skin again? [23:33:12] fuck if i know [23:33:15] prolly copied the wmf [23:38:04] ah [23:40:42] I actually prefer it as a default [23:42:09] vector original is too wide [23:43:21] and floating toc is very useful [23:43:49] I don't know of any guide but unless you've got the biggest wiki on the farm just use common sense idk [23:48:20] my condolences to the italian brainrot wiki [23:54:39] Thank you I will try [23:58:28] [1/2] Our wiki governance policy is the most bare-bones version of this: [23:58:29] [2/2] https://meta.miraheze.org/wiki/Wiki_governance_policy