[00:44:36] Hispano76: Hi from this side😊 [10:27:56] @attoprak Please what's your wiki? so I can make the infoboxes for you. [10:35:55] My wiki is https://rubycraft.miraheze.org/wiki/Main_Page. I want to implement infobox templates: https://civwiki.org/wiki/Template:Infobox_civilization https://civwiki.org/wiki/Template:Infobox_person https://civwiki.org/wiki/Template:Infobox_settlement https://civwiki.org/wiki/Template:Infobox_alliance [10:35:55] [url] Rubycraft | rubycraft.miraheze.org [10:35:56] [url] Template:Infobox civilization - CivWiki | civwiki.org [10:35:57] [url] Template:Infobox person - CivWiki | civwiki.org [10:35:58] [url] Template:Infobox settlement - CivWiki | civwiki.org [10:35:58] [url] Template:Infobox alliance - CivWiki | civwiki.org [10:37:25] Okay [10:42:13] And I wasn't successful at all [10:44:47] In what aspect please? [10:45:53] Tried Special:Import and Special:Export, didn't work; tried copy-pasting, didn't work. [10:50:44] if you didn't import/copied basic infobox, non of them will work [10:51:40] and basic infobox depends on LUA modules [10:53:48] I have no idea what you mean and what to do. Sorry, I am new to Miraheze [10:56:33] if you did not imported these yet, you need to now https://civwiki.org/wiki/Template:Infobox https://civwiki.org/wiki/Module:Infobox and other modules I don't remember titles of, Ugochimobi will know better [10:56:34] [url] Template:Infobox - CivWiki | civwiki.org [10:56:34] [url] Module:Infobox - CivWiki | civwiki.org [11:00:01] Okay, what should I enter to other options? [11:00:01] https://cdn.discordapp.com/attachments/435711390544560128/867722642094161960/Ekran_Resmi_2021-07-22_13.59.48.png [11:00:33] @Legroom [11:12:41] So what should I do @Ugochimobi? [12:08:19] Anyone fancy helping? [12:15:41] there is nothing to enter in these options, I think do it like you did previously? [12:20:23] Okay, imported both of the pages you mentioned [12:20:24] What now [12:20:43] I've entered 'CivWiki' to Interwiki prefix [13:01:00] I am also okay with making templates from scratch if it is easier [13:18:35] Wait don't import [13:18:54] Have you already imported? [13:19:30] If no, then don't worry, I'll make them from scratch for you There'll be no issue in the future. [13:24:47] yeah, nothing worked [13:24:52] w/ import [13:25:48] Okay [13:25:55] I already did but I guess I will delete everything I imported recently [13:26:04] If I should, of course [13:26:20] I'll make it from scratch, that's the best thing you can ever have. [13:26:28] Hmm [13:26:54] Well, don't delete [13:27:08] But it's only gonna make it tougher for me [13:27:10] But [13:27:13] There may be conflicting and duplicate pages [13:27:19] I'll try and don't miss anything [13:27:27] Nahh [13:27:35] I can just delete if you want me to [13:27:51] So you could import anything you want [13:28:23] I always think the same way, I'd suggest everyone to make templates from 0, but knowing that not everyone are familiar w/ wiki matk up or even html, import could be easier but ain't going to code for someone (I'm way often too tired and busy w/ my own stuff) [13:30:53] As long as it's an on-wiki infobox and not an infobox provided by Portable infobox You must need Lua [13:31:35] Tell me what should I do and I will do it Ugo [13:32:20] I am really glad you are being okay with making infoboxes for us, trust me, I've been struggling with them since I created the wiki [13:34:04] as admins, you probably still will have to learn mediawiki, to maintain at least 50% of the site's technical field [13:36:03] Please grant me some rights like, Interface Admin and Administrator. Then, go to Special:ManageWiki/extensions and then find TemplateStyles extension and enable it. [13:37:46] .op [13:37:46] Attempting to OP... [13:38:26] A quick note to say Happy 6th Birthday to Miraheze and sorry there's no usual celebration on meta. [13:38:42] .deop [13:38:42] Attempting to OP... [13:39:01] WOOOOOW [13:39:32] RhinosF1: Is it exactly 22nd of July, 2015? [13:39:36] Anything else you want than Inferface Admin and Administrator? [13:39:48] Yes @Ugichimobi [13:40:00] Yeah, that'll be okay [13:40:16] Normally we have a big post on meta [13:40:21] But no one has done it this year [13:40:22] Okay, done, let me install extension [13:40:42] RhinosF1: Wow, I'm so glad there's something like Miraheze LTD. existing. [13:41:05] Installed TemplateStyles [13:41:09] Miraheze Limited (the company) is only like 18 months old [13:41:20] The project is 6 though [13:41:31] Okay [13:41:44] RhinosF1: 6? [13:41:56] Yes [13:42:03] 6 years [13:42:19] Oh, I get now [13:44:43] Any guidelines for the favicon like size? [13:44:57] I have installed one but it worked for a day [13:46:57] @Legroom the reason why I don't always go for Importing Infobox is that all TemplateStyles (like ||Template:Blablabla/styles.css||) are going to come in as plaintext and not sanitized CSS, especially when the wiki doesn't currently have the template style extension installed. [13:47:38] What do you mean? [13:51:46] I updated 60x60 .ico favicon file to wiki and entered destination of the uploaded page to settings panel for favicon [13:52:16] But it only seen it at favicon for a day and it reseted back to default after that [13:52:55] all these are favicons [13:52:55] https://cdn.discordapp.com/attachments/435711390544560128/867766157129940992/Ekran_Resmi_2021-07-22_16.52.39.png [13:55:46] isn't favicon should be 16x16? [13:56:05] at least I always go for 16px [13:56:07] 16x16, sorry [13:56:13] hm [13:56:36] oh yeah, that's messy [13:59:54] what are pros of TemplateStyles, anyway? I'm just used to css pages and @import [14:02:51] Template styles actually provides styling for a particular template or probably Module [14:04:36] And favicon doesn't necessarily need to be in a specific size to fit If you have an image that's 150 x 150px and set it as your favicon, MediaWiki will still make it compatible with favicon side, maybe I should say auto resize [14:05:45] does it make pages load faster or something? [14:06:33] Yes [14:06:49] Because you're only loading css classes where it's needed [14:07:03] Not on every page [14:08:37] Yeah [14:14:58] How about file type? Should be .ico? [14:15:13] No [14:15:19] I prefer .svg [14:16:33] Besides the full name (Scalable Vector Graphics) says it all [14:18:02] Right [14:21:43] Let me know if I should do something or I should tell something [14:24:56] I'll soon be done with the Infoboxes [14:27:10] Really? Wow [14:29:41] Your Top-left logo has varnished, what did you set? [14:32:55] I changed it to svg [14:33:24] I can't see it, can you [14:33:25] https://cdn.discordapp.com/attachments/435711390544560128/867776344745967676/Ekran_Resmi_2021-07-22_17.33.17.png [14:35:10] Send the file link here [14:35:40] https://rubycraft.miraheze.org/wiki/File:Rubycraft-logo.svg [14:35:40] [url] File:Rubycraft-logo.svg - Rubycraft | rubycraft.miraheze.org [14:37:49] The logo seems to be big [14:37:50] But [14:38:14] https://static.miraheze.org/rubycraftwiki/1/14/Rubycraft-logo.svg Replace the $wgLogo link with the above [14:38:47] same with the favicon link too [14:39:00] How about Apple Touch? [14:39:28] Well, your choice, [14:39:50] What does link you sent do exactly? [14:40:52] That's the link to the static image on miraheze database, If I'm not mistaken [14:44:13] Okay, updated [14:44:19] It's enlarged [14:44:56] favicon is working now [14:45:39] Yeas [14:46:25] you need to make it a 150px by 150px image [14:47:06] Reduce the dimension, Upload to your wiki. [14:49:07] To get the static.miraheze.org link of every image, On mobile: Visit the image page, press and hold on the image and click Copy link address that appears on pop up On Desktop: Visit the image page and Rightclick on the image and click Copy link address that also appears. [14:56:57] as far as I get this one sets the favicon for browsers on mobile devices, well plus apple specific thingy [14:58:49] I know what Apple Touch Icon is, I asked if I should set it as static image too [14:58:57] I will make it 150x150 and try now [14:59:35] all these settings should be static [14:59:40] All you image links should be static [15:00:11] if you'll try to set background image, it also should be listed that way [15:01:38] Updated to 150x150 svg static [15:02:09] @Ugochimobi Are you done with infoboxes? [15:02:43] Not yet [15:02:50] Wait [15:03:08] Did you upload a fresh one? [15:03:12] Yes [15:03:19] Good. [15:03:33] Can you send me list of infobox template pages you are making and you made? [15:03:48] And Boom Your Logo looks fresh and clean now [15:03:59] When I'm done. [15:04:15] Okay, thanks [15:04:23] Logo haven't updated for me yet [15:05:03] It has, here [15:05:31] Oh yeah, just updated for me too [15:05:43] But still favicon haven't, maybe needs a browser restart [15:06:21] Everything has for me, [15:06:34] Just hold on for some seconds [15:22:05] @attoprak I think I'm done with the infoboxes you requested. https://rubycraft.miraheze.org/wiki/Template:Infobox_civilization https://rubycraft.miraheze.org/wiki/Template:Infobox_person https://rubycraft.miraheze.org/wiki/Template:Infobox_settlement https://rubycraft.miraheze.org/wiki/Template:Infobox_alliance :DoneMH: [15:22:06] [url] Template:Infobox civilization - Rubycraft | rubycraft.miraheze.org [15:22:07] [url] Template:Infobox person - Rubycraft | rubycraft.miraheze.org [15:22:07] [url] Template:Infobox settlement - Rubycraft | rubycraft.miraheze.org [15:22:09] [url] Template:Infobox alliance - Rubycraft | rubycraft.miraheze.org [15:23:30] Thank you so much! One last thing, ,s it possible to change Template names? [15:24:33] Yes [15:24:54] If so; 'Infobox Clan' for 'Infobox Civilization' 'Infobox Player' for 'Infobox Person' 'Infobox Player Group' for 'Infobox Alliance' [15:25:40] And can I modify templates a bit or should I tell you what should be removed/changed because I might break it [15:30:00] I hope and I think I can do it without breaking templates [15:30:35] I want you to do this by yourself now🙂 https://rubycraft.miraheze.org/wiki/Special:MovePage/Template:Infobox_civilization Visit this link to change the name, enter the new name as Infobox clan and then click move at the bottom. [15:30:36] [url] Permission error - Rubycraft | rubycraft.miraheze.org [15:31:37] it says: [15:31:37] https://cdn.discordapp.com/attachments/435711390544560128/867790995428737024/Ekran_Resmi_2021-07-22_18.31.30.png [15:31:51] should I delete it [15:32:06] Yes [15:32:25] Done! [15:32:28] https://rubycraft.miraheze.org/wiki/Template:Infobox_Clan [15:32:29] [url] Template:Infobox Clan - Rubycraft | rubycraft.miraheze.org [15:32:39] Then I guess I can do for others too [15:33:50] Yeah [15:34:20] You surely can. [15:35:09] And for this, If you find it difficult to tamper with the template, You can always ask for help here. [15:35:31] I or any other volunteer that can, will always help. [15:35:51] Is it possible to save it as draft so you can have a look before losing actual template [15:41:26] I used to make a separate draft templates for such cases [15:41:49] but if you'll change something it can be undone via page history [15:41:55] Not bad. [15:42:16] I've updated Clan, not many changes though [15:44:39] @Ugochimobi When I try to insert clan infobox, I don't really see much [15:44:39] https://cdn.discordapp.com/attachments/435711390544560128/867794274037006347/Ekran_Resmi_2021-07-22_18.44.24.png [15:45:00] https://cdn.discordapp.com/attachments/435711390544560128/867794362745880596/Ekran_Resmi_2021-07-22_18.44.55.png [15:48:31] Click on Add more information [15:48:44] Other parameters will show up. [15:50:03] Oh right [15:50:12] Is there a way to make it shown by default [15:57:52] Not really [16:14:20] it goes for parameters that aren't necessary? i.e. {{{X|}}} [16:14:20] https://meta.miraheze.org/wiki/Template:%7bX [16:14:21] [url] Bad title - Miraheze Meta | meta.miraheze.org [16:14:28] lol [16:34:04] @Ugochimobi Do you have this theme problem too? (https://rubycraft.miraheze.org/wiki/Grand_Imperium) [16:34:04] https://cdn.discordapp.com/attachments/435711390544560128/867806707203178546/Ekran_Resmi_2021-07-22_19.33.54.png [16:34:05] [url] Grand Imperium - Rubycraft | rubycraft.miraheze.org [16:34:19] https://cdn.discordapp.com/attachments/435711390544560128/867806774807101520/Ekran_Resmi_2021-07-22_19.34.12.png [16:38:06] What's the skin name? [16:38:14] Citizen [16:38:29] You want citizen for you wiki> [16:38:54] It's not bad at all [16:38:56] Well, we want something modern and citizen is the most modern one so [16:39:22] if there is nothing better than citizen, yes [16:39:51] ^ [16:40:25] this is because you turned on dark mode from the extension [16:40:36] citizen already has a dark mode built in, so you can turn off this extension [16:40:59] (it's on the footer: dark mode/default mode with a sun/moon on the side) [16:41:00] Doesn't this white/black problem occur on you? [16:41:20] no. Literally explained why rn [16:41:31] Someone should update the news box on Meta's homepage [16:42:33] I don't remember I turned dark mode on from the extension [16:42:41] I think it is based on my system theme [16:43:10] i don't think you understood [16:43:29] on the footer, there's this thing called Dark Mode, which is a completely different extension (not related to the skin) [16:43:30] https://cdn.discordapp.com/attachments/435711390544560128/867809082878591036/unknown.png [16:43:41] you clicked it and now it inverts the hue [16:43:57] turn off (click "Standard Mode") and it will go back to normal [16:44:11] Citizen already has a dark mode built in, so you can turn off the extension from ManageWiki [16:44:13] Sario: also very true [16:44:17] Sario: I just dropped the information on the [[Talk:Main Page]] [16:44:17] https://meta.miraheze.org/wiki/Talk:Main_Page [16:44:17] https://meta.miraheze.org/wiki/Talk:Main_Page?action=edit&redlink=1 [16:44:18] [url] Talk:Main Page - Miraheze Meta | meta.miraheze.org [16:44:19] [url] Talk:Main Page - Miraheze Meta | meta.miraheze.org [16:44:21] Why did today have to be my busy day [16:44:43] Because it's a day that ends in 'y'? [16:45:05] Sario: Thursday is extra busy [16:45:09] Sario: hehe, so accurate [16:45:10] What's extension name? [16:45:22] I spent 3 hours in a meeting that could have been a 5 minute email [16:45:24] DarkMode [16:45:29] creativity [16:45:29] DarkMode [16:45:31] But yeah most days fit busy [16:45:34] RhinosF1: I hate those [16:45:58] Sario: yeah it's not fun [16:46:21] The thing is people ask questions [16:46:34] That the answer is in front of them for [16:46:51] Infobox is still white on me on the default dark mode [16:46:52] https://cdn.discordapp.com/attachments/435711390544560128/867809930475208764/Ekran_Resmi_2021-07-22_19.46.27.png [16:49:38] it's because the infobox is white. This is where the CSS comes [16:50:07] you can specify some predefined classes for it or create your own using media query selectors (yeh not really beginner friendly) [16:50:37] tho I don't know if Citizen comes with predefined classes that swap light with dark :think3d: [16:50:49] maybe @alistair3149 knows [16:51:34] It is because the infobox is white [16:51:57] You can use .skin-citizen-dark as the selector for dark mode. Alternatively you can use the CSS variables [16:52:28] How exactly [16:53:07] Depending on how you style your infobox [16:53:29] Ugo knows that [16:54:02] Is it possible to style infobox for dark mode and force citizen to use dark mode [16:56:25] You can set $wgCitizenThemeDefault to dark, but it does not have an option to force dark mode yet [17:40:46] Where should I enter $wgCitizenThemeDefault? [17:43:39] Your wiki is actually Light theme on my side though [17:46:50] But you can find that setting @alistair3149 mentioned above at Special:ManageWiki/settings, Under Styling tab, scroll down and find Citizen Theme Default ($wgCitizenThemeDefault) [17:46:57] @attoprak ^ [17:48:07] on miraheze you don't need to type such $wg stuff - it's all in manage settings [19:38:16] I can't make Preview extension work for some reason [19:38:44] It's dependencies are already installed as it has to be to install the main extension [19:46:21] some of these preview like extensions seem to be broken [19:46:29] not sure, really [19:47:08] I tried tooltips which has the same dependencies, it didn't worked well [20:00:31] You have page image and text extract? [20:05:22] Yep [20:11:40] Well sometimes server slows down and it'll come back to normal again [20:12:07] So just leave that at the moment, it'll come back to normal. Although it works well on FAMEPedia [20:13:44] It haven't been working until morning I guess [20:14:24] Are you sure it isn't only at your end? [20:14:42] Clear your cookies and cache and try using the popups [20:14:53] If it works know that it's only at your end [20:15:12] I'm currently on mobile, otherwise I'd try out over here [20:22:59] just set up TemplateStyles on two css heavy templates for articles, works well but I need an advice in case of infoboxes: - there are base classes that are applied on all infoboxes - and then there are infobox type classes that give look and a bit of image formatting (like themes on portable infoboxes) so, question is - should I leave the base ones in common.css or insert them along w/ theme classes on every */styles.css page? [20:23:17] I don't think it's on my end, @Legroom can you please test it out to see if other people have the same issue too [20:25:54] I'm not by PC, sorry [20:29:21] Yes to the question. [20:29:38] Send your wiki link again, I'm on PC now [20:29:45] tes what lol [20:30:04] there are two variants [20:30:54] I missed something, lol. [20:31:00] https://rubycraft.miraheze.org/wiki/Main_Page [20:31:00] [url] Rubycraft | rubycraft.miraheze.org [20:32:22] Hey what skin is that?@ [20:32:37] just specified lol [20:39:02] It works for me [20:39:42] Okay then, thank you [20:39:51] Plus [20:40:16] Those pages in Directory: will not show up on popup [20:41:31] Pages like Rubycraft, Rubypack, WorldSculptor, Grand Imperium showed up [20:44:08] That is Citizen [20:44:15] Hm ok, pretty nice [21:49:21] Hi, how do I add a custom css to my wiki? [21:53:38] On MediaWiki:Common.css or for a specific skin, MediaWiki:[skin].css [21:54:50] miraheze [21:55:23] that's mechanism of all wikis [21:56:39] thanks