[00:00:13] theres some fucked way to do it without being infra iirc but its a lot simpler for infra to just do it [00:00:30] don't we have a maint script for that? [00:01:58] oh, it's still a pr for now ^^; [00:01:59] https://github.com/miraheze/MirahezeMagic/pull/555/files [00:03:32] isnt that the script you and Samuel spend hours trying to find a wiki after agent ran it [00:03:59] no agent ran the other one, and forgot to run this one [00:04:23] this pr makes it do both roles so that we don't have to run both commands [00:06:36] for https://issue-tracker.miraheze.org/T13275, i wonder if i can make a namespace in mw and then change the id via sql.php [00:12:23] Hey Claire, what do you mean by extra indentation? [00:12:30] Its a PR because I haven't tested it yet but MW admins can still do renames following existing scripts but it's probably safer infra does them until we have that script tested and merged. [00:12:36] ah oki [00:12:40] > [12/03/2025 11:12] Hey Claire, what do you mean by extra indentation? [00:12:45] basically, i see an extra indentation [00:12:48] lemme send ss [00:13:10] ? It looks fine to me, it follows the other namespace entries. [00:13:37] https://files.catbox.moe/vcnp77.png [00:13:42] i have tab size set to four because personal preference [00:13:50] so mixing spaces and tabs can make things :sparkles: fun :sparkles: [00:14:10] Okay, well I redid the indentation, so it should be fine now. [00:15:01] Also added the dashboard secretkey to init.pp. [00:15:12] Thanks. [00:15:33] what ide do you use [00:15:59] I use GitHub's [00:16:10] It never gives me indentation issues. [00:17:08] LGTM but i can't merge the puppet pr lol [00:17:21] :cry_cn: [00:17:34] Well I gotta add a cronjob committ to that PR first. [00:18:59] github.dev? [00:19:10] /codespaces [00:19:11] oh right [00:19:16] why do i have amnesia like this- [00:21:29] Yes. [00:22:55] @blankeclair want me to look at puppet PR? [00:23:14] p sure there are extra systemd timers that aren't set yet ^^; [00:23:35] btw [00:23:37] https://github.com/miraheze/mw-config/blob/afc2aa8e408682bb0a414381db5f45ba481ffe7b/GlobalSettings.php#L561-L567 [00:23:44] any reason why parsermigration is blocked off for mirabeta? [00:24:33] Also what would I set for `mediawiki::campaigneventsdashboard_apisecret` in private puppet lol how do I generate that? [00:24:40] I'm not sure [00:24:52] > [12/03/2025 11:24] Also what would I set for `mediawiki::campaigneventsdashboard_apisecret` in private puppet lol how do I generate that? [00:24:55] good question [00:25:46] I'm unsure tbh. [00:25:52] It doesn't list an example. [00:26:02] I'll look at it tomorrow probably then. [00:26:19] All the extension checks for is if it's a string. [00:26:26] So I'm assuming you could just chuck in a SHA256 string and call it a day. [00:26:32] I guess I can generate a random key yeah. [00:27:02] Probably using the same generation you use to generate wgSecretKey maybe. [00:27:26] `MWCryptRand::generateHex( 64 );` [00:29:34] How often should these two cronjobs be run for CampaignEvents? [00:44:04] Claire [00:44:11] meow? [00:44:31] Can you go do you typical keyboard massing in CAs DMs on MM [00:44:43] @cosmicalpha expect a fresh secret key in a sec [00:44:54] alright good point [00:44:58] I might just set the cronjob times to `--* 02:00:00` [00:45:49] done [00:50:26] @teajai [01:14:44] anyways i was looking at the code for the UI related to T13333(lmao) [01:21:41] So basically the "Create a new user group" input has a lack of clarity in that it creates the technical name of the group, which has certain restrictions that aren't properly communicated, instead of the display name of the group? [01:22:17] OOJSPlus is so neat [01:22:26] i decided to implement my own version with codex heh [01:22:27] And the display name of the groups is actually defined in mainspace? [01:22:36] since WMF be slackin [01:22:52] I think that's why BlueSpice added it to SimpleBlogPage. [01:23:20] yeah [01:23:36] the displayed name of the group is in mediawiki space [01:23:43] but also there is no one display name [01:23:47] iirc you enter what name you want and the form should automatically fix it to be mediawiki compliant? [01:24:00] Oh hey OA I had an idea for UserProfileV2. [01:24:01] there’s actually two messages [01:24:13] ie if you enteer "The Boss" it should be transformed to "theboss" since MediaWiki requires group names to be lowercase and all one word [01:24:19] IIRC it doesn’t enforce no caps [01:24:25] Oh [01:24:37] Instead of having to manually define new social media links via like four different files, we could have a Special Page where you can add and remove them etc. [01:24:38] yes but it should theoretically do the transformation for you, doesn't it? [01:24:44] well still good to explain in case a user copy pastes or gets confused [01:25:20] Can check later [01:25:23] anyway [01:25:56] https://github.com/miraheze/ManageWiki/blob/61b28ad9dc3ce0c0b3f3080450a95b0d1010c33d/includes/Specials/SpecialManageWiki.php#L181 do ypu know if we could add an HTML element/information box on this line? Or have to roll it into the form function [01:26:34] [1/3] Not really possible without a lot of work because [01:26:34] [2/3] a) there is validation [01:26:34] [3/3] b) the interface for changing the links is entirely in JS and the input fields are all hardcoded, so it would be a major pain to dynamically get them to show them [01:26:49] plus I'm not really interested in having loads of links, I kept them at a minimum on purpose [01:27:06] (but of course it is open source and people are free to fork and customise to their own liking) [01:27:10] Well, not a lot of technically incline people will want to have more links. [01:28:21] copy and paste job the framework is already there with several examples of how to do it [01:29:08] theoretically but I don't have the energy to go trolling through to see where the form is generated [01:29:18] since you have to navigate to about 50 different files to just find the form generation but [01:29:27] dumb as fuck architecture [01:29:36] ManageWiki [01:30:10] OOUI accepts a help/description for each element so should be theoretically easy to achieve [01:30:50] but notwithstanding I'm not actually sure what the issue is? [01:31:13] Ie I just created a group "A group with spaces" and managewiki automatically changed the name to "A_group_with_spaces" to satisfy mediawiki [01:31:21] and then just change the display name at the mediawiki page? [01:32:46] The issue is that no crats know that exist [01:33:01] its not communicated anywhere in our UI/UX [01:33:11] the first issue you smoke was a side concern [01:34:48] [1/2] maybe an alternate way is to add a message to the top there? or alternatively at the side of the group name below the "Manage this wiki's permissions" add a link to the mediawiki page titled "Change display name" [01:34:48] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1349193878762426408/Screenshot_2025-03-12_at_01.34.13.png?ex=67d23637&is=67d0e4b7&hm=135382a9d79528d868784b3d7885769a1252c6a6d728a2746aab1b84ff09b76d& [01:34:57] Which leads to things like UserProfileV2 showing a broken message for any custom groups lol [01:35:28] meh I guess [01:35:33] My original idea and honestly preference from a UX standpoint is to edit the names in that page [01:35:47] but i dont really wanna deal with that can of worms [01:36:23] it could just be a dialog that pops up in JS to allow the change without leaving the page, idk? I'm just thinking of the easiest way to do it because that codebase is fucked [01:47:27] Oh? [02:00:02] Welp I'm off on a walk, I've made all the PRs I need for CampaignEvents. [04:59:54] @rhinosf1 so we should be fine with enabling the Lakeus Skin then? [06:08:16] @aeywoo ill get to your PRs tomorrow btw. [06:08:28] Thanks, I think they're all setup properly. [06:08:49] From my glance I did it seemed like they were yeah [08:43:24] Are these domains going to be usable soon? https://github.com/miraheze/mw-config/pull/5529 [10:04:46] wiki.surf is already used [10:04:54] its our URL shortern [10:05:07] https://wiki.surf/AMH [10:11:29] I should add mira.wiki as an option there also. [10:32:47] You should add `wikia.com` as an option [10:32:48] :Clueless: [11:17:05] wikicities [11:18:49] did i seriously just claim a task and respond with "meow meow"? [11:19:48] [1/2] yes, yes you did [11:19:49] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1349341103412871248/image.png?ex=67d2bf54&is=67d16dd4&hm=ce22842617490034074c5a2ae730cbed586c9b2384cc279224fefa3935254e4e& [11:27:11] it's not panic inciting at all when you run a script that's supposed to output " Deleted!", and instead it outputs " Deleted!" [11:28:16] wow [11:28:20] they really forgor to print hte page title [11:36:23] The person responsible for this just giggles maniachly everytime they think about it. [11:36:48] ?