[00:30:28] [discord] Sent [12:59:41] [discord] It seems the import is done and now we're in the last stages of rebuilding links and such to finalize the import. [13:37:46] [discord] Awesome. I'll log into the wiki in a bit, and then probably file a request to get the authorship script rename run for my account, followed by a request for being ready to have rosettacode.org NS records point to MH. [13:38:24] [discord] Oh, and there's enabling the Semantic MediaWiki extension. [13:38:34] [discord] SMW has been enabled [13:42:43] [discord] Main_Page is currently the default landing page. Historically, that would have been Rosetta_Code. Can this be tweaked server side, or should I move Rosetta_Code over to Main_Page? [13:43:08] [discord] You can change where the main page should be by editing `MediaWiki:Mainpage` [13:44:23] [discord] Ok, that's set properly, but when I navigate to https://rosettacode.miraheze.org/ , it redirects me to https://rosettacode.miraheze.org/wiki/Main_Page . Ditto if I click on the "Rosetta Code" site name in the top-left. Is this one of those things that will come with the link rebuilding? [13:44:24] [url] Rosetta Code | rosettacode.miraheze.org [13:44:24] [url] Rosetta Code | rosettacode.miraheze.org [13:46:06] [discord] Perhaps try a dummy edit and change the value of that to something else and then change it back to see if that makes MediaWiki respond correctly [13:47:46] [discord] That worked. Though it didn't need to be a dummy edit. There was apparently a blank line at the end of MediaWiki:Mainpage, so the content was "Rosetta Code\n", rather than "Rosetta Code". Removed the newline, mainpage works. [13:47:57] [discord] Ah, great! [13:49:59] [discord] I'll need to figure out email. I've got a couple old email addresses I've received mail at on and off @rosettacode.org. If I point my NS your way, will I be able to get MX records added? Or will I need to keep NS my way, and add A, AAAA, CNAMEs to point to MH? [13:51:11] [discord] Yeah, we can set DNS records on our end or you can keep your current DNS setup and just point the root domain and www to Miraheze [13:51:54] [discord] SG. That'll be my next step, I suppose. But I really need to get my morning exercise session in, so AFK for a bit. [13:52:05] [discord] Progress today has been epic. Feeling great about this. Thanks! [13:52:18] [discord] No problem, let us know if you need anything further [14:08:06] [discord] @mikemol Hi, just to let you know that your import is complete [14:08:34] [discord] Do you think you could run assignImportedEdits for his account? [14:08:52] [discord] per this request ^ [14:09:23] [discord] Yeah, will look [14:26:13] [discord] @Agent hmm it seems to be one of those weird ones where it doesn't like that the user (Short Circuit) doesn't exist [14:26:16] [discord] maybe @CosmicAlpha knows what to do [14:29:03] [discord] that's odd [15:57:38] [discord] I've pointed my NS records over, since I can't get NetworkSolutions to let me manage the records directly and I can't get them to let me transfer the domain over to my Tucows reseller account. So that's fun. Filed a request for SSL for a custom domain: https://phabricator.miraheze.org/T9687 [15:57:38] [url] ⚓ T9687 SSL for custom domain: rosettacode.miraheze.org/rosettacode.org | phabricator.miraheze.org [16:09:33] [discord] (Longstanding issue between me and NetworkSolutions. I started the site back when they were nearly the only game in town, and domains were USD 95/yr. And I've attempted transfer out of there several times, but their process failure modes are opaque and designed for quiet, silent retention. And it'll be another 60 days before I can try again.) [16:10:49] [discord] that's a name I haven't heard in quite some time [16:11:02] [discord] mainly because I dropped them rather quickly when I did [16:11:59] [discord] Yeah, I went with them because I knew them from when my family ran an ISP in the 90s. At this point, this domain is the only thing left I have to do with them, and I've had several failed transfer-out attempts in the last fifteen years. [16:12:11] [discord] A Site Reliability Engineer or SSL admin will process that request shortly. I would advise you list what DNS records you want set so that we can do that too while servicing the SSL request [16:12:33] [discord] my condolences for having to deal with that nonsense [16:13:15] [discord] Should just be some MX records, but I'll see what those need to be; I was able to at least set that up through OpenSRS. [16:14:59] [discord] Once I can get the domain transferred out to a decent registrar, I'll manage the records in detail myself. Which will be nice... [16:18:25] [discord] Updated with the records identified by the opensrs docs. [16:19:56] [discord] Hey, so is there any way to be able to delete images en masse on Miraheze? I'm an administrator on Closing Logos Group Wiki and am working on clearing out unused images to free up space, and the wiki has almost a whopping **4.5k** unused images and there's no way that I'll be able to delete all of that in just one sitting. [16:20:42] [discord] Back in the day, I wrote a wiki bot in Perl to automate that kind of thing. [16:21:04] [discord] These days I'd do it in Python, but the principle is the same. [16:24:26] [discord] Ooof I don't know the slightest about coding 😵‍💫 Thanks for the suggestion, though! [16:25:53] [discord] We can probably pull a list of unused images and delete them via the shell. Open a Phabricator task and we'll see what we can do [16:27:50] [discord] Getting on it! 👍 [16:39:35] [discord] I remember using an ajax script for that on fandom [16:41:59] [discord] When we delete the images, is it okay to also run a script that completely deletes and purges them from our servers? [16:42:27] [discord] in other words, irrecoverable [16:43:53] [discord] If it's possible, I would prefer for them to be able to be recovered just in case 👍 [16:44:08] [discord] Thanks guys! 😁 [16:47:25] [discord] I see [17:01:13] [discord] Approved the mass deletion. I did post some files to be removed from the list and be left intact if possible just in case, so make sure to review it [17:09:32] [discord] Camenati also posted a few more [18:36:13] [discord] Hm. Images seem to have not uploaded. [18:40:28] [discord] Oh, OK, some of them uploaded? But not one that had a space in the filename. NBD. [19:05:41] [discord] Files are not included in the XML dump. If you'd like for us to restore files, you can compress your `images` directory and then send it to us and we'll upload them via the shell [19:12:18] [discord] Files are included in the dump if the script generating the dump has the right parameters. Most of my wiki files are intact. [19:12:58] [discord] I think. I saw them listed, anyway, but didn't look closely at them. I only noticed one file which didn't make it at all. [19:13:59] [discord] Ah, I see, interesting. I've never heard of files being included in an XML dump [19:14:18] [discord] Miraheze doesn't tend to include inages with dumps, so at the very least miraheze isn't too familiar with that practice by default; the compress + send option would be a guaranteed way to get all the images in [19:14:26] [discord] at worst it would just overwrite what did come in and fill a couple holes [19:14:41] [discord] Miraheze doesn't include images with dumps, so at the very least miraheze isn't too familiar with that practice by default; the compress + send option would be a guaranteed way to get all the images in (edited) [19:15:43] [discord] Ok, that's just weird. I seem to have four states of files. Files I uploaded explicitly today, files which were already there, files which refer to wikipedia commons, and files which appear to be there from listings, but show up as missing when you visit the page. [19:15:48] [discord] So I'll do the compress-and-send. [19:33:37] Hello oatmealraisin! If you have any questions, feel free to ask and someone should answer soon. [19:34:32] Hello, I'm trying to import some templates from Wikipedia. I've gotten Module:Hatnote and Template:Main in, but I think I need the templatestyles extension [19:34:52] [discord] You can enable it at Special:ManageWiki/extensions -> Parser hooks [19:35:01] Tysm, checking now [19:38:26] Hmm, seems the checkboxes are greyed out. I'm administrator right now, do I need higher perms? [19:38:40] [discord] You need to be a bureaucrat to access ManageWiki [20:06:47] [discord] Something weird with the SSL setup: https://rosettacode.org/wiki/Rosetta_Code [20:07:10] [discord] @Reception123 ^ [20:07:12] [discord] https://cdn.discordapp.com/attachments/435711390544560128/1012090723727835176/unknown.png [20:07:45] [discord] I think that's due to a little yank oversight [20:07:54] [discord] I think that's due to a little yaml oversight (edited) [20:08:05] [discord] Should be a matter of just adding a new line to the config [20:10:04] [discord] I sent an email with a link to the images/ folder. Filing a phab ticket now. [20:11:07] [discord] https://phabricator.miraheze.org/T9694 [20:11:08] [url] ⚓ T9694 Need images/ extraction/import to rosettacode.miraheze.org | phabricator.miraheze.org [20:12:03] [discord] Reviewed over 6k image files, mostly mathml materializations, to filter out the spam uploads. I probably filtered out some things I shouldn't have, but 🤷 [20:12:23] [discord] @CosmicAlpha ^ do you see anything wrong with the SSL? [20:12:31] [discord] Thanks! [20:12:46] [discord] `1731:23 [new-line-at-end-of-file] no new line character at the end of file` [20:13:38] [discord] Hmm, afaik that shouldn't cause it to fail though [20:15:43] Reception123: did you generate with -d rosettacode.org -s www.rosettacode.org or as a wildcard, or if not how did you generate it? [20:17:15] CosmicAlpha: with -s [20:17:53] Reception123: and puppet ran on cp*? [20:19:40] CosmicAlpha: yeah that's fine, there seems to be something with the YAML syntax it seems [20:21:21] Reception123: you pushed the ssl at :49, it may not have been pulled until :59, and puppet runs every 30 minutes, so maybe did not even run yet unless done manually, so that could also be it if not done manually? [20:21:44] I did manually yeah [20:22:37] but did you do manually after pulling ssl? ssl pulls on a cron, not pulling with puppet itself it seems? Don't quite understand that. [20:27:23] Reception123: yeah, ssl git had not been pulled when puppet ran it seems. Works now. [20:28:26] [discord] @mikemol seems to be fixed ^ [20:29:48] ssl git is on a cron, not pulled by puppet, so if puppet is ran before cron pulls it, it does not actually work to just run puppet, unless first pulling manually with `sudo git -C /etc/puppetlabs/puppet/ssl-cert pull` on puppetserver, which is what seems to not have actually been pulled from what I can tell anyway. [20:29:53] Great, thanks CosmicAlpha [20:30:07] But that's interesting, I never realised that [20:31:36] No problem. [20:33:08] [discord] Awesome! [20:33:38] Howdy all, I've enabled TempateStyles, but the tags still aren't rendering. Basically just imported Hatnote and Template:Main from wikipedia [20:33:57] Should I enable TemplateStylesExtended instead? Does it take time to propagate? [20:34:25] [discord] Try purging the page cache. Go to the More menu and click "Purge" [20:39:07] Doesn't seem to have worked... hmm [20:39:52] https://bpa.st/4XUA [20:39:52] [url] View paste 4XUA | bpa.st [20:42:25] This is just in Show Preview if it matters [20:42:40] [discord] hmm, and TemplateStyles was enabled, right? [20:46:31] Yes, but not TemplateStylesExtended or TemplateData [20:46:56] [discord] Those are irrelevant [20:46:57] CSS is not enabled [20:47:08] :) sorry, not sure what is and isn't, just adding info [20:47:19] [discord] What's the wiki URL? [20:48:08] wiki.fatcatfablab.org [20:58:12] Looks like TemplateStyles isn't installed in Special:Version [21:01:10] It is not enabled in https://wiki.fatcatfablab.org/wiki/Special:ManageWiki/extensions#mw-section-parserhooks [21:01:14] [url] Manage this wiki's extensions - Fat Cat Fab Lab | wiki.fatcatfablab.org [21:01:19] [discord] Was just about to comment that [21:09:48] Oh weird [21:10:05] I could have sworn i checked from a private window [21:10:27] Ok, well I'm getting a different error now, `Page Module:Hatnote/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text")` [21:10:30] Looking into it [21:21:09] So the Hatnote stuff that Template:Main is based on is Module:Hatnote [21:21:25] But it seems that Sanitized CSS is a Template:*/styles.css thing [21:24:06] [discord] Go to Special:ChangeContentModel and change the content model of Module:Hatnote/styles.css to **Sanitized** CSS (not just "CSS" if that option appears) [21:24:27] [discord] oatmealraisin: ^ [21:25:26] What permissions do I need for that? [21:25:39] [discord] Should be available to all users [21:25:46] [discord] no special perms required [21:26:42] I'm getting a permission error for some reason [21:26:57] [discord] Someone probably revoked the right from the user group via ManageWiki [21:27:18] [discord] Reassign it to the user group at Special:ManageWiki/permissions/user -> Unassigned permissions -> editcontentmodel [21:34:07] Yep that was it! I gotta talk to the previous guy to see why those were checked off [21:35:29] [discord] A lot of users don't know what they're doing when revoking permissions so it's possible they thought it wasn't important [21:43:52] oop computer died [21:45:12] as i was saying, thanks a ton mhbridgebot, agent, CosmicAlpha