[00:04:09] Let BucketGet return the empty string if nothing is found, and then `{{#if: {{#invoke:Bucket|...}} | 1 | 0 }}` [00:07:08] Yes thats what i was planning, though it returns "No Result" [00:07:33] Im pretty sure i can easily change this but was just making sure there wasnt an easier/built in way [00:08:37] Sadly no. You also can't can't let it return the number of rows easily without resorting to group by magic, which is also something I find too complicated to support. [00:11:24] All good, the way you can currently do it is simple enough and im sure prevents a lot of bloat [00:30:14] I mean if it returns that you can just use an ifeq? [00:30:50] yeah thats another thing i was thinking [06:20:21] [1/2] Hello friends! Quick question - is there a way to create info-boxes at the right side of articles? Barcelona's wikipedia page, for reference. [06:20:22] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1518863264988004382/image.png?ex=6a3b7725&is=6a3a25a5&hm=822dcc8f5b9c5f23e5661931a89bc0eed26f1333232fdffc1ed0f5338820aa5c& [06:20:52] They have such things as districts, government type/body/mayor, population, demonyms, etc. [06:26:29] [[Help:Infoboxes]] [06:26:37] [06:27:28] Excellent, thank you so much! [06:46:24] is there a way to make gadget work when editing when it is restricted to as specific category? [06:49:08] `actions=edit,view` in your gadget definition? [06:49:16] Idk how that works with the category though [06:49:30] uhh let me test it will be back [06:50:06] Sometimes gadgets will also fail to load on edit pages due to missing `mw.hook('wikipage.content')` [06:51:08] TBH I think missing the mw.hook statement is probably the reason, not the `actions` bit [06:53:34] this gadget thing just came to mind randomly cuz some time in the past we had a css only gadget and by restricting it to a category it only worked when viewing the page and not when editing. [06:56:56] yep still don't work [06:57:42] [1/3] trying to edit and previewing https://casualtiesunknown.miraheze.org/wiki/12-Gauge_buckshot [06:57:43] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1518872664217878629/image.png?ex=6a3b7fe6&is=6a3a2e66&hm=ab1aea7e89c170eed6a60bd259560056694c9bdd3e360c856ed537ce1e3a40f4& [06:57:43] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1518872664616341606/image.png?ex=6a3b7fe6&is=6a3a2e66&hm=d23f6185e1b18a327cb22e46a965b8909c41a5ca6397b4753366b4384c17f0b9& [07:03:55] https://discord.com/channels/407504499280707585/407537962553966603/1518871009350909994 [07:04:13] this is a css only gadget [07:05:33] [1/2] Working fine on my end? [07:05:34] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1518874639546187836/image.png?ex=6a3b81bd&is=6a3a303d&hm=c277bb0ca6a2d27f18800ad9cf8971a72a6377298f87f183cc0199a6647f581f& [07:07:29] [1/2] 🤔 [07:07:30] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1518875125280149615/image.png?ex=6a3b8231&is=6a3a30b1&hm=e1f48e5dd9b568909b1e1cb098439ef1825415c3df340d0c0d414cdbf99256dd& [07:10:29] Have you tried a different browser? [07:10:38] The usual things to rule out ResourceLoader cache [07:12:48] yeah getting the same thing in firefox [07:13:43] Add `submit` [07:13:54] other people reporting it looks okay to them, one other person also reports broken styles [07:14:43] [1/2] it's implicit [07:14:43] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1518876942189985792/image.png?ex=6a3b83e2&is=6a3a3262&hm=e5abdc89ef5a453a3d3196ca6b7803271b02b4aa2e00151d9346308bab77c89d& [07:15:11] [1/2] I'm not sure then. Could also be some Cloudflare cache nonsense if you don't see this in the network tab. [07:15:12] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1518877063099187220/image.png?ex=6a3b83ff&is=6a3a327f&hm=9dbadacf3b2b8be6e7f2cea6c42cf17972cf1a429e3bffd56b912a7c23b26f78& [07:16:22] no druid in the network tab [07:16:44] ig we can wait and see. thank you [07:18:57] [1/2] btw is there a way to fix this initial blink on page load? there's also recipe boxes below in the vid that take a while to load (throttled connection), but they are just a regular gadget, same as the druid gadget but they don't load as fast for some reason. [07:18:57] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1518878010546061402/2026-06-23_17-10-06.mp4?ex=6a3b84e1&is=6a3a3361&hm=3780897f3f0cc6441c2efe43dc7e4cdd39a016193036d2f5cb8916ea6895f85d& [07:21:40] [1/2] Check if it's listed in RLPAGEMODULES on your `` [07:21:41] [2/2] https://issue-tracker.miraheze.org/T15395 [07:30:59] it is not. purging/null editing/hard reload did not help [07:36:32] RLPAGEMODULES in your HTML controls what modules are loaded, I.e. it's the previous step before loading from a network request [07:40:48] oh, yeah. so it's missing in there [07:42:15] update: it is working now [07:42:18] so it WAS a cache issue [08:48:59] Okay, so - I've got the Portable Infobox builder, and I can _kinda_ get it working, BUT I'm not sure how to change things from {{{data1}}} and suchlike. It won't show any of the labels I created, presumably because they're trying to show blank data. [08:49:34] (I also now have multiple depreciated pages because I don't know how to delete them, and the portable infobox builder requires a new page for each box :sobbing: ) [09:35:38] Okay, I managed to get the infobox working, sorta, but now beneath the image it just has a large "Header" that I can't seem to change. [09:35:59] [1/2] Picture related: [09:35:59] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1518912494394019850/image.png?ex=6a3ba4fe&is=6a3a537e&hm=270f1734644ae7ff3e68cb3c702709a1cc1f370c50961f4fdfdfd9743e7bc121& [09:40:10] #verify to send links, then send a link to your code; it'll be easier to tell what's wrong that way [09:41:39] Do you mean a link to the wiki page? Or a direct link to the "Edit Source" bit? [09:41:53] a link to the template [09:42:14] though a link to the wiki page will work too [09:42:32] [1/2] [09:42:32] [2/2] [09:43:45] I was hoping to use that one infobox for each of the 9 continents and just plug in the info manually (also, should be called 'continentinfobox' but I can change that easy enough) [09:44:52] do you want to remove the header or to be able to edit it? [09:45:34] Preferably I'd like to be able to edit it with a description like "[x] continent outlined in red" [09:46:01] Like a miniature description of the image, beneath it, like Wikipedia does [09:49:14] Although if that's not possible I'm fine with just removing it too [10:02:44] [1/2] Sorry, I'm not super familiar with portable infobox templates, but assuming it works the same as any other template, in the infobox template, you should be able to replace the `Header` in `
Header/header` with `{{{header|}}} continent outlined in red` (if the latter text is always going to be the same). or if the page name is always going to be the continent `{{PAGENAME}} con [10:02:44] [2/2] tinent outlined in red` will do, and you won't need to add an additional parameter [10:05:28] I see! I can just put {{{header|}}} and that works ^^ Thank you! [10:06:40] That way I can use `|header` normally and type a description. Works a charm! Thank you again. 😄 [10:11:30] you're welcome! but yeah that's the usual way to add parameters to templates {{{name|}}}. though the portable infobox seems to do something a bit fancier with its labels and such, so i had to double-check that it's still about to take normal parameters haha 😅 [11:28:42] on bc wiki we use for that [11:47:27] @mods could you actually publish the things you post in #announcements , it doesn't really make sense for it to be an announcement channel otherwise :sideeyecorgi: [11:48:17] dont they already do that [11:48:34] https://cdn.discordapp.com/attachments/407537962553966603/1518945863978975312/image.png?ex=6a3bc412&is=6a3a7292&hm=89297b351a785bde8d4ced23f283789305ad0a56b32cd4e3e69e3aa76b272061& [11:51:07] :sideeyecorgi: [11:53:58] apparently it straight up doesn't work if the channel that follows an announcement channel is an announcement channel itself [11:54:10] magnificent programming, discord [12:59:02] I should use infoboxes sometime soon [12:59:36] I create a table that acts like one [13:11:32] Infoboxes are basically anything you want them to be. [14:30:55] How big/deatiled do you prefer infoboxes to be? I prefer small/basic boxes [15:33:42] [1/4] niggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggernig [15:33:43] [2/4] gerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggernigger [15:33:43] [3/4] niggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggernig [15:33:43] [4/4] gerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggernigger [15:33:43] @felippee0652_44546 Watch your language. [15:33:44] [1/4] niggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggernig [15:33:44] [2/4] gerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggernigger [15:33:44] [3/4] niggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggernig [15:33:45] [4/4] gerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggernigger [15:33:45] @felippee0652_44546 Watch your language. [15:33:45] [1/4] niggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggernig [15:33:46] [2/4] gerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggernigger [15:33:46] [3/4] niggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggernig [15:33:47] [4/4] gerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggerniggernigger [15:34:04] uh [15:34:05] @Discord Moderators [15:34:29] automod got them too lmao [15:35:15] Qq: It seems like `MediaWiki:Anonnotice` doesn't show up on the main page of a wiki, but will show up on every other page. Is this intentional? The content doesn't even appear in the DOM on the main page [15:35:37] Skin is Vector-2022 and also happens with `MediaWiki:Sitenotice` (when annonotice is set to `-`) [15:36:34] https://cdn.discordapp.com/attachments/407537962553966603/1519003241029959782/image.png?ex=6a3bf982&is=6a3aa802&hm=18afbe7a59066a414ef01592d0778933a47f4414a03a7ed7b5b1fff57a8dbc91& [15:37:24] versus [15:37:25] https://cdn.discordapp.com/attachments/407537962553966603/1519003455266750495/image.png?ex=6a3bf9b5&is=6a3aa835&hm=c51566a3295161f4e378f1f4aea9ef6a4085ed98121690ab986851749d0fcb48& [15:39:08] #unrelated ur wiki is so pretty [15:40:57] (thank u!!) [15:41:46] does it show up with ?debug=2 [15:41:51] if yes i have a wonderful link for you [15:42:43] 🫩 hoisted by my own css petard it seems, yes it does [15:42:58] If the solution is purge I'm going to McLose it [15:43:52] https://shouldiblamecach.ing/ [15:44:07] :screaming: :moonch: a:waaa: [15:45:11] Thank you skye 😂 I didn't realize sitenotice needed cache purge since it appeared everywhere else!! augh [15:46:00] Also is anyone ELSE having the issue where MS Edge is being treated as dark mode by wikis, even when pref is set to light in the browser [15:46:05] interface (css/js and you wouldnt usually think of sitenotices but them too) get cached for a while so yeah [15:46:16] wtf is edge cooking [15:46:23] Edge is NOT cooking, edge is being cooked [15:46:46] I'm not too worried about it it's just my designated light mode testing browser so I'm 🤨 [15:47:08] ... hang on let me test other chromium browsers, firefox works fine but [15:47:53] oh okay yeah it's just edge phew [16:41:15] In case folks were wondering why not EVERY announcement gets published: [16:41:16] https://cdn.discordapp.com/attachments/407537962553966603/1519019521640501399/image.png?ex=6a3c08ab&is=6a3ab72b&hm=405d5fa5fa2bd4f0d7879e48a523a9f5e96cecf2d171fa983c47b00cf460fe14& [17:13:10] (Got a whole secret channel full of this rules guidance just for the announcements channel) [18:11:16] [1/3] does anyone know what the element for these little gray bars are? [18:11:17] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1519042172341456976/image.png?ex=6a3c1dc4&is=6a3acc44&hm=8b90f5663e428114c97ad6ced4d7c734a719fe23692b17bbc4129949b0dbace1& [18:11:17] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1519042172803088444/image.png?ex=6a3c1dc4&is=6a3acc44&hm=02ac31397f6d3fc7457d09b599c50e74b269bc2996107614465bf232b073f08d& [18:13:49] `.portable-infobox .pi-border-color` (used with variable `--pi-border-color`) [18:14:08] Thanks (I forgot to clarify it was PI oops) [18:25:57] No worries! ur good [18:26:03] I scoped out equestripedia [18:40:19] [1/3] is there any way to bypass cascading protection on pages? [18:40:19] [2/3] say i have a template i use on the main page, but the main page has cascading protection [18:40:19] [3/3] is there anyway i could force the template to be free for everyone to edit, instead of being protected? [18:44:36] turn off cascading protection [18:55:26] when the cascading protection is cascading [18:59:43] ok well i dont wanna go back and protect every page [19:04:01] Then you're out of luck unfortunately [20:44:18] [1/2] The infobox shown below isn't showing the correct image. [20:44:18] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1519080682809200690/miraheze_broken-infobox.png?ex=6a3c41a1&is=6a3af021&hm=0b54a3201dac5974371157af052261f9d72d1680df593ca05f5e0761d0d53fdf& [20:44:24] How do I fix this? [20:46:43] It's supposed to use this image, by the way: https://ttce.miraheze.org/wiki/File:InfoboxW2.png [20:50:03] if you go to https://ttce.miraheze.org/wiki/Chill_Valley?action=edit and search for "InfoboxW2" nothing comes up [20:58:52] I meant the border image, not the image in the infobox itself. [21:06:40] [1/5] [21:06:41] [2/5] ```diff [21:06:41] [3/5] -.portable-infobox .pi-theme-Chill-Valley { [21:06:41] [4/5] +.portable-infobox.pi-theme-Chill-Valley { [21:06:42] [5/5] ``` [21:07:30] https://tenor.com/view/rage-mad-angry-meme-fantastic-gif-24971258 [21:12:35] It didn't work. [21:12:46] Maybe I have to wait for the wiki to register the change? [21:39:20] oh yeah, put `?debug=2` at the end of the url to see the changes immediately [21:57:15] -# oh hey I play that game where the wiki links too :0 [22:00:34] Oh and to answer this, I too enjoy basic infoboxes [22:00:55] Depends on what the wiki is covering [22:01:22] Equestripedia has pretty in depth character infoboxes because there’s a lot of dumb ultra specific things to catalogue on a per character basis [22:01:31] Mother wikis use much shorter ones [22:34:36] <8e9i> i wanna learn :stare: [22:36:08] what do you want to learn? [22:59:05] Could I learn how to make an infobox perhaps? [23:00:44] [[help:infoboxes]] [23:00:45] [23:00:49] thank you [23:08:09] What’s the default font size of vector? [23:10:07] bro i keep trying to get these wikis of games that i play to move to miraheze and no one is biting😭 [23:18:22] Finally starting to get somewhere on one wiki I’m on but the vast majority of bureaucrats refuse to communicate with anyone [23:18:27] It’s so annoying [23:49:07] its mostly a case of cba [23:49:28] cus the wikis ive asked are owned/ran by 1 person [23:49:51] with dev acknowledgement [23:51:52] [1/2] Like they dont know anything about mira, when i tell them they just say theyll look into it and nothing else. Or theyll say its too much effort when its not. [23:51:52] [2/2] Deadass wanna start ts myself and make it 10x better then their fandom one to prove a point then transfer ownership