[00:21:14] its cache lol. [00:21:21] on meta that is cache that it works [00:21:36] it really isnt fixed it seems. [00:21:57] I reloaded the page while mariadb was still restarting so appeared as if it did (apparently it works if no connection at all) [00:22:12] just returns 0 [00:26:54] Why is puppet currently broken? [00:27:30] What [00:27:45] > [04/08/2025 09:00] somebody should rewrite MediaWiki to use a non-sql DB like MongoDB [00:27:52] can we store the entirety of the database as cookies [00:27:59] [1/3] > Function lookup() did not find a value for the name 'passwords::mediawiki::cloudflare_requestssl_apikey' [00:28:00] [2/3] and [00:28:00] [3/3] > Function lookup() did not find a value for the name 'passwords::cloudflare::listdomains_roapikey' [00:28:00] cookies also function as a key-value store [00:29:01] Oh for gods sake [00:30:07] let's use localStorage, to finally make mediawiki decentralized [00:30:12] https://phabricator.wikimedia.org/T32559 [00:31:02] Postgres was less popular about 20 years ago. That was long before I knew what databases are, though. About 8 years ago I needed a database and ended up with MySQL after looking around the internet. Postgres's rise is fairly recent (within the past 5 years?) AFAIK. [00:31:24] https://phabricator.wikimedia.org/T25029 [00:32:22] I can't quote an exact reason why MediaWiki uses MySQL but what I do remember about web dev at the time was that MySQL was basically the default choice if you were not working at a corporation [00:33:32] yeah, they really did a lot of good stuff with it recently [00:33:37] Keep in mind that MediaWiki in its current form was written in 2003 and people at the time did not conceive that MediaWiki would become one of the most influential pieces of software ever written [00:34:23] phase IV is gonna happen soon everypony! [00:34:52] Likely the key was not added in /root/puppet so when that syncs at midnight UTC every day (exact time it broke) it removed it. [00:37:18] @abaddriverlol https://issue-tracker.miraheze.org/T14092#282388 [00:37:40] Would you happen to know how to get those API keys? [00:38:10] lol, ig that's also a solution [00:38:16] You should be able to find them looking at the git history of the bare repo. [00:39:09] Yeah its temporary lol. Leaving task open for now may lower priority though. [00:41:18] I'm not seeing them [00:43:01] They either weren't commited or the commit was force pushed out of existence [00:47:49] I believe I've found them on the cloudflare dashboard, I'll regenerate them and add them to /root/private [00:49:39] [1/4] @cosmicalpha New issue for DPL4: `includematch` has a test regex that doesn't match any page in `Category:Gifts`, but DPL4 still showed every page in the category. [00:49:40] [2/4] Page: https://exttest.mirabeta.org/wiki/DynamicPageList3 [00:49:40] [3/4] https://cdn.discordapp.com/attachments/1006789349498699827/1401728760281305158/image.png?ex=68915523&is=689003a3&hm=c3be2beda886c730365de980163154e5b74eec97db097d44623b9adc31b47d60& [00:49:40] [4/4] https://cdn.discordapp.com/attachments/1006789349498699827/1401728760633364540/image.png?ex=68915523&is=689003a3&hm=475b6ca7612b53635d714c500a3363f29dbc8b1626e178ab57d2ce8387cd4e1c& [00:50:19] Looks like system messages are broken as well since `⧼dpl-tracking-category⧽` is shown in the list of categories. [00:52:01] [1/8] Even simple queries such as [00:52:01] [2/8] ``` [00:52:02] [3/8] {{#dpl: [00:52:02] [4/8] | category = Gifts [00:52:02] [5/8] | includematch = /Test432353452334/s [00:52:03] [6/8] }} [00:52:03] [7/8] ``` [00:52:03] [8/8] result in all 3 pages in the category being shown. [00:57:59] odd I'll look [01:01:23] odd... I can't reproduce on https://dpl3.wikitide.org/wiki/Examples/Parameter:_includematch_(example_2) ... [01:03:18] I was looking at the exact same example but could not get it working on the ext test wiki... [01:04:21] odd so the issue doesn't happen when using table formst but remove table and I can reproduce [01:05:11] or maybe that was intended in original DPL lol did it work on DPL3? [01:05:38] It did work. The original version was copied from Blue Archive wiki. [01:06:09] Oh, looks like only super administrators can modify tokens, I'll poke a bit further but I'm not sure I can fix [01:16:05] I can regenerate [01:23:32] Thanks! [01:23:54] No problem and done [01:25:50] pretty easy for phan. I've done it in github codespaces before. [01:26:12] jolly ill see about that later or smt [01:26:42] im working on a small PR to CW rn to add an interface message for a proper throttling error [01:26:49] Sounds good. Sorry for not replying earlier wss busy with matomo, puppet, tsportal, mariadb. Busy day lol. [01:26:55] so also wont need to ask for CI runs on CW hopefully [01:27:04] please no need to apologies lmao [01:38:44] did we ever figure out how to get Special:EmailUser to display a special message btw [01:39:15] yea, via mirahezemagic [01:39:18] i'll do it tmrw [01:39:27] oh? [01:39:36] teach me your magic ways [01:39:41] ngl, i tried to, but i couldn't figure it out [01:40:04] (well, i didn't figure it out eloquently) [01:40:37] oh i thought it was pretty simple, i found some mediawiki hook for replacing system messages and mirahezemagic was listed as an extension that uses it [01:41:08] but... how did you get EU to display a system message that's not shared with others? [01:42:06] yeah there isnt a system message for it though [01:42:44] honestly we dont need to geo it since its disabled globally anyway [01:43:09] yeah, but we wanna blame the UK + AU for it [01:43:13] instead of a generic error [01:43:21] well yeah [01:43:27] but sake message for everyone [01:43:30] dame [01:43:31] yeah i know [01:43:33] same [01:43:34] but how do we display that message?? [01:43:43] oh fuck, true, `action-sendemail` might be used elsewhere [01:43:43] it'll need a hook to target Special:EmailUser and override the page with a new message. [01:44:04] yeah cant override that. [01:44:43] ok more thinkies for me then [01:48:40] Maybe the OutputPageBeforeHTML hook? [06:53:56] Hi guys [06:53:59] I want your help [06:54:08] I can't verify the Captcha on mobile [06:54:14] I'm on steward board request [06:55:08] https://cdn.discordapp.com/attachments/1006789349498699827/1401820737655803914/Screenshot_2025-08-04-13-54-54-24_40deb401b9ffe8e1df2f1cc5ba480b12.jpg?ex=6891aacc&is=6890594c&hm=ca8ebefef5318d32a2d5a36481dd3dbbf10a640c1b75825a9585a5f575c2bf69& [06:55:10] Guys??? [06:58:13] Man, hundreds are online but there seems to be no help... [07:01:48] Guess I'm pinging a steward [07:02:14] @kiju1108 [07:02:45] [1/3] Hello, steward, I need your help. [07:02:45] [2/3] I am making a steward board request, I found a Captcha, but I don't find any problem to solve. [07:02:46] [3/3] Please help. [07:21:06] you'll need to use the source or visual editor, not discussiontools ^^; [07:21:16] longstanding bug that's hard to design [07:21:20] Where? [07:21:26] I just wanna solve this [07:21:28] the edit button in the section? [07:21:37] Lemme check [07:22:05] Where is it? [07:22:11] https://cdn.discordapp.com/attachments/1006789349498699827/1401827544608804904/Screenshot_2025-08-04-14-21-53-37_40deb401b9ffe8e1df2f1cc5ba480b12.jpg?ex=6891b123&is=68905fa3&hm=3a6152819b352d03de286f9893ef2104c26d6078b004daeffb9ac686a9613efa& [07:23:05] https://cdn.discordapp.com/attachments/1006789349498699827/1401827767409971201/1754292181458.png?ex=6891b158&is=68905fd8&hm=3a9223a65677f72a744b404134b5ab9fe92ddb96426b0923bb54083a4e414ac6& [07:23:36] Sadly I'm having clas [07:23:38] BRO WHY [07:23:42] Anyway pls wait [07:23:46] Brb in 50 minutes [07:23:49] bugs 🙏 [07:23:57] alternatively, remove the link (since that trips the captcha) [07:24:28] Or just not include a link. If you need a link, break it apart (e.g. `ht tps:/ /google. com`). [07:24:42] i love how we are officially recommending to bypass the captcha xD [07:26:49] Average Chinese user's skills lol. I think on some sites the best way to do this is to insert emojis in between because the browser will ignore them when copy-pasting. Lemme see if this works for MW. [07:27:41] [1/2] https://meta.miraheze.org/wiki/Steward_requests/Requests_for_reopening_wikis?diff=prev&oldid=483732 [07:27:41] [2/2] am i reading this diff right? [07:28:46] oh, missing : [08:09:49] Back [08:10:01] Yea [08:10:26] I'm Thai [08:19:39] @blankeclair ? [08:20:08] Uh I mean no [08:22:40] [1/3] Someone from moegirlpedia found an xss vulnerability. I reproduced it on Mirebeta's CategoryTree extension, though it probably affects many other sloppily-written extensions as well. [08:22:40] [2/3] Not sure how much I can disclose here. The current progress of vulnerability-reporting is MW account creation, so some you you might be able to see it soon... [08:22:40] [3/3] https://cdn.discordapp.com/attachments/1006789349498699827/1401842764026609694/image.png?ex=6891bf4f&is=68906dcf&hm=b8c828c7e8d6031bf1cae60faee9644f9ddd3ff3607c5bcb16a9e4e3e5a085c9& [08:23:17] I thought you were helping me @posix_memalign 😭😭😭😭😭 [08:23:41] So, did you try following Claire's advice and removing the link? [08:24:17] I don't know how [08:24:21] Did you report it on WMF phabricator? [08:24:48] You mean this? [08:24:52] That's what I told him to do, and he's probably drafting it right now. [08:26:32] Added successfully without captcha [08:26:33] Weird [08:29:28] oh no [08:56:24] [1/2] Affects syntaxhighlight too... He certainly has a talent for breaking things... [08:56:24] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1401851252790399158/image.png?ex=6891c737&is=689075b7&hm=26a4572e7cdf40820f374adf470a639a13ab6ffed327688f438ee2aa4c0e4c7d& [09:40:23] [1/2] https://phabricator.wikimedia.org/T401099 [09:40:23] [2/2] I can't see it, but some of you might. [11:13:15] I'm going to ask this conversation desists [11:13:27] Please keep discussion to the private task, it's private for a reason [14:44:11] https://tenor.com/view/robert-francis-prevost-pope-absolute-cinema-absolute-cinema-meme-gif-17951475041586042689 [15:01:05] @cosmicalpha sadly php was complaining too much bout phan [15:01:13] not sure how to bump from 8.0.3 to 8.2 [15:01:21] anyways [15:01:36] download a new php ofc [15:01:40] li [15:02:07] I'm not sure how to appease phan on $databaseUtils if we just dont use it, idk if i can remvoe without going boom, maybe a manual override [15:51:58] it isn't used lol the rest of it uses $this->databaseUtils (a property) so the variable is in fact unused. [15:53:14] so tell phan to suck up and shut up? [15:53:40] you can just remove the variable lol [15:54:02] $databaseUtils not $this->databaseUtils though [16:05:19] Should I disable category tree in the mean time? [16:38:37] @paladox I got something new on the CI error, there is a more concrete message now: https://github.com/SemanticMediaWiki/SemanticMediaWiki/actions/runs/16728531274/job/47350545492#step:4:2553 [16:39:17] oh? [16:43:35] Found that out when I started to exclude some tests [17:04:22] Looks like they might be coming from MariaDb 11.8 hmm [17:55:39] Yeah I think that would be it: https://github.com/SemanticMediaWiki/SemanticMediaWiki/actions/runs/16730249431/job/47356316724?pr=6172 [17:56:28] We are back to the same old broken tests from 1.432 [18:31:08] Let me know if anyone finds anymore issues with Matomo. I think I fixed it for real this time. I removed the local hack and it seems to he working. Hopefully it stays that way lol. [18:33:42] maybe you know how to fix @cosmicalpha ? [18:34:09] its mariadb 11.8 related? [18:36:13] Yes, the tracking table issue seems to stem from using MariaDB 11.8 [18:36:20] It isn't an issue with MariaDB 11.2 in the CIC [18:36:51] [1/6] I also got a newer error after skipping a few tests on MariaDB 11.8: [18:36:51] [2/6] ``` [18:36:51] [3/6] Wikimedia\Rdbms\DBQueryError: Error 1020: Record has changed since last read in table 'unittest_change_tag_def' [18:36:52] [4/6] Function: MediaWiki\ChangeTags\ChangeTagsStore::updateTags [18:36:52] [5/6] Query: UPDATE `unittest_change_tag_def` SET ctd_count = ctd_count + 1 WHERE ctd_name = 'mw-new-redirect' [18:36:52] [6/6] ``` [18:38:58] i more meant the issue from that link, but also yeh mariadb 11.8 if you know [18:39:42] hmm.... [18:39:48] will loom in a bit. [18:43:59] I also tracked down the other failures, it seems that the missing properties might be caused by SMW being unable to create some of the pages, just like what huaj1ng mentioned [19:39:13] Okay the CI is passing at PHP 8.1 + MW 1.43 + MariaDB 11.2 now @paladox [19:50:59] Oh how’d you do that [19:52:42] I fixed the tests that I can and skipped the ones that I can't fix... [19:54:35] The ones that are skipped are likely related to some page creation issues, but I didn't have time to dive into it and they are probably not introduced by the PR since it was in the 1.42 CI as well [20:04:17] @atxatx we'll want to remember those skip tests and fix them. [20:04:46] Yes I marked them in the skipping messages, but haven't written an issue for it yet [20:05:19] @atxatx anyways the PR is good to me, i can merge if you want? [20:19:42] @atxatx ^ [20:43:51] @rhinosf1 if you have time at some point mind seeing how we can fix tests for mwdeploy on puppet? [20:44:45] mwdeploy will have major changes soon but what exactly broke [20:45:01] SSLError or something [20:47:24] Sigh [21:15:41] If it's then you can rebase and merge it [21:18:19] merged