[00:13:24] is there any way to target the css of only the front page? [00:13:44] specifically the mw-content section [00:14:55] idk if :has() would be suitable [00:16:41] oh maybe i could use rootpage-* [00:21:37] how can you send links, when creating a support thread? [00:22:41] Use /auth to be able to send links, or just remove the https:// [00:23:22] super, thank you [00:24:21] update, using `.rootpage-YOUR_WIKI #mw-content` works perfectly [00:27:47] e [00:55:37] Try maybe something like [[Extention:TemplateStyles]] [00:55:37] https://meta.miraheze.org/wiki/Extention:TemplateStyles [00:55:38] [00:55:43] guh [00:58:40] oh thats a good solution, i think the one i found works too but ill definitely keep this in mind for future bc it seems helpful [02:47:04] [1/4] hi, quick question [02:47:05] [2/4] i have a table that i want to populate with the week number (since the start of an event) and the time remaining to the next week [02:47:05] [3/4] i have no problems with the week number, but how do i display the time remaining to the next week of the event? [02:47:05] [4/4] (preferably in d:hh:mm:ss format) [03:02:55] hey can someone help me [03:09:07] does anyone know if theres a way to disable the flex ordering of mw-related-navigation in the Timeless skin? i want to bring it back over to where mw-site-navigation is, but any attempt to change the flex order just displays it beside the site nav, not under. it correctly works on a smaller screen size bc the original stylesheet accomodates for this [03:11:23] https://www.mediawiki.org/wiki/Extension:CountDownClock not sure if this extension would help? [03:21:12] [1/2] i've checked this one, but i don't think it does what i need it to as i will need to constantly update the end time [03:21:13] [2/2] i'm looking for a solution using parser functions [03:21:18] thanks for the suggestion though [03:22:15] no worries, its out of my element so i hope someone has an idea for you!! [03:22:20] thank you! [03:28:08] don't ask to ask, just ask [03:29:24] Someone should make a server, where everyone gets ONE qeustion, maybe then people would stop asking if they can ask, as that would use up their one qeustion 😛 [03:29:55] Everyone would just use up their one question [03:30:43] hmm yeah you might be right xD [03:47:24] [1/6] update: i've kinda found a way, but i need somebody to complete it [03:47:25] [2/6] my method is [03:47:25] [3/6] ``` [03:47:25] [4/6] (endDateUnixTS - currentUnixTS) mod (7  24  3600) [03:47:26] [5/6] ``` [03:47:26] [6/6] this produces the number of seconds to the next week. how do i convert this into d\:h\:m\:s format? [04:31:33] , You'd basically stick your output into some variant of `{{#time: | (calculation) }}` [04:31:33] https://meta.miraheze.org/wiki/%23time:Template:_%3cformat%3e_ [04:54:28] [1/2] tried, and here's the problem. [04:54:28] [2/2] my formula outputs the time as a raw number of seconds, which #time does not accept [04:56:57] [1/2] or rather, it might accept it, but won't produce what i expect [04:56:58] [2/2] `{{#time: d:h:m:s | (thatFormula)}}` gives `Error: Invalid time.` or some random value [04:56:58] https://meta.miraheze.org/wiki/%23time:Template:_d:h:m:s_ [04:58:10] Ah, stick an ampersand at the start `{{#time: d:h:m:s | @(thatFormula)}}` [04:58:10] https://meta.miraheze.org/wiki/%23time:Template:_d:h:m:s_ [04:59:42] wouldn't that make the output of that formula into a unix timestamp? [05:04:58] nvr mind it works, thank you so much! [05:14:14] To clarify, since the output of the formula is a unix timestamp (from the sounds of things) it just tells the `#time` parser function to treat it as one. [05:23:35] actually no, i need to subtract one day from the output of this time function, which i cannot do [05:23:49] because unix timestamps start at january 1 and not january 0 [05:26:47] is there a parser function for time offsets? [05:28:10] Could try with `{{#time: z:h:m:s | @(thatFormula)}}`, as that's zero-indexed. Otherwise, probably just change the formula to something like `(endDateUnixTS - currentUnixTS - 3600) mod (7  24  3600)` [05:28:10] https://meta.miraheze.org/wiki/%23time:Template:_z:h:m:s_ [05:30:51] Oop, that was only an hour's offset, fixed [05:31:41] wouldn't that formula produce wrong values for differences less than a day? [05:31:53] i'll try that expression first [05:33:47] ok that expression seems to work, i'll test it with some real-world values [05:38:58] and to confirm, there's no way to make this timer live, correct? [05:41:13] Not without JavaScript, which would be it's own can of worms [05:41:40] right, i was wondering how the other wikis were doing it [05:53:31] [1/2] also i just remembered i had to change m to i because m is a month and i was wondering why it was stuck at 01 [05:53:31] [2/2] 😅 [10:15:16] Where does $wgLogo appear in? [10:23:53] it'll replace the default miraheze logo, so for example on vector legacy it'll appear in the top left corner [10:24:20] but it depends on the skin [10:24:21] I see my wiki is set in vector 2022 [10:29:55] By the way for vector 2022 skin, how to switch out the top left Wiki Logo Text? [10:33:07] that must be wordmark [10:33:41] Thanks [10:53:49] Just dropping in for a second to say thanks again to all the volunteers/people who work on the stuff here which keeps it all running and for all the support. 🙇‍♂️ [10:55:23] [1/5] Hey [10:55:23] [2/5] I was just wondering if anyone knows of an easy way to link pages? Basically I have a series of chapters, and I would like to make it so [10:55:23] [3/5] <(prev chapter) (Next chapter)> [10:55:24] [4/5] so it links? But it's kind of a pain to do manually every time, since there's so many chapters. If not it's fine I'll live, just wondering if there's some trick that I'm missing. [10:55:24] [5/5] Also are you proud of me I created a template for chapters and I think it's working [10:57:30] I very much feel like I'm doing everything in The Most Complicated Way Possible, and for once, I'd like to make things easier for myself [11:00:24] you want it to be in infobox or like separate template above/bellow article? [13:29:06] The extension MobileDetect is not the same as MobileFrontend, right? [13:31:43] they different extensions [13:32:51] Alright, just wanted to make sure, an editor was trying to do something but was able to resolve it [14:48:11] i don't understand why websites don't use this effect more [14:48:12] it's sick!! [14:48:30] (this example is just a test) [14:54:24] https://youtube.com/shorts/VsDEK2ohbv8 imagine wikibricks [14:58:58] question though [14:59:06] how do i make it centred relative to the actual wiki page [14:59:11] rather than the browser width [15:03:22] `background-image: center center` doesn't seem to d oit [15:07:01] rip [15:08:36] <.tounae_official> Is anyone meeting this problem? [15:09:04] yes [15:09:16] why is the timing always so bad 😭 [15:09:28] it's my first time editing my wiki in like 2 weeks [15:09:40] <.tounae_official> oh [15:10:24] <.tounae_official> it's back [15:13:58] and crashed again [15:17:47] andback again [15:23:53] man why everything be crashing [15:23:57] ChatGPT is down again [15:28:25] are ParserFunctions not enabled on Miraheze? [15:28:26] i thought they were [15:28:44] the `{{#for:` loops aren't working [15:29:39] Useless most of the time, and people want to read actual contents, not the image behind that. [15:29:46] they are [15:29:57] enabled [15:30:08] are you sure your code is correct? [15:30:43] any idea why the site keeps crashing this morning? [15:30:48] grah i would love to check [15:31:02] `{{#for:1|{{{1|1}}}|1|
}}` [15:31:02] https://meta.miraheze.org/wiki/%23for:Template:1 [15:31:11] seems correct [15:32:57] `{{#for: 1 | {{{1|1}}} | 1 |
}}` [15:32:57] https://meta.miraheze.org/wiki/%23for:Template:_1_ [15:33:51] i definitely have it enabled... [15:34:14] wait i'm not seeing a `for` loop on that page [15:34:49] i guess i'll just use `{{#loop:` instead [15:35:17] yeah that worked [15:35:30] not sure why i was told to use `{{#for:` initially... [16:36:51] is there a way i can turn off talk ages for my wiki? [16:37:33] like i can remove the talk page icon from showing up [16:48:20] [1/3] Hey all, quick questions: [16:48:20] [2/3] How do I make pages that use different CSS than the wiki default? [16:48:20] [3/3] How do I make the CSS extension be able to import said custom CSS? [17:05:25] yeah, w/ CSS + you can limit talk page namespaces to be edited only by admin, since they are still accessible via URL [17:28:41] [1/2] I'll teach 10people to earn $50k within a week but you will pay me 10% of your profit when you receive it. Note only interested people should apply, send me a DM or drop a message let's get started by asking (HOW) via WhatsApp [17:28:41] [2/2] +1 (707) 831-7330 [17:40:11] is there any way i can make it so that it's gone all the way? [17:40:38] nope [17:40:47] talk pages are like, hard coded [17:40:55] - [18:31:13] when are wiki requests checked? [18:40:04] I just need to wait now for my custom domain be ready? [19:37:25] Yes [19:47:41] Ok, ty! [20:24:39] mine was literally approved on the day I sent in my request, but I know some people wait a couple days to a week or so, so you'll just have to be patient and keep refreshing the apge [20:34:02] all depends on the availability of our wonderful volunteers [20:38:37] also volunteer might request to specify something in your request [20:38:54] thus putting review on hold till user replies [21:14:00] [1/3] There are two main ways I know of: [21:14:00] [2/3] 1. Create a `common.css` subpage (no capitals) and put the page-specific CSS there (e.g. `Johnny Cage/common.css`) [21:14:00] [3/3] 2. Create a template that uses [](https://www.mediawiki.org/wiki/Extension:TemplateStyles) to import CSS from a page of your creation. Then apply the template wherever you want the CSS to be applied. [21:14:54] idk what that 2nd question is talking about tho [21:29:31] Ah, I was asking this because a friend of mine attempted to use the CSS Tag with a page they made, but it ended up changing nothing, so we wanted to check if we got everything right [21:29:42] Thank you though, we will try what you said! [21:29:47] oh i see [21:29:54] i think CSS tags are disabled on Miraheze [21:29:58] i know JavaScript tags are [21:30:50] yeah `