[00:01:02] how do i pritorize images for previews? [00:01:31] perhaps a change in background [00:13:26] You're referring to discord link image embeds? [00:16:19] [1/2] If so, this is the answer to that: [00:16:19] [2/2] https://discord.com/channels/407504499280707585/407537962553966603/980350313645092884 [00:16:55] You can also set a default image fallback in wikiSEO's configuration in case no image is found. [01:23:07] good lord i understand none of this documentation when it comes to trying to create an html table in lua :kris_dead: [01:23:26] That sounds like [01:23:26] hell [01:23:32] it is [01:23:53] i wanted to make an html table through lua just to make things a bit easier but it turns out Naw It's Not That Easy Actually [01:24:21] i was using [this section here]() and i'm like, it seems simple enough. so i try to use it but nothing freaking Works [02:04:34] 💤 [02:05:05] Night night everyone [02:05:17] Past 3 am here [02:28:04] nini~ [02:48:28] mimimimimi [03:05:31] Could anyone explain what CirrusSearch does? I don't understand its wiki page. [03:06:21] Neither does it [03:06:34] basically search but smarter(???) [03:07:04] Wikimedia uses Cirrus not base search, which means the builtin search isn’t given any attention and sucks [03:11:24] CirrusSearch isn't case sensitive and can do fancy search things like operators and logical statements like google [03:11:43] Default search is case sensitive and is bad at searching across namespaces [03:13:34] [1/2] If you really want to dive in on detailed fanciness, the help page is decent at this: [03:13:34] [2/2] https://www.mediawiki.org/wiki/Help:CirrusSearch [03:18:43] basically this [03:19:00] Also hi na how’s your day been [03:22:55] Hell week's doin' what it does [03:23:16] All busy all day. 😄 [03:33:37] is cirrus unrestricted now? [03:35:04] nvm still is [03:46:08] How do I enable it? [03:46:16] Because it is restricted for some reason. [03:48:54] it was restricted always, but soon must be unrestricted [03:49:14] Eh, why that? Is OG search getting dustbinned? [03:50:02] File a request at [[SR/RC]] [03:50:02] [03:50:18] Shockingly not yet /hj [03:50:34] We no longer have a minimum/maximum criteria for enabling it, thanks hardware upgrades [03:51:01] I think tech decided with current resources it’s not an issue? Ask CA ig [03:51:08] Yep [03:51:11] gonna sleepy now [03:51:17] might request [03:51:26] damn Daylight savings time [03:51:43] it feels like 11, gonna wake up at feels five [03:52:03] Yeah, this whole time-switching business is trash. [03:52:15] Aside from the extra daylight, that is. [04:00:28] does the seo extension accept image links [04:00:31] instead of files [04:00:53] why? filename is so much easier [04:01:54] trying to use a parameter [04:02:10] https://cdn.discordapp.com/attachments/407537962553966603/1348868579403239505/image.png?ex=67d10742&is=67cfb5c2&hm=0b0da3744241a00008a14bafa0acff947e7fc52a44be3ad22b108818801d38b4& [04:02:14] good or bad idea [04:03:07] it's not in styling that you need a raw file link [04:03:52] `[[File:{{{img|}}}|...]]{{#seo:image={{{img|}}}}}` [04:04:04] it's just file name here ^ [04:05:21] the parameter is just a file link thou [04:05:23] i may be cooked [04:06:17] [1/2] you want it appear as file name link, not actual image? [04:06:18] [2/2] that's `[[:File:...]]` [04:06:27] note the `:` [04:07:48] sorry, i ment that i want my embeds to use the img parameter [04:08:05] i heard that seo extension could prioritize images for embeds [04:08:15] what embeds [04:08:22] [1/2] but i get this error [04:08:22] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1348870138430095430/image.png?ex=67d108b5&is=67cfb735&hm=ae9db2c276e1eba9c833efacbb4b4fd312ac20cea0afb1f1e2fa326fcbf29b86& [04:08:33] discord embeds [04:08:53] [1/2] SEO is a whole manual thing [04:08:54] [2/2] PageImages is automatic pick, w/ some rating or whatever [04:09:28] ??? [04:09:45] ^^^ [04:09:50] trying to follow this [04:09:51] put seo function inside #if? [04:10:18] oh is that the problem [04:10:26] [1/2] yeah, true [04:10:27] [2/2] the trick is that image must be uploaded on wiki [04:10:29] 🤦‍♂️ [04:10:33] it is [04:11:09] if you don't provide anything to it and don't want the error to appear? [04:11:26] no im using a preview and it should have an image [04:11:50] [1/3] I still don't understand your problem [04:11:50] [2/3] image is uploaded on wiki [04:11:51] [3/3] use its filename in seo function [04:12:04] can be provided as template parameter, yes [04:13:37] can the parameter be [[file:image.png]] [04:13:37] [04:14:13] why when you can do this ^ [04:16:59] i already have a lot of pages with that parameter set and i like saving time [04:17:22] [PeepoSadRain](https://cdn.discordapp.com/emojis/904045243157082192.gif?size=48&animated=true&name=PeepoSadRain) [05:29:29] [1/2] Hi! Not trying to be picky or rushy, I'm just curious how long imports take once they're marked as "in progress" [05:29:29] [2/2] Thanks 🙂 [05:29:30] hello, how to export miraheze wiki pages to another miraheze wiki? [05:31:06] movingjetzz01: you can use the Special:Export special page from the old wiki [05:31:09] and then use Special:Import on the new one [05:31:16] e.g. https://rainverse.wiki/wiki/Special:Export [05:31:26] thanks [05:31:40] yw ^_^ [05:31:46] It generally shouldn't be a multi-day process, should complete in a few hours in most cases. [05:32:26] If it's stuck in this state, may be worth creating a phorge ticket (issue-tracker.miraheze.org) for a tech volunteer to examine more deeply [05:32:28] Mine has been doing it for around 4 days [05:32:31] Gotcha [05:36:26] How do I change the name of my wiki because I accidentally added a extra letter [05:37:43] visible on page name or URL? [05:38:17] Visible page, yk when it says welcome to (name) [05:40:37] look at administration sidebar, core settings link [05:41:27] im on the main page and do not see adnimistartion [05:42:03] [1/2] are you on mobile? switch to desktop mode [05:42:03] [2/2] default mobile mode hides a lot of things, I usually suggest to change its skin [05:42:15] im on desktip [05:42:46] haven't changed wiki's skin? [05:43:18] wdym skin [05:44:34] [1/2] heres the thing btw [05:44:34] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1348894348024090667/image.png?ex=67d11f41&is=67cfcdc1&hm=09ad44246389072b5619a29e91776540d1175dfd45262f8895ac253356dadc21& [05:45:39] [1/3] theme, layout of the wiki [05:45:40] [2/3] I guess you haven't [05:45:40] [3/3] look to the right, scroll down a bit [05:46:59] do i need change the theme just to change the title name? [05:47:06] no, man [05:47:09] listen [05:47:25] to change name you need to go to core settings [05:47:41] I went w/ skin stuff cus you said you don't see admin sidebar [05:47:50] okay, alternatively [05:48:43] [1/2] after `wiki/` in URL put: [05:48:44] [2/2] Special:ManageWiki/core [05:48:59] go there, you'll see title/name settings [05:50:51] ok i got it ty [05:51:26] is it possible to make my wiki public if i wanted to since i made it private (because the topic is a personal project not public yet) [05:52:25] on the same core settings there's "private" checkbox [05:55:45] okay i tried to change the name but it doesnt change [05:56:25] it might take a bit [05:56:56] you can force wiki cache refresh w/ Purge button or by adding `?action=purge` in URL [05:59:06] ok it works [06:01:18] ty [06:10:26] heya! How come when i try to upload a file and select the type of licensing the only option is "None selected." Do I need to create a copyright page or do a certain procedure? [06:18:29] Also what does Miraheze do when there are more than 500 red links in a wiki? [06:19:09] ||they crumble into pieces and beg you to make one page|| /j [06:19:43] the red links begging for mercy rn [06:21:19] [1/2] MediaWiki:Licences [06:21:20] [2/2] `*name of licence template|text in dropdown on upload` [06:21:39] [06:22:45] [1/2] i can't wait to read what this wiki is about! [06:22:45] [2/2] the nefarious red link: [06:23:44] procrastination spike [06:23:50] thx for info! [06:24:06] i just wish there was a glue that could just put words together [06:24:12] so many fancy ideas and 2 stub articles [06:24:37] fr [06:25:36] sometimes i find myself soullessly looking at all the red links [06:29:13] so sorry to bother ONCE again even tho you have given me the info but how am I supposed to add the licensing information into my wiki/file uploads? [06:29:30] [1/2] oh man I can't wait to make all of these articles! [06:29:30] [2/2] the devious suckers known as procrastination and writing: [06:30:47] It got so bad that the UTG Wiki had to invent No Procrastination Days 😔 [06:35:13] [1/2] first you need to make templates that will have this info [06:35:14] [2/2] the page I've linked is just setup for that dropdown pick on Special:Upload [06:38:39] [1/3] examples [06:38:39] [2/3] [06:38:39] [3/3] [06:48:25] how could i give my wiki's main page a unique look that doesnt look like wikipedia [06:48:38] [1/2] also how do i add whatever this is [06:48:39] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1348910473172488256/image.png?ex=67d12e46&is=67cfdcc6&hm=8995c277bf59c49508c600f763989eec57fa5c3f37a1375c14230f11d57d2e0f& [06:56:39] this is achieved w/ other skins and CSS, sometimes settings [06:57:25] [1/2] this horizontal navigation, a replacement for sidebars, only Cosmos skin offers it [06:57:25] [2/2] Cosmos also offers settings for changing colors and background image, unlike other skins [06:58:41] [1/2] skin is a type of extension, you need to first enabled the skin you want in Special:ManageWiki/extensions [06:58:42] [2/2] the you need to set it as default skin in Special:ManageWiki/settings, Styling tab [07:00:15] [1/2] sidebar links are set up in MediaWiki:Sidebar page [07:00:15] [2/2] for Cosmos it's MediaWiki:Cosmos-navigation [07:15:04] so how do i get the cosmo one if for the horzontal navigation [07:27:27] as I said above, go to MediaWiki:Cosmos-navigation page and edit it [07:58:08] sure but if i change it to black and green then it will still be 2007 [07:58:17] black and green is like [07:58:26] the main theme of the wiki [08:45:46] sorry for super late question but could i hypothetically copy the source of the templatestyle onto a page? [10:39:53] You could, but you would only see what you see in the edit window [10:41:11] You need to copy the source unto the `Template:Cc-by-sa-4.0` and then on the filepage you add `{{cc-by-sa-4.0}}`. [10:42:04] a bit irrelevant, because it started from licensing dropdown on special:upload [10:43:28] [1/2] for TemplateStyles to work you need to enable this extension on your wiki too, and copy it exactly the same way as ot is on source wiki [10:43:28] [2/2] I advise importing templates you need, you should check "include templates" box [10:43:28] Ah I see [10:59:04] is there a class that identifies if i am on a page im editing? something like body:has(.user-editing) or something like that [11:00:10] don’t think, there’s the classes for the edit interface but unless some hot new css selectors just dropped JavaScript time [11:00:25] 🤧 [11:00:26] alr alr [11:23:19] [1/2] i have an inefficient idea [11:23:20] [2/2] `body #mw-content-text > #editform` [11:23:52] wait omg [11:30:03] does anyone know why the everything (infoboxes, etc) in mobile view of my wiki is left aligned? the desktop view is fine, which is why im confused [11:35:49] You likely miss css in the MediaWiki:Minerva.css [11:36:39] your wiki uses mobile mode (MobileFrontend extension), or just mobile adaptive skin w/o mode switch? [11:37:38] pretty sure the latter, how would i check? [11:39:37] can you post link to your wiki? [11:40:22] https://micronationalist.miraheze.org/wiki/Main_Page [11:40:39] for an article just click random, we have quite a few [11:40:47] to see the issue im seeing [11:47:22] yeah, the wiki uses mobile mode [11:48:55] [1/2] infobox styling from MediaWiki:Common.css needs to be copied to MediaWiki:Mobile.css [11:48:55] [2/2] alternatively, styling can be moved to TemplateStyles subpage somewhere, depends on how infobox was coded, this way it always will work (no matter the mode) [11:49:40] okay, thank you 👍 [12:54:54] hellooo [14:47:51] Also something like ``:has(.ve-init-target)`` for visual editor (if it's only for source editing it might be simpler to use ``body.action-edit``?) [14:48:38] [1/2] oh my god i am so fucking dense lmao [14:48:38] [2/2] could've done `body.action-edit` T_T [14:49:09] assuming that ve-init-target is on body, then this should work: `body:is(.action-edit, .ve-init-target)` [14:49:43] Unfortunately not I couldn't find anything added to body by visual editor 😔 [14:49:50] crud [14:50:24] oh! html.ve-active [15:17:19] @blankeclair why the hell aren't you asleep? [15:17:33] does being sad kinda count? [15:17:46] Go hug Blahaj [15:18:00] i am... he's staving it from being a crying session [15:18:07] It's like 2am for you [15:18:15] surprised it's not three yet [15:31:05] are variants good when you have a consistent color design [16:23:34] psst.. chat... is it possible through mediawiki lua to check what namespace a page is on... [16:24:14] Module: [16:28:07] wdym, [16:28:49] Oh i misunderstood the question lol [16:29:08] Uh good question, if you can access magic words yea, not sure how to do that rn [16:29:23] Worst case you’d have to pass it in by the template wrapper [16:29:28] ough [16:30:35] there's def magic word for that [16:34:41] frame:getTitle()? [16:36:23] frame:getTitle().nsText I think [16:50:50] i wanna put this font called monospsace to my wiki [16:50:52] how do i do it [16:56:24] will try that Soon thank you [18:14:55] how do i make an infobox with tabs? [18:30:03] is it possible to achieve w/ js swapping of infobox and first paragraph on a page on screen size change? :ThinkingHardMH: [18:34:27] probably [18:34:37] you can move everything anywhere with js [18:34:40] Possible: probably [18:34:43] Fun: noooooo [18:34:48] true [18:45:22] sooo [18:45:27] is there a way to use templates inside of a nested tabber? mine breaks the nested part [18:46:28] Yeah, you need to replace | with {{!}} [18:49:16] what should i do with a table? [19:01:56] nvm im stupid [19:13:28] [1/2] does anyone know why its not rendering the template??? 😭 [19:13:28] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1349097915452493845/image.png?ex=67d1dcd8&is=67d08b58&hm=4a5466b9d424e754af29d3a82aac38e52058b5d58d307992f07917f66359a216& [19:13:50] [[mw:Extension:TabberNeue]] [19:13:51] [19:14:13] to put tabber inside tabber you should use parser function syntax instead of tags [19:14:53] [1/2] like this? [19:14:53] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1349098271401836644/image.png?ex=67d1dd2c&is=67d08bac&hm=bf75fb7286126c629b7f0527754b29cbae49d3bb0c6125b569c9f0156523e67a& [19:16:20] yeah [19:17:06] doesnt work sadly [19:18:13] tabber appear to be wonky as for recent [19:25:22] Hi on any article with Infobox officeholder in the infobox it always says “Ambassador to” how do I fix it [19:26:07] Link to your wiki? [21:02:47] dms [23:34:58] also this? [23:39:24] That’s a type of font [23:40:40] You can find monospaced fonts on https://fonts.google.com/?categoryFilters=Appearance:%2FMonospace%2FMonospace [23:42:55] How often do we have situations where people try to replicate a whole wiki project on miraheze? [23:45:17] wdym replicate a whole wiki project? as in fork a wiki project?