[00:00:19] for once yes I intended that [00:01:47] [1/5] The ELI5 version: [00:01:47] [2/5] * If you go to the edit/view source version of a template somewhere, it'll show you the code behind it [00:01:47] [3/5] * If you copy and paste that code into a page of the same name on your wiki (e.g. copying the code for Template:Done and putting it on a page on your wiki called Template:Done), it now exists on your wiki too and might work [00:01:48] [4/5] * Templates often need other templates or modules to do their fancy stuff correctly, so you may see errors if just manually copying/pasting code. [00:01:48] [5/5] * Wikipedia has a notoriously bad trail of dependencies on many templates [00:04:47] Importing from Wikipedia is only recommended if you’re a fan of sleepless nights [00:58:29] Friendly reminder that this still exists: https://meta.miraheze.org/wiki/Meta:Community_portal#Request_for_Feedback:_Regulating_page_creation_on_Meta [01:13:50] [1/2] discord ai's summary is quite good [01:13:50] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1249531939489058947/image.png?ex=6667a4cd&is=6666534d&hm=0778fb9da8051990598af6be6ceb3cdd5ef65fd945d60606a2a70a9bb2375fd8& [01:22:45] imo some things are best left uncodified [01:25:10] Yea [07:54:20] You think [08:41:48] I do indeed [11:28:10] Does anybody recognize the localization banner we're using, and how to configure it correctly? See for example https://wiki.themanaworld.org/wiki/Es:Monsters [11:28:43] Current issue: it does not recognize it as a Spanish version, and instead thinks "Es:Monsters" is the title of the English page, linking to "Es:Es:Monsters" for the Spanish version. [11:29:38] It only works correctly on the English version of the page (https://wiki.themanaworld.org/wiki/Monsters). [11:30:43] Is this related to "Enable per page language ($wgPageLanguageUseDB)" setting? We currently have that disabled on Miraheze. [11:32:06] (I've enabled it now and purged, but don't see any effect) [11:48:47] [1/2] because Es: (and any other language) arent namespaces, so the {{PAGENAME}} considers everything before the colon part of the page name too [11:48:47] https://meta.miraheze.org/wiki/Template:PAGENAME [11:48:47] [2/2] u could enable parserfunctions' string functions ($wgPFEnableStringFunctions) and do `{{#explode:{{PAGENAME}}|:|-1}}` instead of PAGENAME (which will split "Es:Monsters" at the colon, and get the last part "Monsters") [11:48:47] https://meta.miraheze.org/wiki/%23explode:Template:%7b%7bPAGENAME [12:18:11] canyada: Ah, thanks! I see it's even documented in the used template that it was relying on namespaces being defined (https://wiki.themanaworld.org/wiki/Template:I18n/doc). [12:18:56] I wonder a little what would be better, to define the namespaces or to use "explode". [12:19:12] Also there is no way to set a variable, is there? Cause the are a lot of occurrences of PAGENAME. [12:19:49] i sort of wonder if it would be better to have a dedicated translation extension like [[mw:Extension:Translate]] [12:19:49] https://www.mediawiki.org/wiki/Extension:Translate [12:19:50] [12:22:05] Hmm, yeah that definitely looks much better. [12:34:43] but translation mark up ... is something ... [12:35:10] I guess Spanish pages versions are full on separate pages? [12:36:04] Ah, you mean all these "", are those really necessary with this extension? [12:36:32] Currently our wiki indeed just uses full on separate pages for translated versions. [12:42:51] I've just fixed our links using the "explode" method suggested by canyada for now. Thanks a lot! [12:43:25] [1/3] Wikipedia and Fandom wikis are all just separate wikis sharing same domains and interwiki links [12:43:25] [2/3] I've seen one indie wiki going w/ language namespaces, and I personally would go w/ that as well, if I had to make translations [12:43:26] [3/3] I feel like Translate is better when the wiki is somewhat complete and pages aren't updated often? [12:43:47] original pages, I mean [12:48:34] [1/2] but what Translate does is creating a language subpage under original page, so it's kinda same as w/ namespaces? [12:48:34] [2/2] it's just that extension also controls how up to date those subpages are etc [12:49:31] creates separate interface to translate bits of a page [16:14:07] hellooo! [16:16:24] miraheze space is discord, irc, etc.? [16:16:44] yeah [16:17:34] thanks, I'm out of date with the terms haha [16:17:58] 🫠 :EpicFaceMH: [16:18:59] [1/4] heloo, template question: while importing some templates. they failed to create thumb borders and float on the right place [16:19:00] [2/4] I used TemplateStyles correctly, importing all dependencies, so that is not an issue [16:19:00] [3/4] using Special:ExpandTemplate, it gave me these outputs (my wiki vs. Wikipedia), which is the only major difference is this number after inside `