[04:31:23] [1/3] I'm trying to place an .ogg file into my wiki page, and I can't do it. [04:31:23] [2/3] There's no documentation for this anywhere, and all wikipedia says is use this template: {{Template:Listen}}, but conveniently does not give you the tools to actually use it. [04:31:23] https://meta.miraheze.org/wiki/Template:Template:Listen [04:31:23] [3/3] Now, I'm not totally stupid, I've made my own NavButton template, but this audio file nonsense is pissing me off, and I want some dang answers as to why I can't put audio files in my wiki. [04:31:24] [04:37:00] [1/2] - go to Manage this wiki's extensions in admin sidebar, and enable timedmediaplayer extension [04:37:00] [2/2] - check Additional settings, Media tab, scroll down to see if .ogg is allowed file format (add it if it's not listed [04:38:07] after that you can add audio files on page, formatting is the same as w/ images - `[[File:...]]` [04:38:07] https://meta.miraheze.org/wiki/File:... [04:39:51] I always suggest new admins to check extensions list to see what you might or won't need (there are short descriptions, clicking on extension name takes to documentation page on mediawiki.org), and then settings [04:46:27] [1/2] Thank god for that. I was about ready to tear my hair out. Never occurred to me to peruse the extensions. My dumb behind just assumed, foolishly, something as simple as audio integration would just be native. [04:46:28] [2/2] Goes to show me. [09:28:03] It seems that I can see edit comment in mobile but not in computer. Why is it? [10:40:28] you mean edit summary in recent changes, or? [12:51:17] I mean edit summary in recent changes [12:51:36] what's the wiki? [12:52:19] philosophyball wiki [13:02:31] [1/2] code in `MediaWiki:Common.css` [13:02:32] [2/2] mobile mode ignores this page and relies on `MediaWiki:Mobile.css` instead, which is empty - so, no changes in RC feed here [13:04:38] this is something I've done for one wiki recently, to make RC feed cleaner/shorter for the main page, but instead of Common.css I used TemplateStyles subpages [13:06:26] Very interesting [14:46:44] if you wanted to have a list of data and call parts of it on a page, the only option is lua right? is there some sort of guide for this or anything? for context I'm talking about a game wiki with item stats and stuff, copy pasting stats over and over is tiresome and hard to maintain if something changes <:ThinkerMH:912930078646730792> [14:58:33] [1/2] Nah there are other options too, Cargo, or Semantics wiki extensions can both be done as well to create a sort of database on the wiki. [14:58:34] [2/2] Depending on how exactly you need to use them, particular if the stats parts would be presented the same way everytime, you could also simply have them put on a template page, and then translude that where needed. [15:07:55] presentation varies unfortunately, not every stat is always needed. I'd also like it to be usable on both the item's own infobox and in tables/lists with other items. not sure how feasible it is or where to start really [15:25:13] [1/2] lua is the option if you want to do calculation on the data or display it automatically in certain ways. Otherwise, if you don't need that much automation and just display the same data on a few pages, a simple template with a #switch parser function (all data for one item would be in one template this way) per item would do the trick while being more accessible. Also as Gummiel sai [15:25:13] [2/2] d there's other extensions, but some of them are tricky to get working/learn, which is the same issue as lua if you never did programming before [15:31:44] you can kinda usa Scribunto as a database, and in fact, it kinda works very well, but it does go against how edits are "supposed to work" I'd say [15:32:28] because you'd have to edit the module page with the data on the Lua table (or a JSON) before editing the page itself [15:48:44] Anyone ever notice that we didn't celebrate Miraheze's eighth anniversary (it was about a month and a half ago)? [15:49:50] While things like Cargo, can be tricky, and even finicky at times and such for sure, I would still say it is easier than trying to learn LUA [15:58:43] how would you go about making a switch template? and then you'd end up with a lot of templates because it's one per item right? [16:26:58] Yeah unfortunately that's the disadvantage of doing it this way. Having everything on one page does not work with many items [16:27:06] So #switch is a parser function [16:27:41] [[mw:Help:Extension:ParserFunctions]] [16:27:41] https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions [16:27:41] [16:28:00] basically what it does is display one of the values it has depending on the parameter [16:28:36] if you wanted to do it this way, you'd have a template with a single `{{#switch` inside containing all data for an item [16:30:26] [1/9] so like [16:30:26] [2/9] ``` [16:30:27] [3/9] {{#switch: {{{1|}}} [16:30:27] https://meta.miraheze.org/wiki/%23switch:Template:_%7b%7b%7b1 [16:30:27] [4/9] | price = 10 [16:30:27] [5/9] | description = Lorem ipsum [16:30:27] [6/9] | category = Food [16:30:28] [7/9] }} [16:30:28] [8/9] ``` [16:30:28] [9/9] using this template and giving it `price` as a parameter would return "10" on any page [16:31:55] would you call it like {{template|price}} ? [16:31:55] https://meta.miraheze.org/wiki/Template:template [16:32:12] Are you familiar with templates in general? [16:32:39] the general part of it yeah [16:32:59] then yeah, `template` being the template name in this case <:pupCoffeeMH:766487840694599711> [16:34:02] having a huge page with all data would unnecessarily load the whole thing when trying to get one value for one item. And there's a template include limit that would become a problem if you had everything on one huge template [16:34:34] Believe me, I learned the hard way before changing to lua <:pupCoffeeMH:766487840694599711> [16:39:03] thank you for the info <:pupCoffeeMH:766487840694599711> only downside of that is probably having to make 100+ templates [16:39:50] does lua have downsides? think I heard it was resource intensive? [16:53:24] The downside is that it's a programming language basically :P It's much more technical to make a module that reads data with it [16:53:38] It's actually less resource intensive than let's say looping with parser functions [16:56:53] by the looping part you mean like the switch templates right? [16:57:29] It might be the case that LUA in general is heavier than other programming languages(no idea if it actually is or not), but in the context of MW, is still lighter than use parserfunction mess [16:59:04] Mostly what Gummiel said. Manipulatin the data or displaying lists of it is lighter in lua, but it's overkill if you just want to display the data in a few places without doing anything fancy with it [17:09:30] so do Cargo and Semantics use their own language stuff and Scribunto is just lua? <:ThinkerMH:912930078646730792> [17:25:38] Scribunto is lua yes [17:25:51] Not familiar with the other two myself [18:09:40] Not sure on Semantics 100% myself, Cargo uses parser functions to create and call the tables. The way its parser functions are structured, is similar (though not exact) to SQL quaries [18:11:47] <24ean> @theoneandonlylegroom [18:11:55] <24ean> do you know how i just add a category to the page overall [18:12:21] I told you yesterday [18:13:25] <24ean, replying to theoneandonlylegroom> i typed {{...}} and the category name inside and that popped up [18:13:25] https://meta.miraheze.org/wiki/Template:... [18:13:25] [18:16:13] ^ @24ean [18:17:19] [1/2] have you even checked formatting guide I've linked? [18:17:19] [2/2] or what said on how to enable visual editor? [18:17:41] wait [18:17:53] yes, this is a category [18:18:07] the card thingy is infobox [18:18:42] I've posted yesterday all resources which should help you, please read them carefully [18:22:14] <24ean> oh yeah, i didnt even see that text [18:22:16] <24ean> thank u for ur help !! [18:25:52] <24ean> @theoneandonlylegroom how come i cant click on insert or format? [18:27:05] those aren't button, they are "headers" [18:27:14] the buttons are icons next to them [18:31:12] <24ean, replying to theoneandonlylegroom> right, but on other pages i can click on insert [18:31:14] <24ean> not this one thouhg [18:57:35] there are two different editors, if you can't click on insert you're in source mode. you can change it with that button [18:58:41] <24ean> oh [18:58:55] <24ean, replying to chimecrime> for some reason i cant see the pencil [18:59:22] most likely because visual editor is not enabled [19:01:49] <24ean> yeah, but i have no option to enable it [19:01:53] <24ean> i cant see the icon that brings up the option [19:02:03] go to Special:ManageWiki/extensions page on your wiki [19:02:23] you just need to check the VisualEditor box in the "Editors" tab [19:03:06] what I posted yesterday as well ... [21:22:50] Hello everyone sorry to disturb your privacy, I have an offer that will be profitable to anyone interested on how to earn from the crypto market, kindly send me a massage with (How) for more information [21:26:50] sigh [21:34:06] <24ean> @theoneandonlylegroom [21:34:09] <24ean> Thank you for all your help [21:34:31] <24ean> I can finally pursue my hobby without having to worry about the boxes and stuff [21:34:33] <24ean> Lol [21:37:08] i created my own wiki, where can i start? [21:42:41] Can you elaborate on your question? [21:53:59] MirahezeRelay, it's a bit hard starting up since it's my first wiki ever [21:54:13] the other ones like non-binary wiki are already filled with content [23:45:49] perhaps contributing the existing wikis is more helpful than having a one person project of a big wiki topic [23:46:28] exdetransitioner: fyi we're on discord, unfortunately you cant ping us by our names but maybe it works if you try @name [23:46:39] @Juesto [23:46:44] yeah that works [23:47:15] i stand corrected [23:49:43] oh tali64, they left