[00:01:10] what is happening.. i tried to delete an unsed page on my wiki and now miraheze is shitting on itself not even opening [00:01:13] and its very slow [00:01:23] wikis are slow loading for me too [00:01:32] yeahh i thought i broke it [00:02:39] you deleting the page was likely unrelated [00:03:42] slow for me as well [00:03:49] hm yeah, but since the first day i registered, sometime my actions are very delayed and they cause the website to just lag before syncing again so i guess this is what happened [00:03:49] miraheze said you will not learn lua today [00:03:57] lmao [00:04:02] no it's what happens when db161 shits itself [00:04:16] @posix_memalign maybe a good time to give db161 a slap in #tech-ops if you're around [00:04:18] db161 ? [00:04:26] database server [00:04:46] ohh yeah just by looking at the logs its going crazy [00:05:00] well what a bad time to try learning mira [00:05:01] it happens fairly regularly [00:05:02] Can confirm my wiki is movin slow too, definitely a site thing [00:05:53] ye, mine is very slow too [00:07:55] oh well maintenance :D [00:07:58] https://cdn.discordapp.com/attachments/407537962553966603/1565155196387196988/image.png?ex=6ae3dfdd&is=6ae28e5d&hm=9e518f3e11304ebbb526cd13d0b79263530e23f0877a3a4cd0b895bd6be025b0& [00:08:44] in its defence it's a free service [00:08:51] ran by volunteers [00:08:54] on a very small budget [00:08:59] it happens, much love and support to the tech team, hope you can find the fix soon [00:09:00] also tbh its not normally like this [00:09:03] Still better than using fandom that's all I'll say [00:09:08] lel [00:09:14] when the alternative is fandom I don't think there's much to complain about [00:09:21] considering the scale of miraheze at this point its a miracle it even runs at all [00:09:24] writing on stone tablets is better than using fandom [00:09:52] any day of the year [00:10:26] having been used to writing css/js for miraheze its like stunning me that lua modules just update automatically [00:10:29] like theres no caching [00:11:32] I'm currently migrating two wikis off of fandom it's the best decision I've ever made [00:11:37] lua is done on page parse [00:11:41] that's because we can use mediawiki's normal caching [00:11:41] Was the servers down message an error on my side or did I just go to it when it got fixxed [00:11:42] css and js are done through resourceloader [00:11:52] its beautiful ๐Ÿฅน i can debug my code right away [00:12:17] if you use templatesandbox you don't even need to press save [00:12:33] [1/2] This is probably the best thing I've ever coded for a wiki [00:12:33] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565156347870191686/image.png?ex=6ae3e0f0&is=6ae28f70&hm=d0675df193596741c9ff74ea954a951c9a42a1fa6dc9ba82656bea662bf095a7& [00:13:47] :O [00:13:51] this is beautiful [00:14:14] [1/2] to kind of illustrate why this is, you only ever need to load a page for people visiting that page. but css/js, you need to load that for every single page on the wiki. it's kinda fine if the initial page load takes a few hundred milliseconds, but if every single page load had an extra few hundred milliseconds to load the CSS you'd notice (and also our serv [00:14:14] [2/2] ers would notice) [00:15:21] resourceloader is also really slow [00:16:00] it totally makes sense, dont get me wrong. i wish there was a way you could override it though! with CSS i use a browser extension, but JS can be a struggle sometimes [00:16:12] css you can preview and it should do it [00:16:19] js you can also just run in the browser console lol [00:16:27] I believe resourceloader is slow because it has to load before loading anything else [00:16:35] it can be difficult and finicky to do this, though it "technically" works [00:16:39] yeah but I mean the actual module builds server side are really slow [00:16:39] with js I have everything in gadgets and disable them when I want to work on them [00:16:48] do gadgets load faster?? [00:17:07] if they're not implemented stupidly then I'd assume so [00:17:12] Is it me, or TVAU is loading very slowly for me? [00:17:33] faster than `@import`/`mw.loader.load` not any faster than sticking them in common.js/common.css. What they do though is allow you to disable them from your preferences [00:17:45] seems reasonably ok to me [00:17:53] ahh. yeah the stuff i write needs to be in common.js/timeless.js, which takes a while to recache [00:18:02] er though i guess i import it haha [00:18:06] [1/2] resourceloader builds if it misses cache are super slow [00:18:06] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565157743017459822/image.png?ex=6ae3e23d&is=6ae290bd&hm=900a67e9b453ba52e26d05b438140f86c2f753737d864a23f3d5bfacd4ad671c& [00:18:07] its alright its not too big a deal [00:18:31] bearing in mind that the 2s from a cache miss is on top of transport time and all the tcp overhead and that's all before any scripts load [00:18:36] unless it's renderblocking.js, you can switch anything out to gadgets without losing any features [00:18:43] tbf my sister (who helps write JS for me) asked why i have to use lua for this template i want and i had to explain just the above, that when im gonna invoke this module several dozen times on a single page i really need it to load as close to the metal as possible figuratively speaking lol [00:18:53] and if it's something like citizen then a load.php cache miss on multiple levels will really ruin performance [00:19:55] lua isn't really close to the metal [00:20:03] unless you're talking about avoiding a fouc [00:20:11] fouc? [00:20:12] not really but for mediawiki i think its the closest option, i think im using the wrong turn of phrase [00:20:14] /whatever js's equivalent is [00:20:35] lua's running serverside, is that what you mean? [00:20:35] flash of unstyled content [00:20:40] yeah i think thats what i mean [00:20:45] OH Yes i do want to avoid foucs in this case [00:20:49] and the odd chance that it just Doesnt Load [00:20:55] lua is still probably not that much faster than js for runtime other than the fact that it takes time to load [00:21:11] web js runtimes are getting really good [00:21:27] for some context, the module im writing is going to replace the template used for multi-character dialogue on this page: [00:21:33] currently its literally just a table with two cells [00:21:49] but i want something more specific [00:22:36] this shouldn't happen with js, if it doesn't load then there should always be a reason why [00:22:52] my users like to load the phighting wiki on their tv or smart fridge or 3ds for some reason [00:23:00] idk what theyre doing [00:23:07] okay yeah that'll be the reason why lmeow [00:23:10] LOL [00:23:42] at a certain point though I think it's worth saying that if you're gonna view the wiki on joke platforms, then you're gonna have to deal with some things breaking [00:23:51] if anybody complained a bc wiki feature didn't work on a 3ds I'd just say lmao [00:23:55] thats true, but in any case a module will be cleaner for this use case [00:24:00] and i need to finally learn [00:24:04] i cant hide forever [00:24:51] nah you never need to learn, just use Extension:Loops or whatever `#arraymap` comes from and also some DPL [00:24:58] lmao [00:25:03] dpl? [00:26:05] make content pages like this [00:26:15] [1/10] ok so im a little stupid [00:26:15] [2/10] ```lua [00:26:15] [3/10] local p = {} [00:26:16] [4/10] function p.hello( frame ) [00:26:16] [5/10] return "Hello, world!" [00:26:16] [6/10] end [00:26:17] [7/10] return p [00:26:17] [8/10] ``` [00:26:17] [9/10] `{{#invoke:PHDialogue|hello}}` [00:26:18] [10/10] i understand what `p` is, and what a `frame` is, but how did it get `p.hello` ? is `hello` literally just the arg i put in? [00:26:50] hello is the name of the function in the module you created [00:26:59] what happens if you change `function p.hello` to `function p.main` [00:27:03] i sure did miss the giant `function` [00:27:04] let me try [00:27:29] [1/2] ok so im invoking a function [00:27:30] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565160108470566912/image.png?ex=6ae3e471&is=6ae292f1&hm=75760c3648cae9644b6e66acfc084822a9c6b2245809163927fd349ea32d04d9& [00:27:49] I believe this is known as "pedagogy" [00:27:52] [1/2] ```Modules are called by {{#invoke:}}. When calling a specific function, it might look like {{#invoke:Module|Function name|parameter 1 (if applicable)|parameter 2 (if applicable, etc.)}}``` [00:27:53] [2/2] does the function always come first? [00:28:11] thank you sorry i am learning LOL [00:28:15] i know luau a bit but not lua [00:28:41] ahh ok i see the args documentation now [00:28:42] afaik luau is lua with extensions [00:28:48] luau is roblox's implementation of lua [00:28:53] its not exactly the same, theyve changed a lot over the years [00:29:21] are you supposed to be able to invoke more than one function? or is it always just the one [00:29:38] if you want to invoke multiple you'll need multiple invocations [00:29:43] ahhhhhhhhhh [00:29:47] that makes sense [00:29:48] unless you make some weird helper function [00:29:57] don't do this [00:30:02] ok so #invoke is literally calling one function in a module [00:30:03] that makes sense now [00:30:09] [[help:lua]] is very short and might be useful if you already know Lua [00:30:10] [00:30:19] invoking it, one might say ;) [00:30:22] ill take a look, im reading the scribunto lua ref manual someone sent me [00:30:46] haha yeah i think the example on the scribunto docs calling the function `hello` confused me [00:30:53] thank you that page helps [00:31:28] lua is scary tbh [00:31:33] IT IS [00:31:37] yeah I use that all the time for documentation on the actual functions I'm using, but it is quite long [00:31:38] I prefer normal things like [00:31:39] idk php [00:31:44] im a JS baby [00:31:46] is it? [00:31:54] I find php more scary [00:31:55] extremely [00:31:59] I prefer C over lua. But I like a lot of languages more than C [00:32:00] php syntax is nice [00:32:00] now [00:32:03] let me tell you about HCL [00:32:05] and I don't touch PHP [00:32:07] omd that is diabolical type shit [00:32:08] php is scarier to me i agree i cant figure out how that works [00:32:17] let me tell you about C++ [00:32:19] no [00:32:21] HCL is worse [00:32:28] but I wanted to have a start at config as code for cloudflare [00:32:39] hydrochloric acid? [00:32:42] because I want to have a really long list of IPs to block at some point and I don't want to manage it in their slow as fuck dashboard [00:32:52] the cloudflare dashboard is convincing me it's entirely vibe coded the more and more I use it [00:32:59] looks like it's just config [00:33:05] that's not a valid fear [00:33:20] looked it up wtf is that abomination [00:33:27] [1/2] it does this now when you hover on the bar things [00:33:27] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565161609679212735/image.png?ex=6ae3e5d7&is=6ae29457&hm=a47ba19014f00a9780b352cb6bf256a435bd610906a542796aa4da681fb9f8b5& [00:33:38] LMAO [00:33:47] syntax idk but Lua I can just change a module on the wiki and it's done. PHP requires more effort to code in [00:33:49] yeah but it's not normal [00:33:51] salt is so normal [00:33:55] if i learn lua ill be one more step to eventually learning C# [00:33:57] nah I love php [00:34:06] laravel is so nice [00:34:08] everything is a class [00:34:10] everything has a place [00:34:16] it's really clean syntax [00:34:18] cannot complain [00:34:22] c# isn't that hard, I know it, if you want a few tips hmu [00:34:26] I prefer JSON for config because then I can make a schema and have my IDE throw a fit when I screw something up before wondering why my code doesn't work [00:34:39] I dislike how the columns in security rules are now so big that I have to scroll to see if a rule is active or not [00:35:06] which is why I'm just turning it into terraform config [00:35:09] :disgustandjudgment: [00:35:16] bro, that's just Java but different [00:35:21] java is dogshit [00:35:33] jvm is the worst atrocity known to man [00:35:35] I looked at some of the MW php code, it's literally reskinned java [00:35:47] jvm compatibility gives me nightmares [00:35:52] thats very kind of you thank you. i have a learning disability so programming languages can be very difficult for me. but i never used to understand htmlcss, or JS! so im slowly getting there, i hope to get to C# eventually in my life :} [00:35:59] write once, debug everywhere [00:36:12] I have been awake at 3am figuring out why jvm kept dying when I had about 900 wikis indexed to a tiny opensearch cluster [00:36:18] that one was on me but [00:36:21] c# is good cuz it's java with qol stuff [00:36:23] opensearch being in java is awful [00:36:28] idk, I've only used it briefly in Unity and have never had a reason to use it since [00:36:38] php is the epitomy of languages [00:36:43] to me it seems the most accessible of the C family languages [00:36:47] so if i want a goal thats the one LOL [00:36:47] it is java but with 10x the vulnerabilities and nicer syntax [00:37:02] also, nodejs is my preferred language for writing quick scripts [00:37:09] also java is way too strongly typed for my liking [00:37:16] it's not really part of the C family [00:37:31] [1/2] hsss [00:37:31] [2/2] Python supremacy [00:37:31] is it not literally named C# [00:37:39] no [00:37:50] I can make a language called C-- tomorrow, doesn't make it part of the C family [00:37:51] typescript + bun for quick scripts [00:37:59] it's like calling your wiki a wikipedia [00:38:06] c is simpler than all of them but it has no safeguards so you also need to know how to properly use it [00:38:07] bro I ain't looking to compile a quick script [00:38:09] that doesn't actually make it wikipedia [00:38:18] bun compiles on the fly [00:38:21] you just bun script.ts [00:38:29] I don't like the people behind bun [00:38:31] just leak memory imo [00:38:33] I used to use python, but nodejs library functions just have better names and cross platform behavior [00:38:34] i think what im trying to say is "out of the main non-JS languages used to make applications and programs, the ones named C(something) are the most prevalent, but C# seems the most accessible to someone learning today, so thats the one i will probably go for, but who knows" [00:38:36] but as a runtime it's actually not bad [00:39:03] you have to understand im not a programmer LOL so those idiosyncrasies are lost on me [00:39:32] actually most modern apps seem to use electron, so JS [00:39:33] the only reason I don't dog on python is because it plays nicely with salt [00:39:34] apps like discord [00:39:44] im thinking more like games and such [00:39:50] c#is named that because it has c like syntax [00:40:01] electron is awful [00:40:05] electron should be deleted from the world [00:40:06] a discord bot i work for is written in C#, it would be useful if i knew it [00:40:07] so yes it is kinda in the c family [00:40:09] I hate electron [00:40:15] discord bots in C# is mad [00:40:17] just use discord.js [00:40:19] written in nix [00:40:20] https://github.com/PluralKit/PluralKit [00:40:32] used in 1.125 million servers so who knows [00:40:37] in my experience it's easier to learn something when I have an end goal [00:40:42] Amen [00:40:45] [1/2] I'm ngl how does cross-platform behaviour affect quick scripts [00:40:45] [2/2] I think for me it's because I started out with Python and I could easily enough write my scripts without even using an LSP [00:40:46] [1/2] well I mean [00:40:46] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565163447514177647/image.png?ex=6ae3e78d&is=6ae2960d&hm=92675047c5b254426b2b5e1a150b32f43e0107764bb7129ef7a581f09290b73c& [00:40:47] it's a bit of everything [00:40:48] yeah, i could learn JS because it was immediately applicable for me [00:40:55] All the best software is made [00:41:03] the main bot is C#, rust is used for the command parser, svelte is for some other stuff/s [00:41:12] i.e. I'm much more familiar with python [00:41:12] seems unnecessary just use JS ๐Ÿ˜ญ [00:41:13] it's because I develop on both Mac and Windows, and I don't like writing two versions of a quick script per repo [00:41:22] eww windows mentioned [00:41:24] please get out [00:41:30] im gonna pretend u didnt say that [00:41:37] discord.js is a good library [00:41:46] just use c# [00:41:47] [1/2] > All the best software is made [00:41:47] [2/2] -- PixDeVl, 2026-10-29 [00:41:54] Very little context but JS is generally a pretty solid choice in most cases as a gen purpose [00:41:56] All the best software is stolen [00:42:00] there's probably bindings for allat [00:42:04] im sure it is, im sure a developer of one of the most prolific bots on discord wouldve thought about that though [00:42:08] --sam altman [00:42:09] just use rust ๐Ÿ˜ญ [00:42:11] theres probably a reason they chose C# [00:42:12] I made bindings for c# once [00:42:16] you'd be surprised, if I am doing something I will pick a random language [00:42:20] the GOAT [00:42:25] one of these days I want to build a deployment script in elixir for funs [00:42:30] possibly [00:42:35] oh right svelte is used for the web dashboard [00:42:42] they were familiar with it at the time, and now it's too late to turn back [00:42:45] pluralkit is a bot that interfaces with a large database on both discord, its API and a web dashboard [00:42:46] it's called tech debt [00:42:52] I will one day make a programing language and use it to make an os [00:42:59] tech debt my beloved [00:43:02] and then make a game engine that runs on it [00:43:03] theyve never discussed rewriting it in JS so again i cant imagine its in their interest [00:43:10] isn't that what microslop did [00:43:23] and then make a complete creative suite [00:43:24] of course they haven't, it's not possible to rewrite it now [00:43:25] no [00:43:37] they don't have a game engine [00:43:41] I don't think anything in the history of anything has been rewritten in JS lol [00:43:43] im not sure thats true, theyre rewriting the command parser in rust [00:43:50] everything is being rewritten into rust these days [00:43:51] true i suppose [00:43:52] At 3am [00:44:04] windows is coded in c++, that's not theirs [00:44:13] yeah but windows is shit [00:44:21] I agree [00:44:31] but why did you mention windows [00:44:40] I didn't you did [00:44:40] yeah I've done that before, twas fun [00:44:48] no I did not [00:45:09] I am too lazy/busy to put my time into that so I just say "claude, make this rust now, make no mistakes" and hope that the rng gods feel good today [00:45:23] but tbh I don't care that much about performance to convert things to rust [00:45:25] ^ you mentioned the windows company [00:45:30] rust is bad cuz the people that use it piss me off [00:45:34] ๐Ÿ’€ [00:45:48] guess I piss you off then :robloxJade: [00:45:49] rust is the best compiled language [00:46:08] where's the love for LLVM IR? [00:46:12] Anyone ever use zig [00:46:16] Or go [00:46:16] no [00:46:19] nope [00:46:36] bun using zig put me off [00:46:41] I hate the guy who makes bun with so much passion [00:46:42] I have a friend who decided she'd write a wiki utility in TS + Zig [00:46:48] but there is no other better runtime for js so [00:46:49] and she got me learning zig too [00:46:50] my hands are tied [00:47:03] node [00:47:06] wow.. it requires so much effort to build a wiki [00:47:10] it comes with my package manager [00:47:13] node is slow and you have to compile your typescript files [00:47:21] you said for JS, not TS [00:47:27] it's not about performance em dash it's about safety [00:47:28] just get on my level and actually use JSDoc [00:47:33] anytime someone says zig all i think about is all your base are belong to us [00:47:45] tbh I don't trust bun when 4614 of their 5000 open PRs are from their fucking stupid AI bot [00:47:51] anthropic gave them too much free will [00:48:31] no tf it isn't [00:48:33] does `tsgo` make that better [00:48:41] it's been a long long time since I've used ts [00:48:48] I see microslop [00:48:48] only thing I like is the fact that you can store values in enums [00:48:49] fuck no [00:49:05] bun is genuinely the easiest way to use typescript [00:49:10] I don't like bun but it's too easy [00:49:22] The Hello World example in the Zig docs is all your base are belong to us lmeow [00:49:25] again, TS is a skill issue [00:49:30] wait fr LOL [00:49:30] ecmascript is a plague that must be purgef [00:50:01] no it's just having type safety ๐Ÿ˜ญ [00:50:15] eczemascript lmao [00:50:43] just stop writing stupidly complicated code, stop removing all the letters from your names [00:51:09] yeah but there's no harm in it [00:51:22] I guess it makes your git repos slightly larger [00:51:34] actually there is. the TS compiler has a tendency to make your code incomprehensible [00:51:35] I like c because it's not dynamic [00:51:49] did you know, the C++ compiler makes your code incomprehensible [00:51:54] I like being able to poke at a website's code and understand what they're doing [00:52:01] nice false comparison [00:52:11] well no [00:52:18] I just echoed your point [00:52:20] and made it about C++ [00:52:33] [1/7] ```zig [00:52:33] [2/7] pub fn main(init: std.process.Init) !void { [00:52:33] [3/7] // Prints to stderr, unbuffered, ignoring potential errors. [00:52:34] [4/7] std.debug.print("All your {s} are belong to us.\n", .{"codebase"}); [00:52:34] [5/7] ... [00:52:34] [6/7] ``` [00:52:35] [7/7] from the official `zig init` command [00:52:37] https://tenor.com/view/oh-my-god-bruh-jjk-jujutsu-kaisen-higuruma-higuruma-hiromi-gif-6772381213627884903 [00:52:40] ok thats so fun [00:52:44] nobody wants to whip out ghidra to have to read what their executables do [00:53:01] ok, but also a bin isn't a website [00:53:01] actually the code produced by it is more comprehensible than the source [00:53:13] "name : type" SYNTAX DETECTED, FUH NAH TAKE THAT FILTH OUT OF MY EYES [00:53:17] zig innit [00:53:29] 1110010101010110010111000 [00:53:31] comprehensible [00:53:34] k [00:54:21] I didn't say comprehensible, I said more comprehensible than the source [00:54:28] well I suppose [00:54:44] but tbh minified js is also a pita to read [00:55:19] guess what though, if you didn't import so many useless libraries you'd beat the minified JS with normal code [00:55:36] I firmly believe that all frameworks are a large skill issue, vanilla JS is the way to go [00:55:48] I firmly believe programming languages are a skill issue [00:55:50] let's use punch cards instead [00:56:19] actually I have handwritten bytes for a custom VM, can confirm programming languages are a skill issue [00:56:40] hand writing code feels horrible [00:56:43] rust is lame js is for plebians java is for masochists c++ is for suicidal people c is for dinosaurs php is for elephants zig is for whoever the fuck zig is for [00:56:51] I have had to hand write code on exam papers [00:56:54] I'm too used to having an LSP [00:57:00] fr [00:57:22] this is what happens when you're too lazy to figure out implementing a sandboxed scripting language and decide to just make it everyone else's problem [00:58:09] 10 minutes to shit, 10 years to clean [00:59:19] I also believe polyfills for well-established features are a skill issue, if your client can't update their browser for 11 years then that's not my problem [01:00:57] my mum's friend was trying to debug a problem with her laptop where suddenly a few of her apps just stopped working, and I eventually figured out that she hadn't updated the laptop in at least 7 years [01:01:07] lmfaoa [01:01:19] oh I bricked my steam deck by not updating it for 4 years [01:01:22] I had to completely reflash it [01:01:37] it just refused to update and it got to the point that games stopped working and I couldn't even switch to desktop mode to fix it [01:01:42] https://cdn.discordapp.com/attachments/407537962553966603/1565168719561236581/image0.png?ex=6ae3ec76&is=6ae29af6&hm=2f92b58b5367a3df4e8a551f592b502d310b5a9f307f83dc79735d613d55faa8& [01:01:55] I can't really be bothered to make up for old versions of browsers but you've gotta recognise that many people are not as tuned in to software as you are [01:02:03] back in the 90s you didn't have to do much to revolutionise technology [01:02:30] people on which end? user or developer [01:02:39] too bad so sad get an it class [01:03:34] saying that to the sassiest miratech member ouu you playing with fire [01:04:04] i guess bro [01:04:23] if people don't know how to use the computer they either learn or don't use it [01:04:33] same goes for everything really [01:06:22] knowing how to do basic maintenance is required to properly use a computer [01:07:41] [1/3] I don't know how to use guns, I'll either [01:07:42] [2/3] 1. not use a gun [01:07:42] [3/3] 2. get a course that teaches me how to use a gun [01:08:12] yeah, but you're not required to use a gun for every job in the developed world [01:08:28] [1/3] hmm. how do i get Theme Toggle to behave.. [01:08:28] [2/3] Anyone know a Miraheze wiki i can look at where it behaves "correctly" in the the list? [01:08:29] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1565170420406165524/Screenshot_786.png?ex=6ae3ee0b&is=6ae29c8b&hm=339ea4b6c9f670f6a9731a92e69d94bd05d8dd6838b81440e3bf3b1b85326dca& [01:08:32] then get a course that teaches you how to use a computer [01:08:48] That feels like an extreme false equivalence fallscy [01:08:57] I'd rather not encourage the capitalists [01:08:57] it's not tho [01:09:07] hi could you link the wiki [01:09:09] this... isn't about capitalism [01:09:11] How is using a deadly weapon the same as a computer [01:09:27] https://onestepfromedencd.miraheze.org/wiki/ [01:09:27] "getting a course" = restricting knowledge to those who can afford to pay for it [01:09:29] since there's an actual relevant message now could you take this to #offtopic please [01:11:10] I was gonna say maybe but that also has the issue [01:11:55] [1/9] For uppercase Bucket conditions like Bucket.Or, Bucket.Not, do you need to import that as a global to use them? [01:11:55] [2/9] I'm getting the error. This is at [this revision](https://stellasora.miraheze.org/wiki/Module:Card?oldid=38683) before revert. [01:11:55] [3/9] >>> Lua error in Module:Card at line 44: attempt to index global 'Bucket' (a nil value). [01:11:56] [4/9] Backtrace: [01:11:56] [5/9] 1. Module:Card:44: in function "getEntryByName" [01:11:56] [6/9] 2. Module:Card:84: ? [01:11:57] [7/9] 3. (tail call): ? [01:11:57] [8/9] 4.mw.lua:678: ? [01:11:57] [9/9] 5. [C]: ? [01:12:04] does anyone have a link to the mw.html documentation? this link appears to be broken [01:12:06] check #offtopic [01:12:36] I don't actually know any wikis that use monobook and theme toggle. the only ones I know on theme toggle are falcom and pizza tower [01:12:52] I'm an Lua newbie, so I don't possess the adequate debugging skills to figure this out [01:13:00] it's `bucket` (lowercase), personally I prefer doing the full `mw.ext.bucket` [01:13:00] hit us [01:13:14] yeah it looks like a MonoBook thing? [01:13:18] personally I just use jquery [01:13:25] in lua?? [01:13:42] in lua you can use the normal `mw.html` from the reference manual [01:13:51] the link you sent was for JS [01:13:55] oh [01:14:00] where is the link for that [01:14:11] sorry i tried googling it and it came up with that one [01:14:41] you sent the link earlier lol [01:14:47] https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#HTML_library [01:14:53] iirc lynn gave you the link [01:14:58] thank you sorry ๐Ÿ˜ญ i didnt see that mw.html was in there [01:15:11] i was reading the one you sent me and it just brings up mw.html with no link as far as i can see [01:15:27] [1/2] like this LOL [01:15:27] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565172179065114684/image.png?ex=6ae3efae&is=6ae29e2e&hm=5697dbadf81f399e078ef376a637dd41adfce17a2d99995d7f266640c01b1bfd& [01:16:08] to create html elements? [01:16:51] well if I want to make an anchor element in JS, the easiest way is `$('', { href: ... })` [01:17:14] I just use a custom helper function (I usually call it `make`) [01:17:51] that feels like reinventing the wheel to me [01:18:01] [1/17] ``` [01:18:01] [2/17] static make = (tag, options) => { [01:18:01] [3/17] options = options ?? {}; [01:18:02] [4/17] const elem = document.createElement(tag); [01:18:02] [5/17] if (options.classList) { [01:18:02] [6/17] elem.classList.add(...options.classList); [01:18:02] [7/17] } [01:18:03] [8/17] if (options.children) { [01:18:03] [9/17] elem.append(...options.children); [01:18:04] [10/17] } [01:18:04] [11/17] for (const k in options) { [01:18:05] [12/17] if (k === "classList" || k === "children") continue; [01:18:05] [13/17] elem[k] = options[k]; [01:18:06] [14/17] } [01:18:06] [15/17] return elem; [01:18:07] [16/17] } [01:18:07] [17/17] ``` [01:18:08] sure, but that's the whole function [01:18:12] it's not very arduous [01:18:48] and that way I don't pull in all of jQuery [01:18:52] in lua can I order a pizza? [01:18:57] hungry rn [01:19:08] you already pull in jquery anyway [01:19:09] find an API or smth [01:19:28] btw lua means moon in Portuguese [01:19:36] devs are from Brazil [01:19:44] I also don't use jQuery [01:20:14] I try not to use it for LSP reasons but for constructing HTML elements I still like it [01:20:16] I suppose on MW it's technically in global scope, but I don't use it [01:20:41] yeah, I have a big stub file for `make` so my LSP can just handle all the elements, it's really convenient [01:21:55] unfortunately the JS/TS LSP in VSCode kinda sucks when working with overloads, so I don't get good support for `options` as I write it but after the fact it's fine [01:22:31] I still don't know what jQuery actually does that's hard in vanilla JS [01:22:47] nothing [01:22:53] lol [01:23:20] mediawiki only has jquery because of tech debt [01:23:42] sigh, just another thing taking up space in the browser in-memory cache [01:23:51] [1/2] good news: ive figured it out :D still some work to be done but babys first lua module [01:23:51] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565174293690720407/image.png?ex=6ae3f1a7&is=6ae2a027&hm=b7c527bb65a7ef1bafe42e02b46874bdea26185900ff5f16a1aff43f9a83fc0a& [01:23:55] thankfully what i wanted wasnt actually that complex LOL [01:24:11] back in the days jquery was necessary for browser compatibility or something, but that's no longer the case. if mediawiki was made today it wouldn't have jquery at all [01:24:38] as a challenge, make it so that the first arguments are the images and everything else can use a shorthand [01:25:09] i wanted to handle that part in lua but i couldnt figure out a good way to do it [01:25:22] so i might just delegate it to its own template [01:25:29] [1/9] like: [01:25:29] [2/9] ``` [01:25:29] [3/9] {{PHDialogue [01:25:30] [4/9] |[[File:...]] [01:25:30] [5/9] |[[File:...]] [01:25:30] [6/9] |1 "text" [01:25:30] [7/9] |2 "text" [01:25:31] [8/9] }} [01:25:31] [9/9] ``` [01:25:35] which would make it easier for my staff to add new characters to it [01:26:24] this is kind of how it worked in the old template which was confusing for my staff so i want to keep the dialogue together with its portraits [01:26:48] [1/2] more like this (with styling i havent yet written) [01:26:48] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565175036417937428/image.png?ex=6ae3f258&is=6ae2a0d8&hm=3dd89557b9e07cebf974902cfd5aab3e797b9e7c9a9e4b02255109c1a1deb182& [01:26:55] [1/6] idk why you'd do this rather than ``` [01:26:55] [2/6] ... [01:26:55] [3/6] |Render Scythe|Evenin', Banny [01:26:55] [4/6] |Render Ban Hammer|... [01:26:56] [5/6] ... [01:26:56] [6/6] ``` [01:27:12] [1/9] what about something like: [01:27:12] [2/9] ``` [01:27:13] [3/9] {{PHDialogue [01:27:13] [4/9] |scythe=[[File:...]] [01:27:13] [5/9] |other=[[File:...]] [01:27:14] [6/9] |scythe "text" [01:27:14] [7/9] |other "text" [01:27:14] [8/9] }} [01:27:15] [9/9] ``` [01:27:15] i am dumb and couldnt figure out hhow to do it, also some characters might not actually have portraits [01:27:36] when they don't just fallback to a default [01:27:40] [1/5] or ``` [01:27:41] [2/5] {{PHDialogue [01:27:41] [3/5] |{{Image|Render Scythe}} {{Text|Evenin', Banny}} [01:27:41] [4/5] ... [01:27:42] [5/5] }}``` [01:27:55] i think ill do like that but have the portait + name in a template [01:28:03] the text can stay plaintext in the template call [01:28:17] ik its not the prettiest way to do it but keeping it out of the lua would be ideal just incase [01:28:35] in case what? [01:28:46] i die and noone else can write lua [01:28:50] im our only htmlcssjslua guy [01:28:58] but my staff can write wikitext very well [01:29:13] not to overwhelm you, but this choice will have consequences, and you should consider what syntax you want, because you'll be stuck with it for a while [01:29:21] i understand, i am thinking about it [01:29:53] i am often not on my computer so editing the lua frequently is not an option, i really just need it to construct the table [01:30:06] eh you can always make a `{{PHDialogue2` template [01:30:07] so im thinking to call the potraits + name in a switch template [01:30:19] the whole point of the module is write once and use a lot, once it's done you don't need to touch it again [01:30:30] right, this game adds new characters as well as having near 100 random NPCs [01:30:45] so i cant put the character/npc list/whatever in the lua itself [01:30:46] i hope that makes sense [01:31:03] that's why the syntax I suggested had the images as the first part of the template with named args [01:31:11] so the lua doesn't need to know what characters exist [01:31:20] is that any different to having it handling by a subtemplate? [01:31:24] bc thats my current idea [01:31:44] it means you don't need a template call on every line of dialogue? [01:32:07] tbf, theres like hundreds of lines, so i should probably be able to change the image for every call of a specific character at will [01:32:13] the characters get redesigned/remodelled often [01:32:22] and i need to replace their image [01:32:59] nice work ๐Ÿ™ [01:32:59] They're moving to Vue now, right? [01:33:03] thank you! [01:33:08] yuck [01:33:13] I spent a bit just making my own infobox and tabbers because I dislike their extensions [01:33:20] thats wild, nice job [01:33:49] portable infobox's crime was just being coded like ass and tabberneue didn't have some features I wanted so [01:33:51] throw that challenge to some people in your community, it'll make them better at all the things [01:33:51] new stuff is being coded in vue and some old stuff may get rewritten. But they're not getting rid of jquery [01:34:03] you severely overestimate this community [01:34:05] they cant even click a link [01:34:42] they get mad if i dont serve them everything on a silver platter, i cant imagine telling them to write me lua for no reason [01:34:53] oh also Jenny what do you think of the MH logo svg being 4x bigger (in bytes) than it needs to be [01:35:11] portable infobox is so restrictive and for what [01:35:13] which one [01:35:14] yeah, all the old userscripts rely on it now [01:35:19] I think leaving it like that as the source file is fine [01:35:22] i feel like im committing a crime any time im trying to add something off-spec to a PI [01:35:23] I mean it's not really restrictive it's just kindof an ass to stylize [01:35:35] the one petra shared in tech, but probably most svg files on mh tbh [01:35:44] [1/2] this little epithet is like, a in a and it feels bizarre and weird [01:35:45] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565177284728717473/image.png?ex=6ae3f470&is=6ae2a2f0&hm=2c366444916be71f7b1707b7897e495cbb5181be9843ac3de0d30a22f5cb6ad8& [01:35:54] like technically you can do that, but [01:36:29] [1/2] ok totally unrelated but this is still the most cursed template I've ever seen (the wiki doesn't have Scribunto and apparently nobody completely understands how it works) [01:36:29] [2/2] [01:36:37] oh my god [01:36:57] see [01:37:00] it could always be worse [01:37:06] i feel better about my templates now [01:37:11] every time i think im committing crimes i just turn back to this [01:37:13] HAHA real [01:37:18] thank you for the pep talk [01:37:38] how do people even conceive of tempaltes like this [01:37:58] [1/3] I like my cleanliness [01:37:58] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1565177844420837508/image.png?ex=6ae3f4f5&is=6ae2a375&hm=f53cb5a0c3f20b2b6255497f545bbd944f236cb225861806e026bd4504873d5d& [01:37:58] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1565177844781424762/image.png?ex=6ae3f4f5&is=6ae2a375&hm=43b336c9e13b938447f3196760bb03c4b65b683a6f25dc36ec4f980082b46dee& [01:38:04] that is nice [01:38:14] now imagine it was a custom element [01:38:19] question: how short can my template names be before it starts getting ridiculous [01:38:20] and weep [01:38:27] don't [01:38:30] just prioritize readability [01:38:30] just don't [01:38:42] hypothetically [01:38:46] it's so much harder to remember short template names than longer ones, i agree [01:38:52] i do agree with that [01:38:53] unlike certain MW contributors, you aren't restricted to 80 columns [01:38:55] [1/2] from a tech point of view it doesn't seem that important. I'm not really a commons person though so take that with a grain of salt [01:38:56] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565178084808859708/image.png?ex=6ae3f52f&is=6ae2a3af&hm=e65f42f04d886e8adc9a178701a9011886262d48515b2c620e41b81e6f50b0ca& [01:39:20] 1 letter [01:39:33] I love my H template [01:39:41] all of the acronyms i were gonna use are innappropriate or a programming language so ok long name i guess it is [01:39:46] I mean sure, but being smaller makes it load faster and more likely to not be evicted from browser cache [01:40:43] if it's a really really highly-used template that you routinely use multiple times in a paragraph then one letter is fine [01:40:59] also [[template:t]] [01:40:59] [01:41:04] [1/2] unrelated but I love that timeless has like 8 random elements that just do genuinely nothing [01:41:04] [2/2] -# not sure about other skins but some of them would be shared at least [01:41:04] Those get sanitised from my experience [01:41:17] im trying to consider how short my subtemplate for the dialogue portraits should be [01:41:32] i guess Portrait is short enough [01:41:33] maybe [01:41:41] yeah, but imagine if they weren't [01:41:55] tbf in general the dom structure for mediawiki is kinda messy so whatever [01:42:04] styling timeless is not for the weak [01:42:42] https://cdn.discordapp.com/attachments/407537962553966603/1565179034848206958/image.png?ex=6ae3f611&is=6ae2a491&hm=d06f9549ee32c10dcfdeef852b3347fd4dbaad0edd60a2500eda0d00f7d858c7& [01:42:48] styling timeless was easy, I copied from fisch wiki and changed the colours slightly [01:42:50] and then tomorrow they change it [01:43:02] had no issues since [01:43:04] [1/2] There's a custom element on Stella's Sora Wiki. It's used via a template that loads a Lua module that gets the arguments from the template and inserts a div that has a data attribute on it with the template parameters serialised to JSON. Then there's a JavaScript gadget that watches the DOM for the div with that specific data attribute, parses the JS [01:43:05] [2/2] ON, and sets them as properties on the custom element. [01:43:12] my favorite part of timeless is the bottom bar it makes sooo much sense!!!!!! [01:43:26] that's too cursed [01:43:34] [1/4] they were whipping up [01:43:35] [2/4] bullshit [01:43:35] [3/4] in a kettle [01:43:35] [4/4] https://cdn.discordapp.com/attachments/407537962553966603/1565179257007898725/image.png?ex=6ae3f646&is=6ae2a4c6&hm=90219e24931a10bc3db6c1f6288a7b5a8c462662244c25abed22afab5c31aea9& [01:43:44] i always feel phwiki is so lacking style wise compared to some other wikis (esp other roblox ones) but ive been told many times its very clean and accessible whhich is my goal so yay [01:43:51] just imagine if MW parser supported custom elements [01:43:53] menus-cover literally does not exist [01:43:57] it does nothing [01:44:06] neither does mw-header-nav-hack [01:44:09] [1/2] speaking of ridiculous and short template names, this template was called "C" and i never bothered to try to understand what it does [01:44:09] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565179396690682028/CleanShot_2026-10-29_at_02.43.042x.png?ex=6ae3f667&is=6ae2a4e7&hm=19d8c94fbef44fb039741bcdb0780e815e900f8e702dc3f63a25a035a9533fad& [01:44:14] Jesus Christ [01:44:14] im crying [01:44:20] immediate psychic damage [01:44:20] i think thats a virus [01:44:21] what the fuck man [01:44:46] like at some point you just gotta use lua bro [01:44:46] I'm gonna make a custom element called `script` [01:44:50] I wish they did. I wish they did really bad. I wish the Wikimedia Foundation would have gone with Web Components instead of Vue so then they're not coupled so tightly. ๐Ÿ˜ญ [01:45:04] this is a symptom of wikitext's terrible template syntax [01:45:22] actually JS specs say all custom elements have to contain at least one dash [01:45:24] so you can't [01:45:27] this is a symptom of wikitext's being terrible template syntax [01:45:41] symptom of luaphobia [01:45:45] gotta bold the insertion [01:45:54] but agreed [01:46:00] wish we could just use MD [01:46:12] [1/2] This is a blog post I shared to someone earlier about Web Components. It might be interesting reading for you all. [01:46:13] [2/2] https://nolanlawson.com/2026/10/19/do-web-components-have-a-future-if-nobody-is-writing-them/ [01:46:17] md tables also don't suck nearly as much as wikitext [01:46:37] [1/2] indeed [01:46:37] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565180019528171724/CleanShot_2026-10-29_at_02.46.172x.png?ex=6ae3f6fc&is=6ae2a57c&hm=21316fe3cc59dcf9a1341aef05da3264e6c8bd3ffafee2aee5e9bb02aa6f4bd7& [01:47:01] big fan of the random visualClears that also do nothing [01:49:44] feels like something you'd find in a horror film about the program that kills your soul [01:50:43] it reminds me of those vids where those guys try and descramble viruses [01:51:25] Like the infamous "Hackerman" GIF? [01:52:32] [1/3] very heavy wip but I'm cooking up happiness [01:52:32] [2/3] just working on styling while waiting for my adoption to be done [01:52:32] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1565181510112247818/image.png?ex=6ae3f85f&is=6ae2a6df&hm=4be198d3e2df78c2be43bccd4cfe3efa878902394c8ea71c6be3761c3821b67e& [01:52:44] -# based off the ui for the game [01:54:15] [1/3] the Fandom wiki I forked from relied heavily on tabbers (sometimes including in infoboxes) - that has lead to shit like this on the Miraheze wiki: [01:54:15] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1565181942729547796/image.png?ex=6ae3f8c6&is=6ae2a746&hm=2dbeaca55f25a107c5f18434fba81273faa4b02f2b8ea16e0b20d643e87b49a2& [01:54:15] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1565181943077937242/image.png?ex=6ae3f8c6&is=6ae2a746&hm=8b2a740bbf1beefe8b260f8a0d3e38e3ba0bdaecb71030f8f30f052a6c57e66e& [01:54:16] [1/2] better shot [01:54:16] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565181947720761354/image.png?ex=6ae3f8c8&is=6ae2a748&hm=7b6fbdb4b5a374b08443188f64f1b2cbbb4572549c4f6fb022ca84f5a3a34306& [01:54:28] (in the second image, there would normally be three images above the Gender slot, divided by tabbers) [01:54:41] is it feasible to get tabbers set up on the Miraheze wiki?, if so, how do I get this done? [01:54:48] enable tabberneue in special:managewiki/extensions [01:54:52] thank you [02:06:21] [1/3] Does anyone else still have this issue where images disappear and are replaced by the code used to display them? My code is written like ''[[File:Image.png|300px|link=Project:Page]]''. Instead, a fragment of this code appears where the image should be. This has been happening for a full day now, 25 hours, though it disappears after refreshing the page a few times. Co [02:06:21] [2/3] uld the translation of terms have broken after MediaWiki update, causing modules and templates to fail to recognize files or even report that they donโ€™t exist, despite the fact that they actually do? [02:06:21] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1565184988087980062/image.png?ex=6ae3fb9c&is=6ae2aa1c&hm=473cbb6c6c89e0431ff0644ea4e92c1c43403c09b940f54d26625caee97eb68a& [03:15:09] [1/3] hmm. [03:15:10] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1565202301906583622/Screenshot_787.png?ex=6ae40bbc&is=6ae2ba3c&hm=99d81fa8839837289fcd4ef82a272165636a739e72b48bd9df738117dfe62b04& [03:15:10] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1565202302422229003/Screenshot_788.png?ex=6ae40bbc&is=6ae2ba3c&hm=b821c732454f58bf60a8efefb1af5866f8a6e9dc3193a7bd9885d1383867d61f& [03:15:11] does anyone know how to backup a wiki fully including the images? [03:15:39] something is being drunk,,,, [03:32:40] think i fixed it? [03:32:49] only time will tell. [03:33:20] hmm [03:33:27] i have no idea [03:53:13] finally. got it. [04:06:30] Tacos (for mexico) [05:26:23] <18.748.837.46, replying to highpriestessborschitca> not that specifically but my images are also now broken [08:54:05] Wikiteam has a tool [09:53:58] wikiteam3 have some tools [09:54:22] but if it's a miraheze wiki you can do it from Special:DataDump (but iirc image dumps need tech to do them) [10:13:17] Halo semua [10:13:23] Pada pada aktif semua nih [10:56:44] [1/2] "Austin" [10:56:44] [2/2] that one guy from Gardenscapes/Homescapes [10:57:15] lol ๐Ÿ˜ญ [11:05:28] had to spin up a dev environment of a wikifarm for something and I now have immensely more appreciation for tech team here, maintaining this shit is vile [11:11:44] what page? [11:12:03] [[backups]] [11:12:04] [11:17:14] [1/2] is there a way to stop visual editor from formatting block templates like this [11:17:14] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565323621788942336/image.png?ex=6ae47cb9&is=6ae32b39&hm=a3554c36e011d5a931a60e8699dee8aab99d32cc8382fdf3d2161a2c606076f4& [11:17:23] [1/2] and instead format them like this instead [11:17:23] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565323661118799962/image.png?ex=6ae47cc3&is=6ae32b43&hm=8c46d00d836c8ed37e936851f26e5af3b3d8b2a4172d7522581ab959e4468e2c& [11:18:36] if the template is using TemplateData then you can change the formatting [11:18:38] would the only fix just be making a custom javascript to cleanup the formatting if it detects VE is used for a block template [11:19:14] would i have to set formatting to custom and create it from there? [11:19:21] yes [11:20:29] [1/2] is it possible to add our own option for formatting which automatically loads the desired format? [11:20:29] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565324438583644230/image.png?ex=6ae47d7c&is=6ae32bfc&hm=7550da4282bfd5db79481bf95b6add59364b34280743ac223908146ea499c486& [11:20:37] or just directly change how block works itself? [11:20:47] or would we just have to copy and paste formatting into custom every time [11:26:20] it's much easier to edit from the actual "Edit template data" button [11:27:05] because then you can just press "custom" and it automatically fills in the default block formatting [11:32:39] [1/2] as in this would still require it to be filled out every time, i was wondering i there was any way to just add our own 'preloaded' formatting option [11:32:39] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565327499779510372/image.png?ex=6ae48056&is=6ae32ed6&hm=aec7e8ea23654f616c3cb2f4e050722ed399a4cb3270cb1fb4c5e2925b45b529& [11:34:44] I don't think there is a better way of doing it. TemplateData is quite useful but it still leaves a lot to be desired [12:59:59] Hmmmm what would happen if I sent a message in #scambot-central hmmmmmm [13:00:10] don't [13:00:19] I know [13:00:24] It would be funny though [13:04:16] you get kicked [13:04:22] and you get your messages deleted [13:09:19] Yeah I tried doing a funny bit with it in another server but the message deletion kind of ruined it. Not really worth it [13:41:54] hi [13:42:07] guess who kinda forgot they were doing wiki practices [13:42:10] erm [13:52:44] [1/2] yay [13:52:45] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565362757648519270/image.png?ex=6ae4a12c&is=6ae34fac&hm=d89376f9948d18b94a00898fbf2b41697cd9896ec6bae0c3943d2a285a657fb0& [14:45:23] https://cdn.discordapp.com/attachments/407537962553966603/1565376005697179819/d27e9f2b8594499e06b8fe46e3db30bf.jpg?ex=6ae4ad83&is=6ae35c03&hm=6da02b70e6d9564c358aa5252c0e10565f65820839a4ce832bd8d5d7d137298c& [15:06:44] [1/3] on a wiki I admin, for the past month and a half, after recurring issues with misinformation, we decided to add an abuse filter asking people to cite their sources when adding new pages. This is a wiki about real life seals so supposedly all the information does have to come from somewhere. I collected the results of the experiment here, and if you have any ideas of how to improve it [15:06:44] [2/3] or whether it should be used at all, I'd appreciate your input [15:06:44] [3/3] [15:20:41] If you have the proportion of pages that were created uncited in the month before this was brought in and also in the last month of the test, it's a fairly simple process to work out if the change had a statistically significant effect. [15:25:47] that's a good idea, I'll have to look through the pages from before I implemented and compare [15:25:50] thanks! [15:32:54] not considering stats but just looking at the abuse filter itself it seems reasonable [15:38:51] I appreciate the input thank you! Never really sure the best ways to use it and I try to be as conservative as possible with it [15:40:50] worth noting we do have a preload that if submitted unaltered is just over 1000 bytes, so a page with no actual info added will get hit since people should still have something to prove the seal's existence [16:36:47] Howdy. I have a question about what to do about this dude ban evading. We got this guy we banned, so we made a sock. checkuser proved he was a sock and that one got banned. Now we believe he has yet another sock. What is there to be done if he keeps making socks? [16:38:52] Is it possible to do an IP or mac address ban? [16:40:03] I know the capability exists, but I believe you'd need stewards or maybe global admins to do it [16:40:20] Can I just request it on the checkuser page? [16:41:03] I don't know the answer to that [16:41:22] that response was funny as hell [16:41:35] ? [16:45:15] [1/2] it tickled my humour [16:45:16] [2/2] reminds me of camp [16:46:28] Cant you ip ban locally on your wiki [16:46:51] Im pretty sure you dont need anything from mh for that [16:49:28] We don't have that permission. [16:50:54] I mean if you were editing without an account we can ban your specific IP because it's exposed. However, when we're banning accounts, it doesn't let us ban the underlying IP. [16:58:45] This issue was on every page. It was as if the gallery couldn't find any images at all. For every image, it displayed an embed code along with a message stating that the file with that specific name could not be found. After refreshing the page a few times, everything started working fine. Itโ€™s still working fine for now [17:28:09] request for CU can salt him again if the range dispersal has consistency [17:29:23] it is occasionally the case the consistency just is not there and presently our capability to properly geoblock or mac block is nonexistent, so in consequence the next step is to either address the patterns of their sockpuppetry with abusefilter, or alter the setup to minimize any damage and make the distance between alt creation and termination minimal [17:32:37] @raidarr Hey asking since I got my request approved, how can I just cleanly reset the wiki back to a starting state? Would just like to start over with this one. [17:37:21] that will be a [[phorge]] ask [17:37:22] [17:38:39] gotcha [17:39:50] Blocking the user does have an option to block the IP for a day, but not particularly effective if they just create an account elsewhere and stop by. ๐Ÿ™ Like Raidarr indicated, feel free to report on [[SR/CU]] and we'll do what we can to put an end to it. [17:39:51] [17:41:30] Ah, I see you already updated the original request, I'll put it back to in progress [17:43:48] I assume I go to maniphest and create a task? [17:51:45] thank you. [17:55:00] [1/3] @jenny_on_wiki for the last hour, Iโ€™ve been editing an article and inserting an image gallery. Most of the images arenโ€™t even loading. Instead, I just see their filenames. When I click on a filename, the system prompts me to download a file that has ALREADY been uploaded to the gallery. Itโ€™s confusing that some images display correctly, while others appear with a pref [17:55:00] [2/3] ix like "File:File:ImageName.jpg". Yes, file twice. Furthermore, when I select a license during file upload, the license field simply disappears if I reopen the file to make further edits (for example, to add a category) [17:55:00] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1565423722880565338/image.png?ex=6ae4d9f3&is=6ae38873&hm=92f11922083a9f48eb63435d0375d5ccc093a7ac2031d73b8171c6fa9b664308& [17:59:32] [1/2] I suspect that the recent MediaWiki update has somehow affected the system for translating terms into other languages, which is causing these errors. I do all my editing via the visual editor and almost never open the source code view; as a result, everything in the code is written in my system language. Since the update, Iโ€™ve run into issues with all the templates an [17:59:32] [2/2] d modules that handle images and their data. I had to change all the terms to English โ€” otherwise, nothing would work. Fortunately, itโ€™s a bit hit-or-miss: in some places, things work fine, while in others, the modules break and require me to rename them to work [18:01:35] I thought I fixed this yesterday, but it appears it did not work. I will look more into this today. [18:02:40] Thank you ๐Ÿ™‚ [18:07:11] No problem, and for the record this was actually an issue caused by me during my current to improve our performance and uptime. [18:09:02] [1/2] who is techmartin_56829 and why is he listed in general Permissions ๐Ÿ˜ญ [18:09:03] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565427257768546304/image.png?ex=6ae4dd3e&is=6ae38bbe&hm=eb6e83eeccc024f919ecbbc1c017faf0b63d77333b59270ea43ca394f1cd2c57& [18:26:57] [1/3] Is Miraheze okay? [18:26:57] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1565431764221042779/image0.jpg?ex=6ae4e170&is=6ae38ff0&hm=766f548a09a5663e30f94e9ff456b6c9152573a8a9bcff087f29fc4d8c3a764b& [18:26:58] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1565431764774817985/Screenshot_20261029_192434_Gmail.jpg?ex=6ae4e171&is=6ae38ff1&hm=955a17f88b65e25548a9172154411e05bda244728f9fc15eb8407eb109f08164& [18:27:34] It said someone left a message. But nothing's there. [18:28:09] did you check history? they could've deleted it [18:28:18] or been reverted for spam or something [18:30:32] [1/3] Ah I see. [18:30:32] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1565432662179586108/Screenshot_20261029_192931_Firefox.jpg?ex=6ae4e246&is=6ae390c6&hm=b8af7a6bc5fadcfbdeb9ea391a35c3c6f224b1b10edeaae9553a85553613e526& [18:30:32] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1565432662901137459/Screenshot_20261029_193004_Firefox.jpg?ex=6ae4e247&is=6ae390c7&hm=969a776b1bf32454f7f44bd228ed18df3ae0c53d23a86a969a3b2beece4294e9& [18:30:33] Was spam. [18:30:44] Was spam. [18:32:07] https://cdn.discordapp.com/attachments/407537962553966603/1565433053147308149/Screenshot_20261029_193152_Firefox.jpg?ex=6ae4e2a4&is=6ae39124&hm=0d76e4255f24bd5fa72ad3674fba49570c19e32c080eeacccbcd393ffc4f81ce& [18:32:25] bro went in alphabetical order [18:33:24] Wait yeah? [18:33:49] Because I have an asterisk at the start of my username. [19:25:43] Our apologies, this is a known platform-banned individual that decided to come in and start bothering everyone alphabetically today [20:18:32] Made one, time to wait [20:18:48] Goog Evegning chat [20:48:50] [1/2] well not like I wanted to view my preferences anyways [20:48:51] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565467472440852640/image.png?ex=6ae502b2&is=6ae3b132&hm=81deea584e779bc7753c863856171f92c3fa56ac4d688a035ae32d7a0a93c855& [20:51:55] -# fixed itself [21:11:07] [1/2] This is the error that haunts my nightmares [21:11:07] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565473075179561090/image.png?ex=6ae507ea&is=6ae3b66a&hm=bfe42011eda0ecb26f5fc7f8cb08cd31ab2ffbda293011a8ea8f441a933a1fdd& [21:11:14] Can't do anything fun with it on watch lmao [21:14:48] just don't try to modify the table lol [21:16:24] Annoyingly easier said than done for my purposes. I think it hates me, personally [21:16:49] I'll find a work around, I've had to on like 4 seperate occasions lmao [21:16:58] what is the module you're working on? [21:17:18] https://cdn.discordapp.com/attachments/972727958873722884/1529657511773339688/caption.gif [21:17:29] #Skye's Catgif Emporium [21:19:16] [1/2] On the SpaceworldMons wiki, jumping between Module:Pokemon/Evolutions, and Module:Pokemon/SpeciesJSONIdentifier. [21:19:16] [2/2] Things are in a more broken state than normal as I'm taking a frustration break but, basically on the JSONIdentifier side, I'm trying to add the evolutions additions from AdditionsData into OutputData, rather than just replacing em [21:19:54] The entire point of that OutputData table was to create a new table off the values from loaded jsons, so I could modify it [21:20:07] could you link pls [21:20:08] But I guess because the evolutions table came from a json initially, it no like [21:20:17] Yeah one sec, just not at my laptop [21:21:11] [1/2] https://spaceworldmons.miraheze.org/wiki/Module:Pokemon/Evolutions [21:21:12] [2/2] https://spaceworldmons.miraheze.org/wiki/Module:Pokemon/SpeciesJSONIdentifier [21:22:42] Please forgive the inevitable, inexperienced lua coder messes that you will see- [21:23:03] Been trying to clean things up as I learn more but I'm absolutely not an expert [21:28:52] [1/2] okay so with this isn't creating any new objects, it's just copying over the old read-only stuff [21:28:52] [2/2] tbh if you have no reason to use `loadJsonData`, you could replace `mw.loadJsonData(...)` with `mw.text.jsonDecode(mw.title.new(...):getContent())` [21:29:27] but I don't really know why you need to modify the table in the first place [21:32:23] [1/2] In this context, being a cobblemon addon, I need to add entries from an addition files evolution data to the data that gets returned when something calls this module. Replacing the evolution data entirely works fine, but adding to it does not. [21:32:23] [2/2] For the example I was testing, the Pokemon Eevee, getting it's default evolutions, or just getting the one that's added by this addon are both easy. But I need both returned in that same outputTable [21:33:10] [1/2] Had my hopes up before that strikethrough lol [21:33:10] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565478625502044310/image.png?ex=6ae50d15&is=6ae3bb95&hm=ba720f16356540a548abbfdd07da5d5525368ad4358b21c398204584942011cd& [21:33:30] it would work but I think it's probably a bad solution [21:33:36] Valid [21:34:08] I still don't see why you need to add to the table [21:34:19] Back when `mw.loadJsonData` didn't exist it was what everyone used. `mw.text.jsonDecode(mw.title.new(...):getContent())` is slower but still works. [21:34:25] if you're just invoking it you only need one thing [21:35:35] I wish I knew how to explain why I'm setting it up like this better [21:36:07] The name of, SpeciesJSONIdentifier isn't even accurate anymore [21:36:26] It's more of, a module to return all applicable data for whatever species is given [21:36:56] So by calling that module from another module, you can now access a table of all the species' data formatted in the way cobblemon is [21:37:13] From there you can grab what you need depending on the focus of the module [21:37:37] yeah but then why are you also `#invoke`ing that function if it's meant to be called from another module [21:37:49] Testing purposes solely [21:38:36] Testing it on one page in way that doesn't like, cause litterally everything else to explode when I'm focusing on some data only relevant to a specific thing [21:39:01] you can do `mw.logObject(p.main(...))` in the debug console [21:39:01] Thats part of what I meant when I said things are still in a "I took a break from testing" state [21:40:17] Is there documentation on this anywhere so I can look at that [21:40:28] would it be faster or slower than `mw.text.jsonDecode(mw.text.jsonEncode(mw.loadJsonData(...)))` [21:40:57] [1/2] it's just at the bottom of the page when editing [21:40:58] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1565480587282612408/image.png?ex=6ae50ee9&is=6ae3bd69&hm=de974c4f9717074aad4f0cb7c7fb3febea27f4ad5e1eb26692c1adc4406286b5& [21:42:48] Very glad to know how I'm supposed to be using that now, okay [21:43:00] That's gonna make my life substantially easier- [21:43:48] Realistically, how much would the difference in speed be? [21:44:26] Things going just a little bit slower in exchange for being able to actually work with the tables I'm grabbing feels like a small price on my own end [21:55:53] [1/4] Hi! [21:55:54] [2/4] I'm seeing this being deployed over several wikias, is it panned to be added for Cite extension already? [21:55:54] [3/4] https://www.mediawiki.org/wiki/Help:Cite#Citing_different_parts_of_the_same_source [21:55:54] [4/4] For better visibility, should I make a request on Phorge and if yes, what would be the best form to do it? [21:57:58] not sure, but for now your best bet is probably to try the `:getContent()` one and then if that's too slow investigate further [21:58:27] Sounds good then. Thank you so much for the help! [22:01:04] [1/2] Already added to Cite via `wgCiteSubReferencing`. The main question is whether our version is up-to-date enough to have it. [22:01:04] [2/2] "Wikias" is quite an interesting word to use here. [22:01:56] Wikis would be better, I guess I'm a little tired ๐Ÿ˜… [22:02:14] Thank you! I guess I'll check then ^^ [22:04:10] [1/2] Per https://github.com/wikimedia/mediawiki-extensions-Cite/commit/2d9ff94e0a5218fa909e50675f09ca6ef65b6405 this configuration has existed for more than a year, so if you want you can submit a [[Phorge]] task to enable it. We can't make promises about how well it works since all the bug fixes are happening on WMF wikis which are months ahead of us in develo [22:04:10] [2/2] pment. [22:04:10] [22:10:26] I guess I'll know if it's working well by trying, but it'll be interesting nonetheless, thank you! [22:28:31] for Renderblocking, does the skin name have to be capitalized properly, full lowercase, or does it not matter [22:30:06] nvm [23:11:35] Can someone ping me here when my import request is done? Would like to know quickly without having to check phorge frequently