[02:22:45] need second opinions, does this look good? https://cdn.discordapp.com/attachments/244634569813262346/832434549623095306/unknown.png [10:31:32] Hello kiwimeansnoytutb! If you have any questions, feel free to ask and someone should answer soon. [14:31:43] @Peppermint Patty, LGTM, perfect in fact, assuming you want your exampledomain.com to point to your wiki. [14:32:30] Oh wait, you should delete the A record pointing to @; that will likely cause an issue [18:20:23] is there a way to not have to fill out the reason field, it's annoying when i'm trying to make quick changes [18:25:17] @VFDDan, you should be able to leave the reason blank, but I have seen many wiki users use short summaries like "tweak" or "config" when making changes to ManageWiki [18:25:31] s/VFDDan/VFDan [18:25:31] dmehus meant to say: @VFDan, you should be able to leave the reason blank, but I have seen many wiki users use short summaries like "tweak" or "config" when making changes to ManageWiki [18:28:01] doesn't let me make it blank [18:30:42] @VFDan, oh, I mean I wonder if we could set that for just your wiki to make the reason field optional? If not, I mean, we could potentially make the field optional, but it's sort of a safeguard to prevent accidentally leaving the field blank and hitting submit, so many wikis may prefer that [18:30:44] I just insert a dot on it [18:30:48] lol [18:30:52] or that ^ [18:31:04] yeah i do that sometimes too [20:24:33] I want to ask again because I don't remember if someone answered me: is it possible to request a tag on my wiki? In this case, a (it's for google fonts) [20:27:19] @Lake, I don't believe that is possible to set on a wiki-specific basis, but am not completely sure. paladox, do you know which file controls the metadata on wikis? [20:28:38] I'm not completely sure tbh [20:28:47] ok thanks [20:30:28] paladox, it looks like we'd need to write something called an output page before HTML hook, https://www.mediawiki.org/wiki/Manual:Hooks/OutputPageBeforeHTML. Do you know how to do that? [20:30:28] [ Manual:Hooks/OutputPageBeforeHTML - MediaWiki ] - www.mediawiki.org [20:31:16] yes, you can use wgHooks which runs the hook and executes the static function. [20:31:22] ah [20:35:35] Yes, I think I told you about a function last time you asked that. 🤔 [20:36:30] oh, hmm, I don't remember, sowwy [20:37:10] I just wanted to use a link with 2 fonts from Google Fonts. I'm trying to avoid using CSS import for that (because for each call, it makes a HTTP request) [20:40:06] https://discord.com/channels/407504499280707585/435711390544560128/813999144837840928 Apparently not. [20:40:06] [ Discord ] - discord.com [20:42:14] @Lake, you want https://doc.wikimedia.org/mediawiki-core/master/php/classOutputPage.html#a0a5a13c217ca4eed7a88945bd63ec730. [20:42:15] [ MediaWiki: OutputPage Class Reference ] - doc.wikimedia.org [20:43:44] oh right, well, I will make a request then, thanks [21:08:07] @dhemus regarding the Custom domain request for trollpasta.com, where does the issue lie? [21:09:07] @Lake: Is there a task? [21:09:21] yes, [[phab:T7146]] [21:09:22] https://phabricator.miraheze.org/T7146 [21:09:23] [ ⚓ T7146 Add to ] - phabricator.miraheze.org [21:10:46] Reading [21:12:22] @Peppermint Patty, your custom domain request looks okay actually. There doesn't seem to be an issue, but trollpasta.com will be a parked domain page and www.trollpasta.com will be your wiki. I'd think you'd probably want to instead of trollpasta.com be a web redirect to www.trollpasta.com, but either is fine [21:13:38] ah okay. how do I make trollpasta.com the default one then? [21:14:24] @Lake: you'd still make the http request with the head tag just earlier in the process [21:15:02] @Peppermint Patty, does GoDaddy let you create a CNAME record for trollpasta.com? If so, just delete the A record for trollpasta.com, then create a new CNAME record, entering `@` as the host and `mw-lb.miraheze.org` as the target. [21:15:15] when that's done, you can update your Phabricator request [21:15:35] will do once I'm on my main computer [21:15:37] I don't know what dmehus means by not possible on a wiki specific basis because we already do it for meta tags [21:16:31] RhinosF1, WikiSEO and Add HTML and Meta don't add the tags to the wiki wide. You have to add specific meta tags to individual wiki pages [21:17:00] and I said I didn't think it was possible, not that it wasn't possible [21:18:23] dmehus: we do it in LocalWiki for numerous wikis [21:18:48] What @R4356th said looks like it would work [21:19:28] dhemus, do I also remove this? [21:19:28] https://cdn.discordapp.com/attachments/435711390544560128/832726911951437834/unknown.png [21:20:35] RhinosF1, yeah, what R4356th said above is also what I said. I did mention the same thing? [21:21:37] dmehus: yes you gave a hook although we seem to use a different one for $out->addMeta. R4356th gave a method for adding the link attribute. You have where in MediaWiki's processing it would be executed. [21:22:24] whoops, not sure if you can see the image on IRC, here's the link https://cdn.discordapp.com/attachments/435711390544560128/832726911951437834/unknown.png [21:22:41] RhinosF1, yeah, exactly, I realize that. I didn't know whether we already had the hook in place, though [21:23:00] but yes, if we have that set up already, then yeah we'd just need to add the link attribute [21:23:59] Peppermint Patty, that will need to be updated. I'd probably delete that one and set it up as a web redirect in GoDaddy. I forget off hand what the type of records are in GoDaddy's DNS. Can you refresh my memory? [21:24:20] dmehus: we seem to use a different hook, I have no clue why [21:24:36] RhinosF1, oh interesting [21:25:02] putting @ as the host doesn't work at all [21:25:25] * dmehus is logging into his old GoDaddy.com account to see if he can have a look [21:28:08] dmehus: yeah yours has a bunch of warnings whereas https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay which we currently use seems more recommended [21:28:08] [ Manual:Hooks/BeforePageDisplay - MediaWiki ] - www.mediawiki.org [21:28:49] RhinosF1, yeah I saw those. I didn't look a little further to see if there were other hooks that could be used [21:28:56] that makes sense why we use that one [21:29:10] Then as was $out->addLink(whatever) [21:29:32] so then you just need to do the add link for Lake on his wiki then? [21:29:59] @Lake , I can take care of that if you would like. 🙂 [21:30:14] Unless Sysadmins are already working on that, obviously. [21:30:54] @Peppermint Patty, what error do you get when trying to enter `@` in the `host` field and `mw-lb.miraheze.org` in the `points to` field? [21:31:14] dmehus: youd do an if statement in LocalWiki [21:31:26] @R4456th: feel free to send a patch [21:31:42] https://cdn.discordapp.com/attachments/244634569813262346/832457652931526706/unknown.png [21:32:38] RhinosF1: Okay. [21:33:11] RhinosF1, ack, yeah, and R4356th, thanks [21:34:00] Peppermint Patty, it looks like there might be a space before the `@`. Can you try deleting the space? If there's no space, let me know [21:34:39] there is no space [21:36:32] Peppermint Patty, ah okay, so GoDaddy doesn't seem to support A records with @ set as the host. So there's a couple options if you want. We could either (a) have Miraheze host trollpasta.com's DNS zone record for you (i.e., sysadmins would add DNS records for you; all you'd need to do is change the NS records to Miraheze), (b) we could investigate running the SSL script with an A record versus a CNAME record, or (c) you would just use [21:36:32] `www.trollpasta.com` instead of `trollpasta.com` [21:36:43] s/couple/three [21:36:43] dmehus meant to say: Peppermint Patty, ah okay, so GoDaddy doesn't seem to support A records with @ set as the host. So there's a three options if you want. We could either (a) have Miraheze host trollpasta.com's DNS zone record for you (i.e., sysadmins would add DNS records for you; all you'd need to do is change the NS records to Miraheze), (b) we could investigate running the SSL script with an A record versus a CNAME record, or (c) you [21:37:29] musikanimal: do you have any intent on working on https://phabricator.wikimedia.org/T241925 ? I think a while back you considered it as a volunteer too. Someone has proposed we don't have DarkMode on by default anymore. [21:37:30] [ ⚓ T241925 Dark mode does not persist between pages ] - phabricator.wikimedia.org [21:38:58] https://cdn.discordapp.com/attachments/244634569813262346/832731675631812608/unknown.png the @ stays the same while the others get changed to mw-lb.miraheze.org, right? [21:39:35] https://github.com/miraheze/mw-config/pull/3831#issuecomment-821577521 musikanimal [21:39:36] [ Do not enable DarkMode by default by R4356th · Pull Request #3831 · miraheze/mw-config · GitHub ] - github.com [21:41:02] @Peppermint Patty, that screenshot shows your NS records, which tell the .com root servers where to find your domain's zone file. Which option are you wanting to proceed with, A, B, or C, so I can help you out? [21:41:55] option a, assuming that's what'll get my site to be on the trollpasta.com domain [21:42:27] @Peppermint Patty, okay let me get the nameservers, but I think they're: [21:42:27] `ns1.miraheze.org [21:42:27] ns2.miraheze.org` [21:42:38] Let me double check that though before you change them [21:44:04] @Peppermint Patty, yep, so all you need to do is update your `NS` records to `ns1.miraheze.org` and `ms2.miraheze.org`, then I can take care of creating your zone file for you [21:44:38] on it [21:44:58] ok [21:47:55] won't let me edit those [21:49:13] @Peppermint Patty, oh right, that's probably done in a separate section of your Domain Manager [21:49:34] let me google that [21:50:09] @Peppermint Patty, can you follow this instruction page (https://ca.godaddy.com/help/change-nameservers-for-my-domains-664)? [21:50:09] [ Change nameservers for my domains | Domains - GoDaddy Help CA ] - ca.godaddy.com [21:50:51] Select "Enter my own nameservers (advanced)" then follow the instructions provided [21:51:35] on it [21:55:40] https://cdn.discordapp.com/attachments/244634569813262346/832735727997288508/unknown.png [21:55:42] well this is weird [21:55:57] I changed the NS's [21:56:12] Yeah that's correct [21:57:49] @dhemus did you mean ns1 and ns2? instead of ms2? [21:58:49] ns1 and ns2 yes [21:59:44] aight I did it right, then [22:02:27] dmehus can proceed with creating my zone file [22:03:10] @Peppermint Patty, okay, cool. It can take a bit for your nameservers to update, but your zone file has been added at https://git.io/JO8WW. @RhinosF1, are you able to run the SSL script and generate a cert for Peppermint Patty, and just get Paladox to do the private key part? [22:03:12] [ Creating zone file for trollpasta.com by dmehus · Pull Request #202 · miraheze/dns · GitHub ] - git.io [22:05:37] RhinosF1: replied at https://github.com/miraheze/mw-config/pull/3831#issuecomment-821587632 [22:05:38] [ Do not enable DarkMode by default by R4356th · Pull Request #3831 · miraheze/mw-config · GitHub ] - github.com [22:07:05] RhinosF1, this is why I wanted a separate fields for approve and decline reasons [22:07:13] I can see how you accidentally approved that [22:07:19] since the approve reasons come first [22:07:29] The fact I clicked decline per content policy [22:07:52] oh, but you didn't change approve to decline [22:08:13] yeah I wanted the reasons to only apply to the specific action, make them conditional, essentially [22:08:27] Oh that's stupid [22:10:12] I'm filing a task when I don't have 10 different people messaging me [22:11:25] RhinosF1, ack [22:12:05] dmehus: 23:11 is a bit late for me multitasking failing computers, Phabricator and friends with anxiety [22:12:31] @R4356th sure, thanks! [22:12:57] RhinosF1: yeah, but afaik, does not impact as much as @import [22:13:12] It shouldn't because of load order ye [22:13:23] Browsers can load before @import [22:20:12] I'm off to sleep before my phone goes off again [22:22:17] RhinosF1, ack, okay, thanks :) [22:28:32] @Peppermint Patty, do you want `www.trollpasta.com` to be set up as a redirect to `trollpasta.com`? [22:29:21] yes [22:30:20] @Peppermint Patty, okay, sounds good. I'll update the Phabricator task [22:30:27] nice [22:32:57] paladox, are you around not too busy? DNS seems to have propagated to Miraheze. Would you mind running the SSL cert script for https://phabricator.miraheze.org/T7143? If you're busy, not to worry, Reception123 can take care of tomorrow [22:32:58] [ ⚓ T7143 Custom domain ] - phabricator.miraheze.org [22:36:42] done [22:37:26] should be noted that trollpasta.miraheze.org and trollpastawiki.miraheze.org are different sites. trollpasta.miraheze.org appears as trollpastawiki in the database, while trollpastawiki.miraheze.org appears as trollpastawikiwiki [22:38:23] paladox, thank you. did you make it a wildcard cert, so we can add www.trollpasta.com as a redirect? [22:38:30] no [22:38:32] hmmm, I thought www automatically redirected to domain.com [22:38:48] @Lake, not by default, no. It has to be set up [22:41:08] now it has www. [22:41:16] paladox, ty :) [22:41:30] preferably we *should* only do wildcard if we're planning to have more than one subdomain [22:41:42] since wildcards are harder to maintain as it requires manual renewals [22:42:13] i've included www. in the cert so it shouldn't have this problem. [22:43:34] paladox, yeah, this one seems a bit easier to set up since the zone file only has one entry. this just allows www. to actually redirect to the wiki instead of miraheze.org [22:45:24] oh heh you set the custom domain in ManageWiki locally rather than on Meta [23:00:53] nice, thanks! [23:00:58] I assume it'll take a bit to update [23:57:35] Peppermint Patty, yeah. It works for me, but if you may be able to accelerate it by running Command Prompt (on Windows) and typing `ipconfig /flushdns` [23:58:48] works for me too [23:58:55] however, www.trollpasta.com doesnt redirect to trollpasta.com [23:58:58] okay, cool :) [23:59:16] it's weird [23:59:33] Peppermint Patty, oh, crap. I'm not sure what's wrong then. I'll ask Paladox or Reception123 to fix that then. Should be fixed tomorrow [23:59:45] 👍