[00:48:20] We’re not the only ones updating I see [01:03:36] lol [02:45:09] Oh we need to add detection for if the file exists in the table already, it should be updated. (E.g uploading new version of file) [05:50:09] they started feeling competition fr [08:02:22] @paladox it seems like https://github.com/miraheze/CreateWiki/commit/4b0c08049334fc4a7207f5e2147ac28f9c0bae8a is making the default sorting in RequestWikiQueue go from newest to oldest but most wiki creators don't like that [08:02:31] can we make it so that the oldest timestamped requests are the first? [08:12:33] huh [08:12:40] so basically DIR_ASCENDING for everything? [08:13:19] cc @reception123 [08:16:37] Why was that change made anyway [08:19:15] yeah, it doesn't make sense to show newer requests in the queue as WCs should always start with the oldest first [08:53:19] I saw the task for not being able to delete user groups was marked as resolved yet I'm still experiencing the issue [08:53:41] [1/2] https://removededm.com/Special:ManageWiki/permissions/autoconfirmed this user group for example does not have a delete tab [08:53:41] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1311615968010829855/gb4nBwE.png?ex=6749810f&is=67482f8f&hm=a3a4a61dac3db3b67a3ef83ee80bacd18c2f4744643a6f342fef1a8e980681e8& [08:54:55] [1/2] and trying to remove the only permission gives this error [08:54:55] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1311616303106228225/4GGrAMu.png?ex=6749815f&is=67482fdf&hm=29c064e7187b7574acfad4353cd744e0502eab15db4f7ccc6b9e1c9611a58f80& [08:56:01] but there are other user groups that let me take away all of the permissions (tried to do that to delete it) and it's not deleted and it's just sitting there empty [08:56:49] groups sitting empty shouldn't happened oddly enough [08:57:53] it's happened a few times [08:58:08] [1/2] like the `chatmod` user group which was from an extension that I disabled [08:58:09] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1311617113797955584/pn3hNyh.png?ex=67498220&is=674830a0&hm=7301ea6cdb97cc3600f40734ab60d9f316d169060d32028be2a98ead452fd936& [08:58:38] huh, that's odd [08:58:43] as in both [08:58:55] but unless someone can become my shell.php, i don't really have any more ideas tbh [09:02:57] ah well it's only mildly irritating to me so I guess it's not that big of a deal [09:08:53] re requestwikiqueue sorting: pr made: https://github.com/miraheze/CreateWiki/pull/644 [11:01:00] Reverse it. [11:01:26] Change mDefaultDirection [11:03:04] did, pr is above [11:03:18] do you want me to merge it? [11:06:20] I left a comment [11:06:28] that's weird, i can't repro that [11:08:33] Before sorting was weird. You had to set mDefaultDirection before parent otherwise it was broken. [11:09:01] Oh? It works just setting it to ascending as default? But then clicking it, it descends? [11:09:42] it's working as expected [11:10:01] inherits the asc/desc status from the current status even if changing columns, which is unexpected [11:10:36] Oh ok [11:10:42] You can merge [12:50:37] BlankEclair some how getUploader only works if you upload a newer version of the file. [12:50:41] i wonder why [12:50:59] is the hook triggered before it writes the entry to the table? [13:04:45] BlankEclair: https://www.bbc.co.uk/news/articles/c89vjj0lxx9o [13:29:55] > [28/11/2024 23:50] BlankEclair some how getUploader only works if you upload a newer version of the file. [13:29:58] sounds interesting [13:30:03] however, it is 12:30 and i am eepy [13:30:22] BlankEclair: your senate approved the social media law [13:30:28] yay [13:30:36] BlankEclair: not yay [13:30:43] sarcasm [13:30:53] probably means we have to find a way to ban australians 13-15 [13:31:51] i love how, at least under my interpretation, even sms/mms is blocked under it [13:32:44] it's a very strict law with a fairly broad definition of social media [13:33:02] i love me some fucking 30000 penalty units [13:34:53] > 63D Civil penalty for failing to take reasonable steps to prevent age-restricted users having accounts [13:34:54] > A provider of an age-restricted social media platform must take reasonable steps to prevent age-restricted users having accounts with the age-restricted social media platform. [13:34:55] > Civil penalty: 30,000 penalty units. [13:35:20] what even is a penalty unit [13:35:41] https://www.legalaid.vic.gov.au/penalty-units [13:35:44] > One penalty unit is currently $192.31, from 1 July 2023 to 30 June 2024. [13:36:05] I still don't think Miraheze falls into its defination of social media platform [13:36:16] it's a wiki hosting first and foremost [13:36:19] so 5769300 AUD [13:36:38] yeah [13:36:41] theoneandonlylegroom: the definition is very broad [13:37:08] just short of 3 million pounds [13:37:15] by this logoc market places would fall too, cus they have comments and chats w/ sellers? [13:37:49] ye [13:38:10] i mean, i feel like chatting with sellers and public comments are a significant part of marketplaces [13:38:34] BlankEclair wondering if you could quickly review the changes before you go off to bed [13:38:40] okay [13:38:43] thanks! [13:38:51] linkie? [13:39:14] https://github.com/miraheze/GlobalNewFiles/pull/81, https://github.com/miraheze/GlobalNewFiles/pull/80 and https://github.com/miraheze/GlobalNewFiles/pull/79 [13:39:39] For onFileUndeleteComplete, i'm not sure if we can use the current user. Since anyone could undelete the file and it would use that [13:39:48] hmm, i think github would also count as an age-restricted social media platform [13:39:50] so that's nice [13:39:54] would we use the getUploader in that context? [13:40:00] BlankEclair: ye [13:40:00] Bullshit [13:40:23] pixldev: I concur [13:40:28] we all concur [13:40:54] Banning TikTok instagram snapchat and the like is one thing [13:41:06] GitHub? [13:41:14] These monsters have gone too far [13:41:34] > the sole purpose, or a significant purpose, of the service is to enable online social interaction between 2 or more end-users [13:41:42] i feel like a significant part of github counts as this [13:41:51] (if you disagree, consider hosting cgit) [13:42:00] > the service allows end-users to link to, or interact with, some or all of the other end-users [13:42:10] github has follows for some reason... plus, comments are a form of interaction [13:42:18] > the service allows end-users to post material on the service [13:42:20] creating repos lol [13:42:36] > such other conditions (if any) as are set out in the legislative rules [13:42:39] ngl i have no idea what this means [13:46:26] ye github is social media ish [13:47:47] These monsters have gone too far [13:47:47] Discord would probably also be included [13:47:47] Anyways [13:50:14] if you are autistic enough to read bills out of boredom, then here's the link: https://www.aph.gov.au/Parliamentary_Business/Bills_Legislation/Bills_Search_Results/Result?bId=r7284 [13:50:29] discord is 100% social media [13:50:47] we aren't responsible for who register on Discord tho [13:51:19] yeah, but pixl's point is that it counts [13:51:22] not that we're on the hook for it [13:56:10] do bear in mind that youtube is social media too [13:56:56] BlankEclair wait, so i should use upsert for both insert and update or only for update? [13:57:05] only for update [13:57:13] 👍 [13:57:31] something like this https://github.com/miraheze/GlobalNewFiles/pull/79#issuecomment-2506183839 ? [13:57:45] the law is insane and I would think has one of two outcomes, sites will block it or sites will become extremely draconian [13:58:37] barring a good enough loophole, in between or court strike to pull it off the map [13:59:18] not sure about the files_name key tho for unique [13:59:33] They might just have it so you cant post or upload content without be verified [14:00:10] Their cash comes from viewing ads [14:00:10] BlankEclair ^ [14:01:10] oh should the unique key just be [] as we don't have unique set [14:01:45] oh [14:04:52] oh BlankEclair, the 4th arg is the set and the 2nd is the where. [14:05:03] ohh [14:05:19] uh [14:05:34] * BlankEclair checks the example code i just provided again [14:05:38] https://github.com/miraheze/ManageWiki/blob/fd4ddd50621cd11542ce1321bc57c40a28d3978b/includes/Helpers/ManageWikiExtensions.php#L232-L248 [14:05:40] uh wat [14:06:16] was just reading https://github.com/wikimedia/mediawiki/blob/c3631a24f1eae9b064fef27c89baccf8af191e0c/includes/libs/rdbms/database/Database.php#L1599 [14:08:31] I kinda think the `'s_settings' => json_encode( [] ),` should go. Not sure why that's there. [14:09:10] god i need some sleep [14:17:31] oh i guess we don't need to set unique index key to [] BlankEclair [14:17:35] i can just keep it as is. [14:17:44] we don't want duplicate file names anyways. [14:22:06] we can just use upsert instead of insert as well [14:23:06] oh i guess not because we don't make it unique inside the sql [14:26:55] I very much doubt the Australian law can do that much damage as that would mean that pretty much most websites would have to implement age verification (like GitHub) which is definitely not happening [14:27:26] In the end I think they'll be forced to narrow the definition or indeed Australia will just be blocked completely [14:27:39] Complying with the GDPR is one thing but having to do age verifications is really a whole other step [14:35:22] BlankEclair done, does it look o now? [14:35:26] *ok [22:58:48] Hmm, the GH notif bot service is EOL [23:14:54] Thinking about possible alts for it, there’s wm-bot [23:15:14] I also could add a plugin to MacFanBot [23:23:23] Limnoria has a plugin for that and replacing notifico was the original purpose of WikiTideBot [23:39:29] botifico???? [23:39:43] @pixldev yup [23:40:15] NOOOOOOOOOOOOO [23:40:24] a:candles: