[00:26:57] > This is taking a bit longer, please hold on... [00:27:03] did i anger the greylog gods [00:33:59] BlankEclair: Yes you did, now pray and dance for them. [03:35:14] [1/2] i removed the title part of the wikiseo parser function but it still exists. how do i get rid of it or is it just there permanently now [03:35:14] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1352848066121564160/image0.jpg?ex=67df8171&is=67de2ff1&hm=b103ea5f57f49c0fc7cb6c33c4b43e3a02ca738bc8de3f03221bafb8029e8e8e& [11:39:46] it takes a while to update from my experience [12:20:46] I can't merge tickets. [12:20:54] :3sEmiliaHMPF: [12:22:41] meow? [12:23:34] Nevermind, I can. [12:23:39] BlankEclair: mewow [12:23:46] mrreow [12:23:54] Mrraaoww [12:44:19] https://www.google.com/search?sca_esv=2fd978a0080be9fe&sxsrf=AHTn8zpZERmhOpzJN1LYewLtgqBcLNqmlg:1742647381608 [12:44:42] https://www.youtube.com/shorts/Z1KWN9Tc6EY [18:29:56] god I just wrote the most fucked code eva [18:31:14] Go on [18:34:39] [1/2] its not that fucked but its hurting my head to think about [18:34:40] [2/2] https://gitlab.com/telepedia/extensions/baws/-/blob/main/maintenance/PopulateInTrack.php?ref_type=heads [18:38:27] That's nothing [18:38:57] hUrTiNg My HeAd [18:43:36] You should have seen our GCSE NEAs for my comp sci class [18:43:44] I helped out teaching once I'd finished mine [18:43:56] There wasn't a fucking well named variable or a function in sight [18:44:15] idk what an NEA is [18:46:13] Non examined assessment [18:46:20] The practical bit [18:50:43] ah [18:54:10] ^ filed a [task]() for this so it doesn't get lost in the channel [18:55:45] Oh ye [18:55:52] @originalauthority thoughts on what @abaddriverlol said [18:56:02] We could make the Cloudflare rule stricter [18:56:16] So it doesn't redirect if action= is passed [18:56:20] Only for the pure article [19:07:01] why can't you just follow the 301 in your code? [19:07:13] oh [19:07:22] simple fix: use fetch api instead [19:07:25] It's not my code and this is probably not the only user script affected by this [19:07:57] this is what I don't like about the entrypoint code, [19:08:12] there's no reason to redirect /w/index.php to /wiki/ [19:08:18] Then other people who don't have as much experience with JS wouldn't be able to import scripts like this one from wikimedia anymore [19:08:55] I assume there's a reasoning for redirecting /w/index.php to /wiki/ but I don't really know what it is [19:09:17] https://discord.com/channels/407504499280707585/1006789349498699827/1352736042230480917 [19:09:28] /wiki/ urls are cleaner [19:09:31] not a valid reason imo [19:09:37] not when it breaks core functionality [19:10:14] Cleaner ye [19:10:21] but in your example screenshots I don't see what prettying has been done? [19:10:27] url looks exactly the same in both screenshots? [19:10:31] because it is [19:10:32] I mean I'm happy to disable automatic prettying if action= is in the url [19:10:37] the return code differs [19:10:58] i just attached the screenshots to show that the normal mw and wmf configuration is different [19:11:07] that's not what I'm saying [19:11:18] in both screenshots the url looks exactly the same, yes? So what prettying has been done [19:11:30] none because the browser didn't prettify the url [19:11:33] the server returned 301 [19:11:41] the url shown is the one the browser sent the request to [19:12:33] if you follow in the browser it redirects you to [19:12:41] which is a different thing [19:13:06] [1/2] this is what I expect it to return, which it only does for /wiki/ urls [19:13:06] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1353084088440983642/image.png?ex=67e05d41&is=67df0bc1&hm=df54e4dfbfb1b77004f2d6002807c7dcfbb15c9ae9e4d4d24fce5194ee27b1df& [19:14:06] I see [19:14:14] pointless exercise imo but [19:14:16] ¯\_(ツ)_/¯ [19:16:48] yeah that's why I think this redirect should be disabled for urls with `?action` [19:17:12] since even when following the redirect it would yield the wrong result [19:17:58] but that would render the whole thing useless [19:18:10] wdym [19:18:10] because i could just do /index.php?title=Main_Page&action=view [19:19:43] well than it has to be disabled for all actions except `view` ig [19:21:22] I'm impartial to the entire thing, your suggestion to exempt `?action != view` is valid so I agree with that. [19:21:51] I can do that [19:21:56] If someone reminds me [19:22:28] do that [19:22:32] reminded 🙂 [19:22:57] @originalauthority like tomorrow [19:23:04] I'm sat down eating Percy pigs [19:23:05] oh dear [19:23:07] on a sunday! [19:23:13] thats gods day i'll be at church [19:23:17] to be absolved of all my sins [19:23:23] thanks! [19:23:41] My memory is a sieve [19:23:50] Which is a word @pixldev hates [19:24:54] @originalauthority there are 3 reasons I go to church: 1) polling day 2) with family because my mum is rediscovering faith when I'm up north 3) if we get evacuated for flooding / WWII bombs / nuclear disaster [19:25:35] I do not and will not be attending church [19:25:51] Not religious? [19:26:22] No, I'm a big fan of physics. The two do not go well together. [19:26:29] Nope [19:26:35] I agree [19:29:28] I wonder if theres some way to see what categories have been added to a page on save hmm [19:33:29] AH the linksUpdate class heh [20:04:37] Well now we have working links tables [20:28:16] [1/7] incase anyone wants to know its [20:28:20] [2/7] ```php [20:28:20] [3/7] public function onLinksUpdateComplete($linksUpdate, $ticket) { [20:28:20] [4/7] $added = $linksUpdate->getPageReferenceArray( 'imagelinks', LinksTable::INSERTED ); [20:28:20] [5/7] } [20:28:20] [6/7] ``` [20:28:20] [7/7] to get images added within an edit [20:28:26] not that anyone actually cares but useful knowledge nonetheless [20:31:27] @originalauthority point of order that for 85% of wikis the links table is corrupt [20:38:05] Bout to run u through a strainer [20:38:43] Good morning [20:39:02] @pixldev honestly that made me burst out laughing [20:39:39] Mission successful [20:39:42] Hardly [20:40:00] Why [20:40:12] Wait [20:40:17] The morning part [20:40:20] Day has been good [20:40:55] @pixldev ah good [20:41:13] Camping day! [20:41:19] camping ain't good [20:41:37] I like my luxuries [20:42:03] I'll take the nice cottage nearby, hopefully with a restaurant attached [20:42:31] With scouts @pixldev ? [20:42:57] [1/4] https://cdn.discordapp.com/attachments/1006789349498699827/1353106692153540659/IMG_6614.jpg?ex=67e0724e&is=67df20ce&hm=ff67fd547a9871f4b8b3e60ef8016bd61ed688d4e5f8e1d29fd9d53398d146e2& [20:42:57] [2/4] https://cdn.discordapp.com/attachments/1006789349498699827/1353106694640762992/IMG_6600.jpg?ex=67e0724f&is=67df20cf&hm=ee0ebe9d24d868435f2c185c97b27a8caa73f8b18a05ba688ec7e3874f4f36c4& [20:42:57] [3/4] https://cdn.discordapp.com/attachments/1006789349498699827/1353106696288997477/IMG_6550.jpg?ex=67e0724f&is=67df20cf&hm=14599c4e421025a2eb6c51d4045ad1d8d23bf202d615a213423b9ebe800bb586& [20:42:58] [4/4] https://cdn.discordapp.com/attachments/1006789349498699827/1353106698000404593/IMG_6540.jpg?ex=67e07250&is=67df20d0&hm=c43c03b06241518e8bd6bee716aabdbae77f63d16b7e8eb8f3f448ac5d8284b9& [20:42:59] Gonna drag you into the Pennsylvania mountains [20:43:21] Happily if there's a pub at the end [20:43:23] I'll even pay [20:43:31] Just me and you for a weekend living in a Ricky old cabin with no signs of other humans [20:43:36] Yup [20:43:38] Cabin trip [20:43:45] Cabins are fine [20:43:52] I ain't using a tent though @pixldev [20:43:59] Looks wonderful [20:44:26] I slept in a tent [20:44:45] Mhm, went hiking, 15 minutes from the campsite [20:44:51] We just finished rock climbing [20:45:03] Nice [20:45:08] Rock climbing is cool [20:45:45] I've slept in a tent but it was enough times to last a lifetime [20:50:14] oh dear [20:50:41] It's fine, we're rebuilding it [20:50:43] It'll finish [20:50:46] This year? [21:19:31] reminds me of sieve filters [21:22:00] Morning [21:22:08] I had something i was going to tell you [21:22:15] But per the above, you wanna guess [21:54:04] @blankeclair I remembered [21:54:12] I restarted your script after it crashed on 181 [21:54:22] It's just crashed on 171 so you can restart it there [22:00:16] oh ok [23:57:34] how tf you make a line break in a system message wtf?????? [23:57:41] why does \n\n not do it huh