[00:43:29] how would i make it so something is editable in two places at once [00:43:34] like two different pages [00:43:45] that share the same content [01:16:51] [1/2] Image download failed. You can always retry. If there aren't many of them, download manually. [01:16:52] [2/2] I suspect that this is indication of images being corrupted and no longer downloadable. [01:17:38] Use a template. Or use a JSON page with a JSON editor gadget. Or use Bucket which makes it editable on a single place. [01:31:51] are there any advantages to using the functions in here over what lua already has? [01:36:59] No. If you already know how to write Lua then it's easier to write a dedicated module yourself. [02:03:10] my wiki is just completely fucked because imfoboxes r glitched 🀣🀣🀣 [02:03:11] @needlemousee Watch your language. [02:03:14] stfu [02:10:13] then enable portable infobox [02:10:32] what type of infoboxes are you using [02:53:28] is there a way to preview an image in the moderation queue before approving or rejecting it? [04:44:59] it's late and i don't remember. what's the Sandbox link we can use to view mess around (usually without saving)? [06:15:03] :stare: [06:15:16] Where do i manage user group permission [06:20:51] It's on Special:ManageWiki/permissions [06:22:22] what do you mean [06:22:31] like in your user page? in a template? [06:38:20] Say if i change the edit and create page power of everyone, this wont affect other other user group that i specificaly grant this power right [06:39:31] If you've specifically granted a group a right, users in that group will have it [06:39:58] Mmmmm i see i see [06:55:40] Whats a content model of a page [07:02:41] See https://www.mediawiki.org/wiki/Help:ChangeContentModel [08:00:57] Love to see when a community for a game finds out about your wiki overnight and suddenly they all want to help out now lol [08:02:14] which wiki [08:03:41] pronoun palace wiki [08:03:44] it's a new game [08:47:46] wait i cant find it [08:48:22] [[mh:pronounpalace]] [08:48:23] [09:23:37] Hi, I’m getting a Bad Gateway error when trying to access my wiki, but I can access the link above just fine. Is Miraheze down or is it an issue on my end? [09:23:59] literally ignore this it just fixed itself 🫢🏼 [09:25:57] SAME [09:26:05] 😭 [09:28:48] oh yeah it started happening again to me [09:29:27] We know [09:29:40] Ask passport control to speed up and then I can look [09:31:22] <1024720274928697384> come on just uv it and let rhinos through, passport control :screaming: [09:32:27] Unfortunately it's a fairly long queue [09:32:54] <1024720274928697384> joys of tavel [09:34:39] ++same [09:34:50] <.labster> which gateway is more bad, miraheze 502 or passport control? [09:34:58] https://cdn.discordapp.com/attachments/407537962553966603/1516013136723837058/image.png?ex=6a3118c1&is=6a2fc741&hm=9f811937ff7bbadfd92ba8eb6f1d2cbe521c59b3a61bb9fd665833a7103f996f& [09:35:03] I would say passport control [09:35:09] We know [09:35:25] Please ask Belgian passport control to hurry up so I can debug from a departure lounge [09:35:36] okayy [09:36:21] <.labster> You wouldn't have had this difficulty is you had done a proper Brexit (i.e. remain) [09:36:31] force the servers to co-operate [09:37:26] <1024720274928697384, replying to rhinosf1> hey this competition is unfair, passport control isn't controlled by machines (yet) [09:37:59] I mean it literally is [09:38:04] Miraheze meta also down [09:38:17] What happened [09:38:20] theres a lot of errors happening here too [09:38:30] We do not need more reports of errors [09:38:40] Nothing is going to happen until someone is able to deal with it [09:38:50] good to know its not just us tho [09:39:32] It's going to be everyone at the moment [09:39:42] Might be intermittent though [09:41:23] <1024720274928697384> [1/2] if i can't help i might as well shitpost a little [09:41:23] <1024720274928697384> [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1516014751052861522/image.png?ex=6a311a42&is=6a2fc8c2&hm=15658ce4d35ab1524c616f05f506b4ab81c22bb7d3bf5cdc073e83314b776659& [09:41:43] not wrong [09:43:33] I ❀ Mirahaze [09:43:35] all modern infrastructure depends on jim's jam, which adds 2 numbers together. [09:50:59] Alest? [09:51:21] @uberlandrep. !? Alest!? [09:52:33] No way, who are you 😳 [09:52:57] Ceejay!🀩 [09:53:23] Go home πŸ™„ [09:53:39] Home...?🏠 [09:56:02] https://cdn.discordapp.com/attachments/407537962553966603/1516018432154402856/Qualesterra_Our_Home_Poster.jpg?ex=6a311db0&is=6a2fcc30&hm=23784a9476ac96e52cb39aa9d890c8e9bfd39812b8d5c1cb2054681f0bd0fea6& [09:56:34] Qualesterra! Btw, what's up with Qualesterra? Anything new? [09:57:42] i think y'all should scoot over to #offtopic or dms [09:58:09] https://cdn.discordapp.com/attachments/407537962553966603/1516018973307699321/image0.webp?ex=6a311e31&is=6a2fccb1&hm=daca3736d85e6ab3b0a891a06e325e8dff6b2fcd4b3c99ac92565a02f741e84f& [09:58:57] Let's exchange messages privately [09:59:38] [1/2] i was doing infobox [09:59:38] [2/2] what happened [10:01:19] Not a fucking clue [10:01:25] Is the honest answer [10:01:33] You can follow along in #tech [10:02:10] was that for the mods only [10:02:41] No, anyone can read there [10:02:53] Don't interrupt though unless you're really really going to be helpful [10:04:07] would it be fixed in an hour or so? [10:04:45] I'm glad it's just an outage. I was concerned Miraheze had really fallen off since the last time I used it lol [10:04:56] No idea [10:05:05] It might work in a few minutes [10:05:44] or might not for a few hours! (why must things go down 3:) [10:05:45] miraheze supreme [10:06:33] obviously with my return i decided to blow up a server on the way in, my bad [10:06:50] hey, atleast now I have an excuse to not work on the wiki :EpicFaceMH: [10:07:30] They got too excited to see you and stalled [10:09:02] you must use wikipedia instead [10:09:20] 😭 [10:09:34] WIKI DOWN IM HERE BARK BARK [10:09:55] I wrote like a couple thousand words rn [10:10:07] [1/2] i usually make like this so [10:10:07] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1516021982070833172/Untitled101_20260613204222.png?ex=6a3120fe&is=6a2fcf7e&hm=f4feabd7aa88a6147dcbd1ada31c80f349fd8e3abc2f3a8d264676533d9cf1ec& [10:11:24] my dragon just vanished fml [10:13:16] oh wiki [10:13:27] hooray!! [10:13:50] joys! [10:18:43] πŸ”₯ [10:29:12] how do u summon specific dragon types like in the manual? i try, and it just summoned a random isle of berk dragon [10:31:00] this isnt the discord for whatever game u need help for [10:31:15] this is the discord for the people that host the wiki for the game u need help for [10:31:49] "company" [10:32:08] see that word [10:32:36] rude! lol [11:36:12] I honestly had no idea what was going on until I saw the announcements a little too late. [11:58:42] why is my special:wantedpages always empty: [11:59:09] [1/2] How we can update ManageWiki so this changes are shown on a previous Miraheze wiki? [11:59:09] [2/2] https://discord.com/channels/407504499280707585/407504500136607745/1516048331166715945 [12:13:15] If you mean how to change them back if you don't want the new default, they should all be part of "Manage this wiki's additional settings" [12:14:04] I want the new default in this specific points but the wiki is old [12:16:56] Well if you didn't change the settings mentioned before it will be changed for you. If you did well chances are you changed them to the new default, as I believe most if not all are binary (ie. 2 choices only), but again you should be able to find them all in "Manage this wiki's additional settings" if you want to double check to be sure [12:29:57] can someone help me to put a logo of wiki? I can't figured it out [12:52:46] tbh for some binary things i once changed some of them and changed back after thorough test, and this time it keeps these for me instead of assigning the new default values [12:53:57] the only thing is `wgTabberNeueEnableAnimation` i really can't figure out what's the difference it's enabled or not, so i decide to use the default value before to avoid any readers seeing unexpected result [12:55:01] If enabled it shows a fancy sliding animation when you swap between tabs made with TabberNeue [12:55:17] it's been on but i've never seen that [12:56:12] maybe my hardware/browser doesn't support that? idk [12:56:38] Maybe, or maybe you got some other CSS that interferes with it or something [12:58:19] i'm quite sure when i was checking the RfF thread a few days ago, it was also like this on ptw [12:58:47] Possibly due to Citizen's performance mode? [12:59:24] citizen performance mode off [13:00:11] observing the same under vector-2022 [13:00:33] if i don't interpret it wrong, this is not fancy [13:17:30] I mean by "fancy" I just mean a sliding animation. with it off, the content just swaps immediately to the new tabs content [13:33:07] [1/2] https://cdn.discordapp.com/attachments/407537962553966603/1516073067489788005/image.jpg?ex=6a315092&is=6a2fff12&hm=34b7c01d278207750cfda36453c4c21c2310429ae82d873b3ea0ccdc24477315& [13:33:07] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1516073067892445275/image.jpg?ex=6a315092&is=6a2fff12&hm=6866502a6a56c74aecad69c2d71aaab49aaa5f2bf35097be81dac6ea8d614f8b& [13:33:41] @pskyechology Remove this guy's balls [13:34:10] i think consider using different words [13:38:41] veraciously consume his brain [13:38:53] :moonch: [14:18:04] I've got a xml dump to import, uncompressed at 53mb. But 7zip compressed to ~7mb. How do I move forward to have it imported on my wiki? [14:19:32] I mean, the form at mention a source url, what do I put there? It's the screwturn wiki? [14:20:54] where did you get the xml from [14:21:21] I imported the pages in a local instance of mediawiki. [14:21:52] I made sure the data was correct, didn't have errors from my scripts and so on. [14:22:30] Otherwise, I can shift you the raw text files, so you can do a importTextFiles πŸ™‚ [14:23:13] I can be clearer as to all the step taken if you wish so. [14:24:27] that's not what I asked [14:24:31] where are you migrating from [14:25:10] a screwturn wiki: [14:25:16] oh right [14:25:47] then you would put that as the source url even though it wouldn't really matter [14:26:01] It took some times, but it was worth a python script of 2k lines πŸ˜› [14:26:06] yippee [14:27:17] Mediawiki tends to localize the template namespace. I hope that won't be an issue. [14:28:20] not sure what you mean by that [14:28:59] `{{Template:Clear}}` would be localized as `{{ModΓ¨le:Clear}}` if the wiki is set to French. [14:29:23] It's a really weird design decision, if you ask me. [14:40:57] It should be fine [14:41:18] :pupCoffeeMH: [14:41:58] To give rights to a user, do they have to visit the wiki while logged in? [14:42:42] Yes [14:44:43] user page or general page. just a failsafe for edits just in case we save 'em too early [15:04:47] i apologize [15:51:51] [1/2] What does this mean exactly? [15:51:51] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1516107983250133183/image.png?ex=6a317117&is=6a301f97&hm=df788e48e94154d6436ab5793dcda1f0a108b470cf12ee210ce97f3704406857& [15:52:12] I already added the Module [16:01:49] If you've added a module by that name, use the purge action on the page and see what error you get after that [16:08:24] Oh it show now [16:08:27] Thanks a lot [16:24:02] [1/3] i cant seem to find a wikiteam3 solution and just keep getting this error message shot back at me (though I find it much too complex for an average joe such as myself & am probably missing something.) [16:24:02] [2/3] there are still about 50k images left to export from the Fandom wiki. [16:24:03] [3/3] does anyone know what my next path forward should be? [16:25:26] have you tried opening the image link on your browser? [16:26:53] [1/2] if you get something stupid like (see embed) then the image is borked and you have to manually remove it from the list [16:26:53] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1516116798226038965/image.png?ex=6a31794c&is=6a3027cc&hm=b275dc2fef6dc5faeb15f214590e43d4a82cc448dfaac5e95b77fd9a822dfb75& [16:27:10] YEP i got that exact thing [16:27:34] how do i manually get rid of it? [16:28:10] wikiteam3 generates a text file with all the images listed [16:28:19] just remove that line and resume it [16:28:30] #verify to send links btw [16:28:43] thank you [16:29:31] one other question - at the risk of sounding like a dumbass I tried playing around with image.py thinking it was an issue on that end (alas it was not). how do I revert image.py to the prio rrevision if ive saved the newest one? [16:30:40] [1/2] https://en.wikipedia.org/wiki/Wiki_hosting_service#Miraheze [16:30:40] [2/2] test [16:30:42] boom [16:31:12] what do you mean [16:32:02] have you been manually editing wikiteam3's script? why [16:32:03] https://cdn.discordapp.com/attachments/407537962553966603/1516118100431601874/image.png?ex=6a317a83&is=6a302903&hm=426f34ed546547ad9f248026f6981f12831ed61e8ba97e91cd05fa8d3e4317da& [16:32:39] Once the import process is set to "in progress", should I wait for it to complete before starting editing? [16:32:47] this shit is so foreign to me it might as well all be Arabic, I had no idea what was going to fix it [16:34:22] well i wouldn't go fixing arabaic [16:34:30] anyway, is there an easy way to revert the changes I made w/o uninstalling and reinstalling [16:34:42] no [16:34:55] is uninstalling and reinstalling going to reset my dump progress? [16:35:43] also no [16:36:16] since it reads stuff from whatever folder you were in [16:37:08] e.g if you ran the script in the folder `desktop` all the stuff would be in `desktop/examplewiki.com-date-wikidump` [16:37:27] noted noted & noted, thank you [17:07:47] Search shows that on private wikis, all images are proxied through image_auth.php (non-recommended config) to restrict access from non-members. Is there any way to allow some images through this configuration, say for the wiki landing page? [17:08:49] I checked the image_auth.php page and it's manual page, but there's no suggestion there for handling exceptions, or an exceptions list. [17:09:12] Yet I see there must be a way to do that bc it also links to an image through image_auth.php on that page. [17:10:07] (and i'm not signed in there) [17:15:12] can you change the color to dark gray on your wiki? [17:15:28] i tried to and it didnt change [17:16:58] You'll need to be more specific about what you're trying to change, where, and what exactly you tried @goatbaby6767 . [17:17:43] Screenshots are a great help to show where you mean. Links are better. [17:18:08] https://falloutbeyondcanon.miraheze.org/wiki/MediaWiki:Common.css [17:18:08] I have no problem changing my site colors, but I know how to modify the current skin's css. [17:18:23] [1/2] the code i used [17:18:24] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1516129762115059813/Screenshot_2026-06-15_at_1.17.46_PM.png?ex=6a31855f&is=6a3033df&hm=07ebf817f7a1d4ca5019218cfee1786ec84e73874b0b78933b9ca04a9528e787& [17:18:42] Okay, so a couple things to know first... [17:19:07] MediaWiki:Common.css affects all skins site-wide, so that might not be the right file for what you're trying to achieve. [17:19:28] Are you trying to change the entire background color of your current skin? [17:19:34] yes [17:19:48] Gotcha. So first thing is to determine what's your current default skin name. [17:19:58] One sec and I'll grab a link to show you where it shows that. [17:20:53] Okay, so in manage wiki, it shows it under additional settings, default skin. [17:20:56] https://cdn.discordapp.com/attachments/407537962553966603/1516130401276661770/image.png?ex=6a3185f8&is=6a303478&hm=d0ff447d7f8d0a15c82aca19e4188243cfd5ded0c754ae54cc9f1799e2c87e46& [17:21:17] `Special:ManageWiki/settings#mw-section-styling` [17:21:38] Looks like you've got one of the Vector default skins [17:22:17] Yes i do [17:22:23] Does it say which one? [17:22:27] ok im on the manage wiki page [17:22:31] I'm a little outdated bc I don't use vector [17:22:33] vector 2022 [17:22:50] Perfect, there's a page for the vector 2022 skin that gives advice on how to change its styles [17:22:52] That css should work, have you hard-refreshed and waited until cache renews? [17:22:57] I always prefer to go straight to the manual [17:23:10] As you're targeting the wrong container I see [17:23:19] It works, but it works to target the wrong part [17:24:07] They've managed to change the background a while back, in , I think they're just trying to swap from gray to dark gray now [17:24:28] yeah i have [17:24:28] Gotcha [17:24:29] also yes i did [17:24:38] ill try again tho [17:24:40] Yeah, I was just checking the manual page bc there's often snippets there already [17:24:42] https://www.mediawiki.org/wiki/Skin:Vector/2022 [17:24:47] how long should it be til cache renews? [17:24:54] But I'm not seeing obvious snipets on that page, yet, usually there's a link to snipets. [17:24:58] Does adding `debug=2` to the end of your url show the correct bg [17:25:50] Cache can take a while (up to 15 minutes for CSS) and you'll need to either CTRL+F5 or ALT+F5 as well [17:26:13] ahh alright [17:26:16] also no [17:26:22] ill wait and check back [17:26:27] thank you guys for your help [17:27:02] It may not want to recognize `darkgray`, try adding a hex code instead [17:27:25] Surprised their design page doesn't add snipets, lol. Oh well, give me a sec and I can help with targeting (if still needed by the time you guys are done). [17:28:32] trying right now [17:28:41] wiki is just being slow so ill be a second [17:28:59] make sure to preview ur css before u save [17:29:04] like clicking the preview changes button [17:29:12] are there specific hex codes that you have to use for miraheze or can i use any [17:29:15] gotcha [17:29:27] You can use any hex code [17:29:35] ok thanks [17:29:40] sorry im very new to all this [17:30:03] I got it! [17:30:57] Looks like there's a variable set that controls some color at a global level too. [17:31:16] [1/4] ```body { [17:31:17] [2/4] background-color: darkgray; [17:31:17] [3/4] color: var(--color-base,darkgray); [17:31:17] [4/4] }``` [17:31:20] i previewed it and it works [17:31:23] ahh thank you [17:31:37] https://cdn.discordapp.com/attachments/407537962553966603/1516133089460490240/image.png?ex=6a318878&is=6a3036f8&hm=2045b0887224cf618602a75d3da87ab6acdc2e7039e3e99a9b0c02e8cd0f35be& [17:31:50] So that gets the page body behind the container you've targeted. [17:33:19] But it seems like there should be an easier, global way to change things, instead of piece-meal elements. [17:34:16] Such as reassigning the variable colors, so they affect everywhere that variable is applied. [17:34:38] Otherwise, you could spend 6 months targeting page elements and still not get them all. [17:34:54] are you talking about the elements that are still white? [17:36:07] Yeah, they typically have a global variable color assigned to them. [17:36:29] Global variables allow CSS to set colors and give them a name that can then be reapplied in the styles of many elements. [17:37:21] So instead of setting and having to change a color in 400 places, the styles call the global variable color in those 400 places, and now you only need to change the global variable color (in some cases, not all, this can work). [17:37:41] 1 place to change, instead of 400 [17:39:15] so this should change everything to dark greay? [17:41:10] No, I was just testing. [17:41:22] And that's where I saw variables in use [17:41:28] ah i see [17:41:32] I'll swap to your other chat so we don't clog this one [17:41:50] ok thanks [17:43:06] [1/2] The actual documentation for CSS variables is very helpful and shows how to use them: [17:43:06] [2/2] You can define a placeholder hex code to a word like `theme-accent` and use it on elements where you want that hex code applied [17:43:32] You can even overwrite the Vector-2022 variables with your own colors [17:43:40] This is how many wikis style a dark mode [17:49:58] During the import process the MediaWiki:Common.css got changed, however its changes has not been reflected on the wiki proper. Is it a question of time, or can I do something about it? [17:50:12] Yep I prefer the MDN resources as well, though users occasionally get overwhelmed there. [17:51:49] Common.css affects all skins, not just Vector 2022 though, and it may not affect them in a desirable way. [17:52:14] So, if I'm trying to taylor the colors for the current skin, I tend to work in its own css file. [17:54:24] BTW, running wikifarms like this one, does the "maintenance" get shared across all wiki? I know Mediawiki has background jobs that are done as people visits. I wonder of those jobs are shared across all wikis. [17:56:10] Not Miraheze staff but it can if you mean stuff like MediaWiki version upgrades and other needed downtime [17:58:28] Fun fun, admin links exception. πŸ˜† [18:02:53] Have you cleared your browser cache? I'm outdated as to Miraheze's latest changes, as it's been a few years since I was active here, but back in the day it used to take a few minutes to propagate. [18:03:26] And if you're going from an old MW version to a newer one, some of your style names targeted may have changed. [18:04:12] So there can be a few things going on. [18:04:56] Definitely the first thing to always do (that you're probably already doing, is a hard refresh to bypass your browser's cache). [18:05:35] yeah, it was the cache. Despite ctrl+shift+f5. [18:05:57] Glad you got it sorted! [18:06:15] I stopped using chrome bc it likes to do that. [18:06:29] Annoyed me to no end [18:07:14] I'm using firefox. Had to launch librefox to see that the proper css got served. I don't know why the css cache isn't being invalidated. [18:08:27] yeah, it's not a local thing. The wiki is serving me old data. [18:08:37] Maybe they've got some fancy caching setup going on [18:09:00] That is odd. I'd try adding a note line and saving again. Sometimes another save would do it. [18:09:46] I did have this issue on occasion on MH. [18:10:18] Nah, it's probably their reverse proxy. Varnish or whatever. [18:10:30] Yeah, just lag maybe [18:10:49] Can always file a ticket in half an hour if you're sure your CSS is good and it's still being funky. [18:11:01] Sometimes a job queue gets stuck and they need to manually run it [18:11:35] Or invalidate my user session. It's probably tied to my user, guests are seeing the proper content. It's not urgent though. [18:11:36] Ah, it's slowly coming back to me. lol. [18:17:08] And I get to see how terribly rusty I am, lol. [18:20:50] I should write new sections for my wiki but I do not want to [19:08:34] Procrastination mode, it's got me right now too. [20:11:49] If anyone's gifted in Lua, @thepsychid720 could use some help in this support question: https://discord.com/channels/407504499280707585/1516156709213704302 [20:21:53] when you say maintenance [20:22:24] background jobs are not done on page visits, the tl;dr is they get added to a queue wihch then sends a request to a job running server which then does the jobs, so they're not really shared across wikis [20:24:02] they have the same backend but they're not really shared per se [22:34:48] can someone help me ? i got an infobox on a page but i can't figure out how to add an image to it [22:40:43] why cant you add an image? [22:49:43] i don't know where to add it :< [22:49:47] or well [22:49:54] how do i add the image so that it shows on the infobox [22:50:28] i used the portable infobox builder, and it said "image" [22:50:29] but like [22:50:38] How do i add that image when i'm referencing the template [22:50:47] i dunno if i'm making any sense [22:51:15] [1/2] are you adding the image as a file? you need it to be put as "Image.png" not just its name [22:51:15] [2/2] you can also add multiple by adding and then the image names in between [22:51:44] mb i don't think i explained myself properly [22:51:51] i made a template infobox which is called "Album" [22:52:25] so i make a new page and add it as {{Album|tracks=10}} [22:53:02] but there's no image [22:53:10] how do i add an image as an argument? [22:53:27] like {{Album|tracks=10|image=coolalbum.png}} [22:53:40] or well how do i make the infobox accept that as an argument [22:54:59] [1/4] 1. Open your infobox template in the source editor [22:55:00] [2/4] 2. Find the part that says `image source=` [22:55:00] [3/4] 3. The part in the quotations is the named parameter where you will put the file when calling the template on a page [22:55:00] [4/4] https://cdn.discordapp.com/attachments/407537962553966603/1516214469473079348/Screenshot_20260615_185247_Kiwi_Browser.jpg?ex=6a31d443&is=6a3082c3&hm=50b20444854207f19dd98a75dab21fa9633161fb13a8492c27ac6b845046eaba& [22:55:54] so if it's like right ? [22:56:05] Yep [22:56:07] i'm very new to all this 🫠 [22:56:09] thank you ! [22:56:18] No worries, we all start somewhere [22:57:02] PIs are much easier to build in the source XML than the builder itself (imo) once you understand all the code portions, and Fandom has great documentation [22:57:26] oh, speaking of [22:57:31] the visual editor doesn't recognize the parameters [22:57:38] i had to add them as undocumented parameters [22:57:41] how do i Document parameters ? [22:57:42] You need a templatedata block [22:58:43] one sec [22:58:50] TemplateData is an extension. I don't think it's enabled by default [22:59:27] That's just what I was checking haha [22:59:53] in `Special:ManageWiki/extensions#mw-section-other` enable the TemplateData extension and wait a bit (for caching) [23:00:29] [1/2] Then, in source mode editor, click the "Edit template data" button [23:00:29] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1516215850795798628/image.png?ex=6a31d58c&is=6a30840c&hm=f5e76706d837811d8b272c85600b1f671f6702c4803fb489c3922b565ed278d6& [23:01:04] you'll have to make sure that the parameters you enter here are the same ones that are in your infobox. If you try to put a parameter in templatedata named "bar" when your template only has a parameter named "foo," it won't work [23:01:41] Here's an example if you want: [23:01:44] alrighty, currently waiting for caching [23:02:38] [1/3] in the meantime i had Another question :d [23:02:38] [2/3] a friend of mine managed to make this little box appear whenever the template {{wip}} is added but i can't figure for the life of me how that's done 🫠 [23:02:39] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1516216393513566299/image.png?ex=6a31d60e&is=6a30848e&hm=a1e01a3d17e43d55af5e3f315f8fef0323bba321b75f004eec27180dbd729ec0& [23:02:39] [23:04:47] Those are "mbox" or "ambox" templates - are you trying to get the code, or just want to know how it's done? (or both) [23:05:21] , both πŸ™‚ [23:05:35] Do you have a link? (#verify to send links) [23:06:00] the link to ? [23:06:06] oh, to the wiki where that template is ? [23:06:06] the wiki where this template appears [23:06:09] yep [23:06:12] ah, it's private :d [23:09:34] [1/3] If you go to the wiki's page Template:wip, and view source/edit source, you'll be able to see the code. The styling is done via CSS, but without seeing it I'm unsure whether it's inline CSS, done through TemplateStyles, or through the wiki-wide CSS stylesheet at MediaWiki:Common.css (all of which are valid styling options). [23:09:35] [2/3] We have a few hatnote templates and we use MediaWiki:Common.css to style them: , [23:09:35] [3/3] If you want to import some premade hatnote/ambox/mbox templates, you can check out Miraheze Dev wiki: , , [23:10:36] ^^ note that they may have css stylesheets for you to import, read the documentation thoroughly [23:11:09] [1/7] this is the code that's in there [23:11:09] [2/7] ```{{Notice [23:11:09] [3/7] |type = It'll only take... oh, I don't know, anywhere between a few minutes and a day? [23:11:10] [4/7] |info = This page is a '''Work in progress''', so it will be updated in the future to add the necessary info. [23:11:10] [5/7] |style = background-color: #300; border-left: 10px solid #aa2222!important [23:11:10] [6/7] |image = LanceCount.png [23:11:11] [7/7] }}``` [23:11:29] can i just copy and paste that on a new template page i make. and have it work ? [23:13:21] [1/2] You'll want to go to the Template:Notice page, as it looks like the template being called is "Notice" [23:13:21] [2/2] And then you can copy and paste what is on Template:Notice as long as you provide attribution - or whatever the licensing rules of the wiki say [23:14:01] If it is a Miraheze wiki then it is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0 [23:14:52] [1/2] , this is the codce [23:14:53] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1516219472938008576/image.png?ex=6a31d8ec&is=6a30876c&hm=8dfa5ddcc1172021a57daad0c61a574df21332f83d85072d6fdc1d0ea49e3296& [23:15:03] i don't think i understand, like, Anythin 🧍 [23:15:39] is that it ? cause, i don't know, maybe it's just me but it looks a little [23:15:44] short ? for it to be the right thing [23:19:27] [1/2] Yes, what this is doing is creating a table on the page. There are parameters for width, background, image, inline styling ("style"), etc. - anything you see in orange is a parameter. In your example that you pasted, they're using the parameters to add the image, the text, and the inline styling. [23:19:27] [2/2] Tables aren't really the best way of creating hatnotes and this could be modified a bit to remove redundancies but it may work for your purposes if this is what you want [23:20:31] ooh so that notice is a table pretending to be a dialogue ? [23:22:43] Yep [23:23:11] It should really be done with divs but a lot of legacy wikis still use tables for easy hatnote styling [23:25:02] thank you so much for the help !! i think i get it better now [23:27:08] np, happy to help [23:27:23] don't be afraid to ask questions, it's what the community is here for [23:37:08] [1/5] 🧍 so i Do have two more :d [23:37:08] [2/5] first, i noticed that the WIP page my friend made is actually like, set at random? it chooses one from several options, but when i tried replicating it it just writes the `` and similar, how do i do this ? [23:37:08] [3/5] and second, how can i make it so that one of the texts of the template changes depending on what i write? [23:37:09] [4/5] like, if i just do {{wip}} it shows "This page is a work in progress", but if i do {{wip|text=A Thing}}, it changes to "The page A Thing is a work in progress" (or similar) 🫠 [23:37:09] [5/5] https://cdn.discordapp.com/attachments/407537962553966603/1516225067544219688/clipboard_image_1781566620.png?ex=6a31de22&is=6a308ca2&hm=86c791725a80abb9cbbcb43d7bfbd864ab222e76c6ee464ea841af438ceed884& [23:37:09] [23:38:00] (the screenshot is from Her wiki, if anything) [23:41:53] [1/2] Choosing is a function of the RandomSelection extension, so you would have to enable that in `Special:ManageWiki/extensions#mw-section-other` [23:41:54] [2/2] It sounds like in the wip template there is a parameter for "text" that adds a string to the template if it is added, but that's not included in the above screenshot [23:43:13] i don't Think there is ? [23:43:20] or well, like, my question is [23:43:43] i want to have something like [23:44:05] |info = This page is a work in progress. [23:45:14] [1/3] and "This page" should say [23:45:15] [2/3] "This page" if i call it as {{wip}} [23:45:15] [3/3] "foo bar" if i call it as {{wip|text=foo bar}} [23:45:15] [23:45:35] that's what i'm wondering :d [23:46:13] i may just be bad at explaining myself 🫠 [23:49:07] you need to use an if clause then. e.g. `{{#if:{{{text|}}}|{{{text|}}}|This page}}` [23:49:15] [1/4] You are going to need the `#if` [parser function]() [23:49:16] [2/4] `{{#if: test string | value if test string is not empty | value if test string is empty (or only white space)}}` [23:49:16] [3/4] so, `{{#if:{{{text|}}}|{{{text}}}|}}` [23:49:16] [4/4] This would do, "if the parameter text exists, then write what I have written for the text parameter, else do nothing" [23:49:55] or "this page" should be after the last pipe, if you want it to write the string "this page," or {{PAGENAME}} if you want the name of the page the template is on [23:49:59] explained it better than i did, haha [23:50:14] we captured all areas 🫑 [23:52:13] thanks to you two for the help ! highly appreciate it ^^ [23:59:02] anyone have a navbox code i can steal <3 im not sure how to sort mine