[03:10:55] [1/2] This "Processing deleted pages" step is taking suspiciously long. [03:10:55] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1468806066518360228/image.png?ex=69855bbf&is=69840a3f&hm=e2987428db1791ca73875ff4a26c828daccf62b2f0b76091c2a8d90de786f314& [03:12:48] Odd... [03:15:25] that part ain't optimised [03:18:03] I see now that it runs a query involving multiple joins for each deleted page. [03:29:37] https://cdn.discordapp.com/attachments/1006789349498699827/1468810772044845118/image0.gif?ex=69856021&is=69840ea1&hm=8c0168523a33a425c013064d78a7c26456df512f60738b86df9f3c35d0922343& [15:20:42] Something broke with discord notification ext, every link just links to main page try any link on https://discord.com/channels/407504499280707585/1072370273485070387/1468987817458798841 [15:21:19] It looks like its adding the wikidb after the first / [15:26:18] oh this is related to the SUL3 changes [15:27:31] will look once I get up [17:48:28] [1/5] wtf [17:48:28] [2/5] ``` [17:48:28] [3/5] > MW::srv()->getService('DiscordNotifier')->getDiscordUserText(MW::user("Skye")) [17:48:29] [4/5] = " ( | | | )" [17:48:29] [5/5] ``` [17:48:32] WHERE IS THE METAWIKI COMING FROM [17:50:51] the real tech challenge is to figure it out without pinging CA [18:23:23] It only happens on account creations @pskyechology [18:23:40] yeah which the above output is about [18:23:58] Ye but did you do shell metawiki? [18:24:07] also yes [18:24:19] Won't reproduce [18:24:30] Cause it won't run the crap SUL3 does to do the auth magic [18:26:32] I suspect it's because the config is set to all the shared domain stuff [18:27:06] When running from authwiki [18:27:35] I'm not sure if it's a config bug or a discord notifs bug [18:27:47] oh right it'd be firing from auth [18:30:22] Well auth isn't a real thing [18:30:34] It's a way of accessing any wiki through a shared path [18:30:43] In a half functional way that we only use for login [18:31:07] was budgeting on words, it'd just be using the auth config stuff when the hook gets fired [18:31:23] Ye [18:31:25] which i'm not gonna touch since i know not to put forks into sockets [18:31:47] @cosmicalpha I think we gonna need you [18:32:03] The way the auth logic works is confusing as hell [18:32:11] my lazy solution would've been to regex it out on the DN side of things [18:32:26] That feels wrong [18:32:40] What happened? [18:32:58] Discord notifications is broken for account creation events [18:33:04] see https://discord.com/channels/407504499280707585/1072370273485070387/1468987817458798841 for an example [18:33:21] Oh [18:33:28] The links are using /metawiki/ for the path instead of /wiki/ [18:33:29] yes will fix. [18:34:08] Thank you cause I got no clue what to even start looking at [18:34:28] SUL3 isnt used in shell so won't be shown using the SUL3 article path via shell [18:34:56] yea I figured [18:35:08] at least everything else is fine [18:35:36] The SUL3 deployment has been for the most part pretty successful [18:35:41] Which is nice [18:35:52] Cause it was a lot of work from @cosmicalpha [18:36:37] (it really was him digging the hole while the 8 or however many of us just observed) [18:37:42] found the image i was looking for [18:37:45] https://cdn.discordapp.com/attachments/1006789349498699827/1469039311117877461/proxy-image.png?ex=698634f9&is=6984e379&hm=20ad6583946d5cd9ce80069c8779d366a2874a3743bc39dd6a80bb7832a13706& [18:51:27] I think I know the issue will fix in a bit [19:04:39] [1/3] ⁨@pskyechology⁩ ⁨@rhinosf1⁩ [19:04:39] [2/3] https://github.com/miraheze/mw-config/pull/6269 [19:04:39] [3/3] might fix but untested right now. [19:05:36] Ye I wasn't ever going to work that one out [19:05:45] Feel free to deploy [19:07:19] will test in a sec [19:07:56] Thanks! [19:17:24] success [19:20:57] should I be concerned [19:21:18] only when she breaches containment from mirabeta [19:28:59] check it's userpage ;) but nice [19:39:29] I'm surprised we don't have ip editing off on beta [19:41:00] same here [19:44:19] I'm going to fix that [19:45:06] [1/4] I am still a noob with mediawiki but I noticed a tricky error and I would love some feedback on why it happened, if it would be helpful to provide feedback to someone, and to whom, (mediawiki team? en.wikipedia team?) [19:45:06] [2/4] Per the en.wikipedia Legend template (Template:Legend) the background-color field is supposed to pass its input to the css background-color property. This wasn't working but it didn't show me the missing template dead link on the webpage that I am familiar with seeing, I can only see the call to the missing template via inspect element. I didnt see anything in the documentation for [19:45:07] [3/4] this template about the Greater color contrast ratio template. [19:45:07] [4/4] https://cdn.discordapp.com/attachments/1006789349498699827/1469056260799467773/template_legend_passing_to_missing_template_greater_color_contrast_ratio.png?ex=698644c2&is=6984f342&hm=ac50d4c390911f920b647dbfd706ddc34b63f3c1d02720f40ec598adfcf89330& [19:45:42] Why won't beta let me in [19:46:02] Don't use English Wikipedia templates off Wikipedia [20:02:57] I just verified that this template's code is identical on en.wikipedia and the dev.miraheze wiki. [20:03:55] wikipedia templates have an ungodly amount of dependent templates, some of which dependent on wikibase data from wikidata/commons which we simply do not have [20:08:53] Ask in #developers-wiki or #support then [20:57:50] TIL the MW class exists... [20:57:58] I've typed \MediaWiki\MediaWikiServices::getInstance() too often... [20:58:03] this is a shell thing iirc [20:58:09] you are welcome for learning this tip [20:58:09] a debug class [20:58:10] yeah [20:58:22] with stuff like ::user, ::title and ::wan as well [20:58:28] IKR ITS SO USEFUL [20:58:41] but the class alias is deprecated :( [20:58:54] it might be \MediaWiki\Debug\MW in the future [20:59:15] don't ask how many embarassing times i've tried to invoke non static methods btw [20:59:24] lol [20:59:28] Why [20:59:36] https://phabricator.wikimedia.org/T166010 [20:59:38] Why would you make a debug helper longer to type [20:59:50] PSR-4 I suppose [20:59:52] Yes but that's not a benefit in this case [20:59:54] has anyone tried asking if they're stupid [20:59:58] even though it shouldn't even be loaded [21:00:01] I wonder if it's in autoload.php [21:00:02] I stopped asking a while ago [21:00:10] it is [21:00:14] ofc otherwise it wouldn't work