[01:39:00] <.guardianx.> [1/17] @blankeclair Sorry to RNG ping, would there be another way to store variables in a longer term solution? [01:39:00] <.guardianx.> [2/17] this is what I'm working with: [01:39:00] <.guardianx.> [3/17] https://ecopedia.miraheze.org/wiki/Module:QuestRewards [01:39:01] <.guardianx.> [4/17] this is a test page I made for messing with it: [01:39:01] <.guardianx.> [5/17] https://ecopedia.miraheze.org/wiki/A_testy_questy [01:39:01] <.guardianx.> [6/17] My goal for this was to make it so that users could just do a simple edit: [01:39:02] <.guardianx.> [7/17] ``` [01:39:02] <.guardianx.> [8/17] {{Reward | [01:39:02] <.guardianx.> [9/17] ;1 [01:39:02] <.guardianx.> [10/17] ;300 [01:39:03] <.guardianx.> [11/17] ;70 [01:39:03] <.guardianx.> [12/17] ;13 [01:39:04] <.guardianx.> [13/17] ;12345 [01:39:04] <.guardianx.> [14/17] ;Greatsword Test [01:39:05] <.guardianx.> [15/17] }} [01:39:05] <.guardianx.> [16/17] ``` [01:39:06] <.guardianx.> [17/17] and add things like coin rewards (it will take the high end and low end and toss the rest) and multiple item rewards. [01:40:42] <.guardianx.> I'm planning on tying in SMW for items so users can seamlessly get an idea of what drops, for example, cotton for crafting. [03:18:05] is it possible for wikis to have different article paths like /en/ or /de/ or /fr/ for different languages [03:41:39] > [09/05/2025 11:39] <.guardianx.> [1/17] @blankeclair Sorry to RNG ping, would there be another way to store variables in a longer term solution? [03:41:51] .guardianx.: perhaps you can pass the rewards as arguments to QuestRewards? [03:42:02] honestly, i'm not sure about the best solution tbh [03:42:36] the rainverse wiki has duplicate source links on comic pages (e.g. https://rainverse.wiki/wiki/Rain:1:_Prologue_1), and idk how to deduplicate them non-messily [05:41:44] does anyone have a miraheze version of this? [05:41:44] https://dev.fandom.com/wiki/Tooltips [06:03:55] errrr no [06:03:59] you can just use its code [06:04:05] [1/2] https://dev.fandom.com/wiki/MediaWiki:Tooltips.js [06:04:05] [2/2] https://dev.fandom.com/wiki/MediaWiki:Tooltips.css [06:05:22] i tried that and it doesnt work 💔 [06:05:35] wdym... [06:05:44] unless putting it in user.js breaks it somehow [06:05:48] huh [06:06:30] i put it in my user styles and it doesnt work [06:07:06] https://cdn.discordapp.com/attachments/407537962553966603/1370280904181944492/image.png?ex=681eed0a&is=681d9b8a&hm=5f09191ad64228b35ced5b57ba81e97960944bb941103a04ed100944b298a09e& [06:07:43] 😭 [06:08:01] [1/2] why doesnt mine do that [06:08:01] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1370281133853507635/image.png?ex=681eed40&is=681d9bc0&hm=9e9eb7f0536e50dc3c7ba6c32ef8601a7e046ee8380762652dd21eed57d5adf0& [06:08:10] im using inspect element [06:08:16] im not actually adding it to my wiki [06:09:36] im just gunna use one of the modifed verisons i saw [06:27:27] [1/2] this is very sad [06:27:27] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1370286024328220682/image.png?ex=681ef1ce&is=681da04e&hm=fc564151f13d79d32c4517cd461c046e2e7f9b7c889ebe2d0501d9ecf1524fbe& [06:30:23] it seems to just end the table early [06:32:17] and the tooltip content just doesnt [07:17:13] Is querying cargo tables a particularly expensive function? [07:18:36] I was thinking of doing so for a template that is expected to be used in a page as frequently as links themselves, but I'm not sure how this would impact performance [09:06:59] is it possible to add custom preferences [09:11:23] if it's not too big, then it can go in LocalWiki, yeah [09:11:29] what does it do though [09:12:00] i wanted to try adding like a font setting on my wiki [09:12:10] like source sans, sans serif, etc [09:12:29] oh hmm [09:12:40] sounds feasible to make, but you need somebody to make it ^^; [09:22:51] whats localwiki by the way [09:23:12] a file in miraheze configs that stores complex per-wiki configuration [09:23:20] simple ones go in LocalSettings [09:23:36] oh [09:23:42] is it complicated [09:30:06] 99% sure that it'll be more complicated than a one-line change [09:30:21] i'm gonna wager an optimistic guess that adding a new config option would be like ~5 lines [09:30:23] 😵 [09:30:34] hopefully it's not too bad, i haven't looked into it [10:22:39] My template has the Category "pages with script errors" is there an error log somewhere? [10:24:10] From what I acn tell the template does exactly what i want it to, but that category is annoying, i dont want to just hide it [15:02:50] <.guardianx.> [1/2] I checked out parsoid and whatnot and I'm running my profile under the settings for: [15:02:50] <.guardianx.> [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1370415724698406922/image.png?ex=681f6a99&is=681e1919&hm=7f5fa1aafc9a9188c94878c42f71ae538d3abb88b3f6ec7b631808a649f2fed8& [15:03:34] <.guardianx.> is it a running joke that eventually this is going to be the parsing extension / app / utility that everyone uses? [15:03:45] <.guardianx.> there are so many issues as I look around with this on [15:04:13] <.guardianx.> like SMW is going to break almost entirely it seems. [15:35:20] @snowstacked why are you called import now [15:45:40] meme reasons for the irwa discord [16:12:46] Is anyone else having trouble with their wiki logo with timeless theme? I know that I got the right file name because my logo appears like once every 50 refreshes but most of the time my logo is missing. I thought maybe I just needed to wait but its been days now and it just doesn’t show up on any of my devices [16:14:52] is the css defined in common.css? [16:22:32] Where do I check that? [16:25:26] there is separate logo setting for Timeless as for recent, scroll down the styling tab a bit [16:25:48] and it accepts just filename, not raw file link [16:41:03] That’s where I put it, in $wgTimelessWordmark [16:42:01] [1/2] wordmark is another thing, where name of the wiki at the top/banner stripe [16:42:02] [2/2] try to type in small search bar "logo" [16:44:06] Oops sorry I mean logo, I did put it in logo [16:45:32] I typed /WikilogoSannhet.png which is the exact file name. Tried it both with and without the /