[01:22:16] Has anybody figured out how to make adding new portlet links with their own headers actually work across all supported skins? I just discovered that Vector has updated to use nav, while others continue to use div, which has made a lot of things more complicated as well [03:40:33] you need to import listed LUA Module: page as well from the wiki you got this template from [03:41:59] but honestly - do hatnotes really need LUA? no, they're are amongst easily coded templates, just a
s in variety of looks [03:43:15] these complications are done on Wikipedia because of its shire huge size [03:48:49] Also the fact that pretty much all of Wikipedia is, or is working to be, computer readable. Lots of their Lua modules aren't even to improve the human experience [03:49:08] and templates in general, you could claim [04:06:14] The template used, that is actually kicking the error on that page, is the https://voidarchives.miraheze.org/wiki/Template:About, which is using #invoke:Hatnote to invoke LUA Module:Hatnote, which you don't have on your wiki. It's a problem with importing templates from other places that have template dependencies. [04:06:14] [url] Template:About - Void Archives | voidarchives.miraheze.org [04:06:25] oh okay [04:06:53] i'm assuming i fix by doing the [[hatnote/text]] thingny? [04:06:53] https://meta.miraheze.org/wiki/hatnote/text [04:06:53] https://meta.miraheze.org/wiki/Hatnote/text?action=edit&redlink=1 [04:06:54] [url] Hatnote/text - Miraheze Meta | meta.miraheze.org [04:07:19] Where did the template crom from? [04:09:08] If it were me, I'd try creating the functionality of that bit without the LUA module. [04:18:05] So I think you got this template from: https://honkai-impact-3rd-archives.fandom.com/wiki/Template:About [04:18:05] [url] Template:About | Honkai Impact 3rd Archives Wiki | Fandom | honkai-impact-3rd-archives.fandom.com [04:19:04] Either that or https://en.wikipedia.org/wiki/Template:About [04:19:05] [wikipedia] Template:About | "" [04:19:55] The corresponding module would live in the Modue: namespace. So on the latter link, https://honkai-impact-3rd-archives.fandom.com/wiki/Module:Hatnote [04:19:56] [url] Module:Hatnote | Honkai Impact 3rd Archives Wiki | Fandom | honkai-impact-3rd-archives.fandom.com [04:20:17] (if that's the right site) [04:20:56] If it was taken from Wikipedia, https://en.wikipedia.org/wiki/Module:Hatnote [04:20:57] [wikipedia] Module:Hatnote | "" [04:22:10] Wherever you got that "About" template, go back there and go to "Module:Hatnote" [04:24:06]
text
[04:25:17] or make a class for all hatnotes to use [04:25:47] Yeah, I'd just replace that LUA module with templates, instead of creating all the dependencies. [04:28:02] Is that all it does? Create styling? [04:29:24] Ah, yep, I see now. I wouldn't use a LUA module for that. [04:30:36] I wonder now [04:30:44] https://en.wikipedia.org/wiki/Wikipedia:Hatnote [04:30:44] [wikipedia] Wikipedia:Hatnote | "Hatnotes are short notes placed at the very top of an article or a section, like a hat is placed on the very top of a head. (See the note in italics immediately preceding the boxes above.) Their purpose is to help readers locate a different article if the one they are at is not the one they're looking for. Readers may have arrived at the article containing the hatnote because:They were […]" [04:31:05] I didn't realize that was the term for it [04:37:15] I don't remember how they were called on fandom [04:38:23] certainly, fandom having a set of default templates after wiki creation makes things easier for newbies I also was looking at how templates are done on established/fancy wikied [04:39:38] can template.miraheze get rid of stuff imported from WP tho? [04:43:11] For some reason I had the impression (perhaps wrongly) that stuff in template wiki was to simplified to not have so many dependencies? [04:43:23] I don't know, I'd have to go poking around and see. [04:43:23] idk [04:43:31] Ideally, it would be nice if that was the case [04:44:07] I'd donate some time to help out on some simplifed versions maybe, though I'm no template expert by any means [04:44:48] I can't focus on more than one wiki or I'll burn out lol [04:44:56] still have a lot to do on mine [04:45:01] We use a straight up
 ''See {{{1|}}} {{{2|for more information}}}''
[04:45:01] https://meta.miraheze.org/wiki/Template:%7b1 [04:45:26] Bad bot lol [04:46:03] I should go back to general, or figure out how to suppress those auto-links to meta. [05:54:59] I've made a mini-table w/ its own class thingy inside a big table for some reason the margin: auto rule in that class from Common.css is ignored by actual mini table, unless I list it manually in its styles [05:56:37] even w/ !important in Common.css :ThinkingHardMH: [06:00:00] I'll have a look and see if I can spot anything obvious if you want [06:01:30] Seems to be centering now, and I don't see any in-line style for it [06:02:18] yeah, weird I always purge pages manually after MW pages update so I was very confused [06:02:32] I've found it takes a while for CSS to show up though, so I have to wait a couple mins, then retry CTRL + SHIFT + R, because it won't work right after. [06:03:25] while the rest rules worked right away [06:03:27] Like, a good solid couple of minutes after saving (maybe there's some cache synching or something going on). If I do hard browser refresh before that, nothing shows. [06:03:30] Oh, that is odd. [06:04:01] Yeah, I have to say that CSS stuff can be kinda frustrating with the delay. I usually work failry fast and want to also test fast. [06:04:47] I always remember about "css can kill you" lmao [06:04:52] heheheheh [06:05:05] It's a lot of "fun" to chase sometimes, that's for sure. /s [06:07:40] When we started using DPL3, we didn't realize immediately that it had its own cache. So we'd make changes to a page that had an innocuously small DPL3 function on it that we couldn't see (this was before pages that used DPL3 were auto-categorized to reflect its use). The changes to wikitext wouldn't reflect right away and we were like... wtf? [06:08:32] Well, if it were visited in the last hour, the hold page would still be in its cache lol [06:08:49] At least manual purge would purge the DPL3 cache also. [06:13:04] The flags look good! [06:22:21] thank you :pupCoffeeMH: [06:22:44] I had "thinking hard stuff at first" problem again tho lol [06:24:49] half of images w/ simple titles aren't categorised properly, but exist + there are redirects ("Flag of UK" -> "Flag of the United Kingdom"), so I just tied filenames w/ template value [06:26:49] Yw. Ooof, yeah sounds like that would be a bit of considering. [16:41:34] https://cdn.discordapp.com/attachments/435711390544560128/913107083682005022/IMG_7199.png [16:42:01] Thanks, Rhino [17:16:48] Hello Danniel! If you have any questions, feel free to ask and someone should answer soon.