[00:00:00] everything is so convoluted now [00:01:09] please sir spare some simplicity for a poor little orphan mediawiki developer boy [00:01:29] I think you can actually just do `$wgParser->parse()` tbf but thats using globals and everyone hates that [00:01:49] oh actually that dissapeared in 1.39 wow [00:02:07] oh its `MediaWikiServices::getInstance()->getParser()` now so I think it would be pretty easy [00:02:46] would that work on a ooui box i wonder [00:03:49] Hmmm, thats an interesting question. [00:04:06] probably not because ooui stinks [00:04:16] but equally it might be [00:04:58] I’ll try that out once I get to it [00:05:05] so in a few months [00:05:33] discord bot im procrastinating on + learning how to simplify code extensions [00:05:52] Eh i mean [00:05:59] i could probably skip that step [00:06:05] petition for mediawiki to be rewritten in ruby on rails [00:06:18] Rust [00:07:05] just steal code from other extensions [00:07:07] ez [00:07:35] Reading rust is like reading hieroglyphics [00:07:35] 🧐 [00:08:22] It would be nice for all the python scripts mh uses to be converted to rust though because apparently its really fast [00:08:35] Ill never do it like because i dont know rust or python but 🤣 [00:08:55] I literally compared PHP to ancient greek in my Technical Contribution 101 Essay [00:09:05] [[User:PixDeVl/TC 101]] [00:09:07] [00:09:16] Php is so nice its like reading a book [00:10:19] Oh yeah i saw that [00:10:33] I need to expand it [00:10:34] Nice little intro to miraheze [00:11:03] I’m going to go over me adding a file extension and a more general guide on adding extensions [00:11:09] Or the parts that don’t need shell [00:11:59] I’m quite proad of that pun riddled opening [00:18:40] also oa as an fyi I unstalled the loadout task since OS made the container [00:20:25] what do you mean 😭 its great [00:20:28] Praise be [00:20:46] Im especially happy with they there be no muggles one [00:20:52] Were stalled again on url shortner being borked but I might just create it on prod [00:20:59] Would save a lot of hassle [00:22:07] dew it [03:46:37] epicduelwiki has a lot of images it seems, the script has been running for about 35 hours at this point [03:47:24] Yup [03:47:56] Was talking about it in their group chat. A few hours ago I did some back of the napkin match and got ~20 images [03:48:09] going under the assumption of 10 images a minute [03:48:32] The script has no order right? Not by alphabetical [03:49:37] But yeah it's scary. Then again, epicduelwiki is some 12 years old, I believe? At the least 2015 but more I think [03:50:59] Also, MacFan4000: is the upload and edit history of images included with the XML History Dump typically? [03:51:59] I would think so [03:52:14] Probably:tm: [03:52:45] We'll find out in god knows when [03:53:03] Is there a way to see how many total images are in the folder it's importing from? [03:53:45] My napkin math says ~21,000 images should have been imported if it's something like 10 files a minute [06:13:21] that's a... very optimistic assumption [06:13:41] it's more like 1 file every few seconds, somewhere between 5 and 15 [06:14:07] at least that's my experience with image imports [06:16:25] leaning more towards the 15 than the 5 here [06:39:25] huh, actually you were pretty on-mark about the speed [06:39:38] I somehow remember these being slower... oh well. [08:30:02] [1/2] Can someone help with a Custom domain request? [08:30:03] [2/2] https://meta.miraheze.org/wiki/Community_portal#Custom_domain [10:21:08] MacFan4000 FYI Epic Duel Wiki images finally finished importing :P [13:34:08] [1/3] There is a user from Wikitide who found out that WikiTide doesn't exist anymore, and so his/her wiki is also gone. [13:34:08] [2/3] https://meta.miraheze.org/wiki/Community_portal#A_important_question_(about_Wikitide_and_Miraheze) [13:34:09] [3/3] I hope that @agentisai can look at this? (Or another former WikiTider perhaps) [13:37:54] Replied [13:38:11] Thanks. [13:40:44] [1/2] Anyone want to look at https://meta.miraheze.org/wiki/Community_portal#Custom_domain [13:40:44] [2/2] A user want's to follow up a custom domain request [13:46:41] total imported images was 27419 [15:36:33] @rodejong retrorumblewiki is working now [15:39:43] @reception123 not being able to see immediately what db server a wiki is using is indeed a bit annoying [16:02:10] yeah I mean I guess I could be less lazy and just learn it but they also do change sometimes so I feel like it wouldn't hurt to just have it in brackets [18:15:15] @reception123 Honestly is there even a reason we use clusters, I'm not sure why we couldn't just store db name... [18:15:18] Oh nevermind if a DB is decommissioned it's more work as we'd have to update in DB also... [18:15:52] It should be simple to be able to display DB in ManageWiki though... [18:16:14] Yeah, I'd just like the display [18:16:46] It may even already be supported to use DB in ManageWiki but cluster as stored field by using a $key => $ value format array in config. [18:17:18] I agree it id quite annoying lol [18:17:58] @reception123… hey… not to get your hopes up but I spend like half an hour reading CW’s code and maaaaay have found the echo issue [18:18:29] (I next to nothing about Echo CW or Mediawiki code this is pattern recognition and logic) [18:18:29] Oh really? What's your theory? [18:18:45] Yeah I mean I think there has to be a mistake with the needs more details code [18:18:48] In your last commit you added stuff to the hooks file yes? [18:18:49] Since everything else works [18:18:55] Yep [18:19:13] Wait lemme get the link my clipboard empty [18:19:55] Every other notification type also has a definition in the $notifications array, more details doesn’t https://github.com/miraheze/CreateWiki/blob/master/includes/Hooks.php#L155-L189 [18:20:32] Could that be it? [18:21:52] How did I miss that part lol, that is most definitely an issue [18:22:12] Wait fr [18:22:29] https://tenor.com/view/kekw-twitch-twitchtv-twitch-emote-kek-gif-19085736 [18:22:41] I half thought it was meant to be like that [18:22:45] Yeah lol, that is likely the actual cause here... [18:23:33] I'm actually kinda surprised it doesn't fatal since its sending a notification that doesn't exist lol [18:23:53] Yeah [18:24:06] But can’t exactly enable the debug toolbar on prod [18:24:49] I don't know how I missed that lol [18:25:07] I guess an external eye really Does help, even though I know Jack shit about this stuff [18:25:14] Tunnel vision maybe [18:25:34] Since you and Reception believed the issue was with the logic part of the code it seems [18:25:46] Wouldn’t think to Check an array definition [18:26:10] Especially since reception had already gone to that part of the code and added the category [18:26:57] Tunnel vision on adding category, don’t think to add the general definition, then pass by the lack of a general definition since that file has been addressed [18:28:04] Was looking at the logic parts of the code as well and thought maybe this since I didn’t understand/thought it wouldn’t work properly but passed that as me not understanding the codebase [18:28:39] Yeah I feel like with bugs it's very easy to miss [18:28:40] https://github.com/miraheze/CreateWiki/commit/6ef766794d222b5bf78a8f7bf1a5bcb7ac385e27 @pixldev @reception123 [18:28:59] I remember once there was a typo in the code and like 5 different people had no idea why it was happening [18:29:06] and I think paladox spotted it as he was good at finding typos [18:29:33] thanks for the commit @cosmicalpha [18:29:34] lol yeah I always expect hard issues and overlook the easy ones [18:29:39] I probably found it party because I don’t understand the codebase [18:29:53] I didn’t have any preconceptions of where to look [18:30:03] well thanks for looking into it @pixldev 🙂 [18:30:08] I remember in python I spent 4 hours trying to fix something before realizing I was just missing a single whitespace lol [18:30:10] if you want to have a go at any of the dev tasks, feel free [18:30:11] Although I was lead to the hooks file by your commit [18:30:39] At least you did not nuke a wiki with one single regex like I did. [18:31:10] [1/2] heh I was trying to find my test request and look what I found. Genuine testwiki! [18:31:10] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1230586436286287872/image.png?ex=6633dbed&is=662166ed&hm=f18c0c1c4db6374f66e612dcbeb2e14070f514a124d8a67d6699d8a119c62fc4& [18:31:12] If I find time to set up create wiki locally I probably will. Or if there’s extensions we maintain with good first bugs that don’t need to be on a farm lmk [18:32:10] @pixldev smart [18:32:20] Side note what’s up with https://discord.com/channels/407504499280707585/808001911868489748/1230494024109133845 i thought 1.42 didn’t even come out yet lmao [18:33:02] Victory! [18:33:04] https://cdn.discordapp.com/attachments/1006789349498699827/1230586916634624131/image.png?ex=6633dc60&is=66216760&hm=aa1a79e711de36653acf3099c4836c7d39c0c44cc8c4f69d4a93520afe99ebb0& [18:33:38] Let’s gooooooooooooo! [18:34:13] I’ll update the Phab task [18:35:09] The power of Boredom😄 [18:35:20] I keep a local MediaWiki instance on one of my VMs for cases like that (and I suggest you get one) [18:36:43] I use [[mw:cli]] currently [18:36:44] [18:36:47] In WSL [18:41:20] I don't want to push it but it'd be nice if once you clicked on needs more details the "reason for this action" automatically switched too [18:41:27] but I don't even think that's technically possible with OOUI [18:41:44] [1/4] Question: [18:41:45] [2/4] A user makes a Custom Domain request and wants a Follow up. [18:41:45] [3/4] → https://meta.miraheze.org/wiki/Community_portal#Custom_domain [18:41:45] [4/4] I've noted this twice in this channel within 10 hours - So perhaps someone can help this user out? [18:42:32] Oh speaking of tech, I believe our wonderful board members @serverlessharej and @.labster are going to be presenting in MWDevCon in a few hours? [18:43:56] yep! [18:44:10] I think I replied to all RequestSSL requests [18:44:45] <.labster> Mainly my presentation, James is running the conference [18:46:00] I think he meant Harej's presentation on CW [18:46:20] <.labster> Yep, will be fun [18:46:23] Could be, but there is no answer on the Community portal to this user. [18:46:48] <.labster> I cover ManageWiki a bit, but o really want to dive into the lore [18:46:50] I don't even know where to point to or how to look it up 😄 [18:50:31] It’s in, uh math uuuuuu 1 hour 40 minutes? [18:50:39] Well more then that [18:50:41] can you believe I didn't know who Harej was until now? [18:51:08] I checked his wikimedia userpage, didn't know he had such a record behind him [18:51:16] The schedule had a block of 1:30-smt PST that included WikiTide foundation and two others [18:52:06] <.labster> the talks are all 30 minutes long [18:52:17] So 2 PM PST? [18:53:15] <.labster> yep. [18:53:22] oh, I thought it said "(10 minutes") before for yours [18:53:27] so will it be more like 30 then? [18:53:44] Perfect, I have a zoom meeting for one hour an hour before that [18:53:48] <.labster> Yeah. James is doing a lightning talk, on CreateWiki, so that will be much shorter. [18:55:26] <.labster> I have 36 slides so I really need to fly through them though. I'm mostly talking high level concerns, not too much technical. [18:55:31] 36? [18:55:32] wow [18:55:33] Wow [18:55:45] That's going to be fun [18:55:52] <.labster> I did it in 25 minutes last night so it should be fun. [18:56:03] <.labster> (and then went back to the bar) [18:56:06] I know right? He has two decades of experience on Wikipedia and worked for WMF as well [18:56:25] Send to me plz [18:56:37] You can watch it live \:P [18:56:40] in an hour or so [18:56:43] That would spoil the suspense [18:56:46] Oh yea [18:56:48] <.labster> dun dun dun [18:56:54] I mean for after lol [18:57:05] 2 I believe [18:57:16] <.labster> Yeah, I can post [18:57:18] [18:57:20] Hopefully at least I’m busy 4-5 EST [18:57:41] You can always watch the recording if not [18:58:14] Next MWCon is in Vienna, interesting [18:58:21] Now how am I going to explain to my mom why I’m watching a conference about some foundation on YouTube \j [18:58:25] Where [18:58:45] <.labster> Apparently the Semantic Wiki Conference is going to rename to Mediawiki Users and Developers Conference (Europe). Something in the air today. [18:58:46] Maybe I'll be able to make it to that one [18:59:03] <.labster> Next MWcon in fall will be at NASA in Sandusky, Ohio. [18:59:03] @.labster get Yaron to interview us for Behind the Brackets [18:59:16] A great excuse to visit Cedar Fair [18:59:20] Sigh. I’ll be waiting here for something on the east [18:59:24] <.labster> Yeah, Yaron will be happy to do it. [18:59:31] <.labster> Already talked to him. [18:59:35] Oh cool [18:59:42] MWCon is pretty eventful then [19:00:42] What's the attendance like? Is it packed or are there still free seats? [19:01:09] <.labster> Yep. If anyone wants to help save lives with MediaWiki, Selfiie still wants more developers to build the startup. [19:01:37] Selfiie? [19:02:05] <.labster> They're still stealth now, but I assume yesterdays stream will be online somewhere. [19:02:41] <.labster> About 25 people. Not a huge attendance, pretty much everyone here is presenting something. [19:03:36] And 7 watching live on YT:p [19:03:59] WMF sounds so weird spoken alou [19:04:50] I heard Ward Cunningham was presenting today as well? [19:04:50] Maybe Labster's part will attract a wider viewership for the livestream [19:04:58] <.labster> you may know a lot of people just from the community or from phabricator. skizzerz, cscott, bawolff, Ward Cunningham [19:05:07] celebrities [19:05:12] at least in the wiki world [19:05:20] Maybe make an non ping #announcements [19:05:45] For the lurkers, Ward Cunningham, quite literally invented the wiki as a concept [19:05:51] And the first wiki software [19:06:22] <.labster> and one of the creators of the Agile Manifesto. Also coined "technical debt" as a term. [19:06:24] [[w:Ward Cunningham]] [19:06:25] Too bad good old Jimmy didn't make it [19:06:26] [19:06:26] I really am an outsider to the wiki world huh [19:06:47] Could you imagine [19:06:48] "Presenting Wikipedia" (1 minute) 😄 [19:07:03] Come on guys we gotta get Jimbo to join Miraheze [19:07:03] I pretty much only know bawolff from one of my wikimedia phab tasks [19:07:04] <.labster> Please give $3. The End. [19:07:17] 👏 [19:07:26] <.labster, replying to bluemoon0332> I envy his hair [19:07:29] Already leaking WikiTide's presentation? [19:07:31] the people in the room would literally hand him the cash, easy [19:07:46] I’ve seen his name around and talked to him very little in MediaWiki’s discord [19:07:53] Oh yes [19:08:17] https://cdn.discordapp.com/attachments/1006789349498699827/1230595772551139380/image0.jpg?ex=6633e49f&is=66216f9f&hm=09d3bff0572315e73111bf4105751cfd4c2037973949e415f182621fc0da584e& [19:08:29] Best license plate [19:09:41] Wikis are the spirit of America! [19:10:00] Yeah saw it just now as well [19:10:05] link? [19:10:07] 🦅 🇺🇸 [19:10:23] https://www.youtube.com/live/B1wcWLHFJpg?si=xcA6_1uobTgDHl29 [19:11:21] Labster's giving a presentation on WikiTide in around an hour and a half or so [19:11:48] and Harej will be criticizing CreateWiki in about three hours \:P [19:12:01] LOL [19:12:14] Should we be offended [19:12:24] no, he's right about everything in his presentation [19:12:42] aka it's Wikimedia's fault for deprecating things so much [19:13:07] I was gonna ask isn’t roasting our own software bad optics? [19:13:12] yeah, every so often when I run a script there's a few deprecation warnings here and there [19:13:26] Though if it’s to criticize WMF it’s totally fine [19:13:37] deleteWiki.php is deprecation and warning central [19:13:49] Really? :thonk: [19:13:59] next chance I get I should save a copy of the warnings somewhere [19:14:32] oh that's my little invention so I don't have to use eval anymore [19:14:48] but it's just a rip-off of the more important deleteWiki s.php [19:18:08] [1/2] > Difficulties in introducing MediaWiki to technical and non-technical audiences [19:18:09] [2/2] this one hits [19:19:00] When is that [19:19:06] right before Labster I think [19:19:09] yeah [19:19:52] Drat [19:19:55] I’ll be busy [19:20:54] lmao DRUID right after Labster [19:21:06] wiki.gg Lua infoboxes [19:21:31] I'm afraid I'm gonna asleep by the that time [19:22:04] I’ll try and be there to laugh in your steed [19:22:37] yeah, the conference isn't very European timezone friendly [19:22:41] but eh, that's what the recording is for [19:23:18] you Europoeans will have your time to shine in the fall [19:26:17] Where is it [19:30:25] Vienna [19:30:59] Heh Siri where is Vienna [19:31:27] (I may not be native but my sense of geography is purely American [19:32:25] Austria [19:56:42] been meaning to ask, what does the ancient greek that is privilages mean in https://issue-tracker.miraheze.org/diffusion/PUPC/browse/master/modules/users/data/data.yaml ? [20:01:51] It sets what you can do using sudo without a password [20:02:10] I keep meaning to set proper sudo rules at work [20:02:52] so by what commands can be run? [20:03:25] ALL = (ALL) being boilerplate [20:06:56] That means can run as anything [20:07:15] You've also got www-data in there for mw-admins [20:07:29] That means they can run stuff only as that user [20:44:33] [1/2] It took me awhile to get those permissions right for creating the new database-admins group lol, for some reason I was think `sudo -i mysql` was running as the mysql user when in reality that becomes `/bin/bash -c mysql` which I didn't know and took me like an hour to figure out for permissions lol. It seems weird sometimes lol… I don't like permissions somet [20:44:34] [2/2] imes… [20:46:58] huh [20:47:00] goofy [20:48:59] side note CA, was talking with reception about updating the inactive wiki script since the DP was edited to delete empty wikis faster. Could I get input on what the best way to store the new parallel day values would be? [20:49:13] @bluemoon0332 BTW we should start renamespacing our extensions under `MediaWiki\Extension` to be more normal standards I think, I plan to do ImportDump and RemovePII soon. [20:49:23] 😳 [20:49:26] ref https://meta.miraheze.org/wiki/Dormancy_Policy#Wikis_with_no_contributions [20:49:42] not like I'm opposed to that [20:49:44] o_0 [20:50:01] was just surprised [20:50:21] I think it has to do with how the nerds think (Not meant negatively) and how the normal user (who requests a wiki) understands that. There often is a lost in translation there. [20:50:37] pretty much [20:50:44] you watching Ro? [20:50:53] I would not recommend touching the inactivity script, that script is such a mess I understand like 20% of the logic of it lol. But can provide guidance later if you want. [20:50:59] It's a skill to be able to explain things in laymen terms [20:51:21] No [20:51:46] Hey yeah when I first did the namespacing I wanted to use the org name, but the more I've thought about it lately the more I like using generic `MediaWiki\Extension` namespacing... it's just not super easy to change. [20:52:00] I'll watch it when it's done, where I can tab the 10seconds foreward button, or listen in twice the speed 😄 [20:52:30] ah, good to know. though copying the core part with different values prob wont explode it [20:52:44] [1/9] (for reference my idea was smt like ```php [20:52:44] [2/9] private function checkLastActivity( $dbName, $wiki ) { [20:52:45] [3/9] something something [20:52:45] [4/9] $phase = $isEmpty ? 'empty' : 'used'; [20:52:45] [5/9] $inactiveDays = (int)$this->getConfig()->get( 'CreateWikiStateDays' )['inactive'][$phase]; [20:52:46] [6/9] $closeDays = (int)$this->getConfig()->get( 'CreateWikiStateDays' )['closed'][$phase]; [20:52:46] [7/9] $removeDays = (int)$this->getConfig()->get( 'CreateWikiStateDays' )['removed'][$phase]; [20:52:46] [8/9] $canWrite = $this->hasOption( 'write' ); [20:52:47] [9/9] ``` didnt send :p [20:53:27] I wouldn't count on that lol. I remember once there was simple PHP noticing in the script and it caused every single wiki to be closed immediately. It took awhile to fix that last time. [20:53:52] Except inactive exempt ones [20:54:52] So I hate that script and I'd almost say it should be split for each state logic to different functions to cleanup and make much more readable. [20:57:06] noted (CC @reception123 :p) [20:57:35] [1/2] https://github.com/miraheze/CreateWiki/blob/master/maintenance/manageInactiveWikis.php#L65 [20:57:35] [2/2] wha [20:58:02] well, I guess it is a way to get around function visibility.... [20:58:54] I barely understand function visibility and can smell the hackness from here [20:59:11] oi lab you going up soon? [20:59:22] <.labster> Okay, I'll probably starting in 5 minutes or so for my talk if you're interested: https://www.mediawiki.org/wiki/MediaWiki_Users_and_Developers_Conference_2024 stream available there [20:59:53] that has side effects too because that script rebuilds rc on that wiki as well [21:00:02] finishing a zoom call now [21:00:42] there was an issue with RC poofing and causing wikis to be closed incorrectly so prob a good thing :P [21:02:26] should I watch you on my desktop or big tvlol [21:04:20] <.labster> the last presentation was really good too: how hard it is to install MW, really? [21:04:48] looks at my first test wiki [21:04:57] Depends on what you want to do [21:05:05] That is why I made it rebuild with the script lol, a bandage fix [21:05:21] duct tape <3 [21:06:06] Hammer and neigl and some plywood 😛 [21:06:36] installing MW is hard no matter what if you aren't a sysadmin [21:06:44] that's why we exist after all [21:12:00] btw the wiki_request REST endpoint now works as one would expect (ie according to mediawiki.org), with localized error messages and all. https://github.com/miraheze/CreateWiki/commit/6cdd1c5b859dbe1133f20adf418f2f9bda143378 [21:12:22] next one will be the search all wiki requests made by a user