[02:11:48] @aeywoo anymore problems with that MF PR when testing on beta? [02:14:03] Not as far as I remember, everything worked when toggled, except the Wikibase stuff, I can't test that. [02:14:09] Cause there's no wikibase wiki on test151 [02:32:12] Finally merged and deployed it [02:33:24] @aeywoo https://github.com/miraheze/mw-config/pull/5967 is that good to merge? [02:46:45] Should be, we'll find out if it's not because it'll take their wiki down again. [02:47:08] Actually wait, I made it a ManageWiki setting, so it would take all wikis down if it doesn't work. [02:47:11] Oh well, we'll find out. [02:47:20] We can test on beta. [02:47:26] Ughhhh, you ruin all the fun. [02:47:30] beta has an SMW wiki [02:47:43] How do I list all the wikis running on test151? [02:48:19] hey lol I just dont want to mess up ManageWiki because those settings are a pain to remove (well pretty easy but itd need a script I want to avoid) lol [02:48:27] Special:WikiDiscover [02:48:57] https://test.mirabeta.org/wiki/Special:WikiDiscover [02:49:01] Oh dang, I did the same thing [02:49:08] And wow, that embed [02:49:53] lol what where did that embed come from... [02:50:15] somebody is having fun in the stack, that's for sure. [02:50:25] The SemanticMediaWiki Wiki on test151 doesn't even have SMW enabled. [02:50:30] lol [02:50:39] enable it then I guess lol [02:50:59] or you could make new wikis on test151 also btw [02:53:17] Well, I broke mirabeta. [02:53:45] Not sure what went wrong. [02:53:51] lol it's https://http.cat/200.jpg set in $wgWikiSeoDefaultImage [02:54:07] Truly amazing. A masterpiece [02:54:22] what did it do? [02:54:32] https://cdn.discordapp.com/attachments/1006789349498699827/1377842588291432448/image.png?ex=683a6f68&is=68391de8&hm=9dcaf8656e0aba943d6b9a0ab2d3adff720241ed11942eafe3db9dc85794b231& [02:55:23] Ah, looks like it was claire testing things. [02:55:39] Graylog is telling me nothing from Mirabeta. [02:56:22] "PHP Fatal error: Uncaught Error: Class "WikiMap" not found" [02:56:30] Where the fuck would that be coming from. [02:56:36] SMW [02:56:42] I fucking hate SMW. [02:56:42] since WikiMap is removed in 1.44 [02:56:50] Well the alias is [02:56:59] its now MediaWiki\WikiMap\WikiMap [02:57:11] How did you even find that out [02:57:18] Graylog is showing me nothing from mirabeta. [02:57:24] [1/17] full error is [02:57:24] [2/17] ``` [02:57:24] [3/17] PHP Fatal error: Uncaught Error: Class "WikiMap" not found in /srv/mediawiki/1.44/extensions/SemanticMediaWiki/includes/GlobalFunctions.php:165 [02:57:25] [4/17] Stack trace: [02:57:25] [5/17] #0 /srv/mediawiki/1.44/extensions/SemanticMediaWiki/src/Localizer/LocalLanguage/JsonContentsFileReader.php(136): smwfCacheKey('smw:lang', Array) [02:57:25] [6/17] #1 /srv/mediawiki/1.44/extensions/SemanticMediaWiki/src/Localizer/LocalLanguage/LanguageContents.php(74): SMW\Localizer\LocalLanguage\JsonContentsFileReader->readByLanguageC>#2 /srv/mediawiki/1.44/extensions/SemanticMediaWiki/src/Localizer/LocalLanguage/LocalLanguage.php(125): SMW\Localizer\LocalLanguage\LanguageContents->load('en') [02:57:26] [7/17] #3 /srv/mediawiki/1.44/extensions/SemanticMediaWiki/src/NamespaceManager.php(297): SMW\Localizer\LocalLanguage\LocalLanguage->fetch('en') [02:57:26] [8/17] #4 /srv/mediawiki/1.44/extensions/SemanticMediaWiki/src/NamespaceManager.php(188): SMW\NamespaceManager->getLocalLanguage('en') [02:57:26] [9/17] #5 /srv/mediawiki/1.44/extensions/SemanticMediaWiki/includes/SemanticMediaWiki.php(47): SMW\NamespaceManager::initCustomNamespace(Array) [02:57:26] [10/17] #6 /srv/mediawiki/1.44/includes/registration/ExtensionRegistry.php(586): SemanticMediaWiki::initExtension(Array, Object(MediaWiki\Settings\SettingsBuilder)) [02:57:27] [11/17] #7 /srv/mediawiki/1.44/includes/registration/ExtensionRegistry.php(332): MediaWiki\Registration\ExtensionRegistry->exportExtractedData(Array) [02:57:27] [12/17] #8 /srv/mediawiki/1.44/includes/Setup.php(297): MediaWiki\Registration\ExtensionRegistry->loadFromQueue() [02:57:28] [13/17] #9 /srv/mediawiki/1.44/includes/WebStart.php(86): require_once('/srv/mediawiki/...') [02:57:28] [14/17] #10 /srv/mediawiki/config/initialise/entrypoints/index.php(12): require('/srv/mediawiki/...') [02:57:29] [15/17] #11 {main} [02:57:29] [16/17] thrown in /srv/mediawiki/1.44/extensions/SemanticMediaWiki/includes/GlobalFunctions.php on line 165 [02:57:30] [17/17] ``` [02:57:38] for 500 errors I just find in it journalctl [02:57:58] `sudo journalctl -xe` [02:59:49] It would be in some /var/log/* but journalctl is just easier and faster for me lol [03:00:26] I guess I can try upgrading SMW. [03:00:46] mwdeploy can't update smw [03:00:52] as it's not installed the same way [03:00:53] Why not. [03:00:58] it's installed via composer [03:01:06] Oh for god sake. [03:01:34] so where is the SMW folder that I run composer in [03:01:55] I can't remember how that works lol. I think it is part of root composer [03:02:08] Then what am I supposed to do. [03:02:13] it's in composer.local.json in mediawiko-repos. [03:02:39] Let's check the SMW source and see if it's even fixed and if not no point in updating lol [03:03:51] its not fixed [03:04:31] It would be a simple fix wouldn't it? [03:04:49] Just add `use MediaWiki\WikiMap\WikiMap;` to the top of the file? [03:05:07] I guess hack it by setting `$wgCachePrefix = \MediaWiki\WikiMap\WikiMap::getCurrentWikiId();` I guess? [03:05:35] That might let it run but there are other instances so a lot will still be broken though [03:05:51] Am I changing this in LocalSettings.php for my repo? [03:05:58] Or am I doing this locally on the VM. [03:06:14] just edit /srv/mediawiki/config/SemanticMediaWiki.php and see if it even works. [03:07:40] Well, now its an issue with SMW Drilldown. [03:07:52] `Original exception: [6c5b3e84a7aa71ce7a2484b1] /wiki/Special:ManageWiki/extensions Error: Call to a member function matchAndRemove() on null`` [03:08:32] of course lol [03:08:35] And this: `Original exception: [cb297b1efc6c6c51ac7115ba] /wiki/Special:ManageWiki/settings/semanticmediawiki TypeError: SMW\MediaWiki\Hooks\TitleIsAlwaysKnown::__construct(): Argument #1 ($title) must be of type Title, MediaWiki\Title\Title given, called in /srv/mediawiki/1.44/extensions/SemanticMediaWiki/src/MediaWiki/Hooks.php on line 1049`. [03:08:41] Likely a similar issue [03:08:45] and yep it is [03:08:47] If I change the version to REL1_43 would the database shit itself? [03:08:52] Title was removed also [03:08:58] Probably not [03:09:01] Good. [03:09:16] I can't do that via GUI, how am I supposed to do that. [03:09:26] You can do it and if it does it does changing the version doesnt run any sql queries anyway [03:09:47] do it from meta.mirabeta.org/wiki/Special:ManageWiki/core/ [03:10:15] of that doesnt work there is a maintenance script to do it [03:10:18] It says it doesn't exist. [03:10:34] you added wikibeta at the end? [03:10:50] No.. [03:11:34] Okay, it seems to be behaving now. [03:11:34] https://meta.mirabeta.org/wiki/Special:ManageWiki/core/semanticmediawiki1wikibeta [03:12:35] I got scared for a minute since semanticmediawiki1wikibeta was one of the wikis I used to test my RequestSSL patch lol [03:13:20] Well, `$wgDVFeatures` isn't showing up in ManageWiki from my fork, I wonder why, [03:14:05] maybe a misbehaving cache [03:14:51] Does my SMW setting need to be present in LocalSettings.php [03:15:07] That reminds me of when I was testing something and created like 400 beta wikis lol. Glad it was reset because of that too... [03:15:17] no [03:15:21] oh yeah, I think I remember [03:15:29] original betaheze was a hot mess near the end [03:15:48] So, it only needs to be in `ManageWikiSettings.php`? [03:15:57] It should yeah [03:16:32] It ain't showing up. [03:16:53] I was told way back then that the setting needed to be in both \:P [03:17:01] Not anymore [03:17:05] Nevermind, now it is. [03:17:08] I'm gonna kill something. [03:17:13] My recent ManageWiki changes avoided that. [03:18:15] [1/2] this looks promising [03:18:15] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1377848556479582350/image.png?ex=683a74f7&is=68392377&hm=21938a0626832491fc8e8bb338cd0afab0b65d40948533fe9363cf912ef92943& [03:18:35] I've enabled them all, I think they should all be working now. [03:18:35] Nice! [03:18:47] This is the first time I think that `list-multi-int` has been used. [03:19:14] Nope I used it for 2 others that I specifically created the type for a couple of weeks ago. [03:19:27] Actually wait.... this might not work? Hmm. [03:19:42] I need to think about this later when I get home, cause all the values need to be added up together. [03:20:12] They can't be in an array/list, they have to be a sum of the total values input. [03:20:43] ohhhhhh it's supposed to be a bitwise? [03:20:48] Yes. [03:20:58] Which is why this setting has infuriated me for the past month. [03:21:12] Thats a type of variables I've never considered before... [03:21:27] Cause no one should be using them. [03:21:30] Probably possible to create a new type [03:22:01] Anyways, let me know if you do that, I'm off to the shops for an hour or so. [03:22:29] I dont know lol. This is one complicated variable [03:25:58] This is why I hate SMW. [05:36:43] teehee~ [05:36:50] i should add girls kissing tbh [05:43:06] I don't see any objections. [12:40:09] Just use a list multi and name it a different variable and then get that variable in GlobalSettings and set it as a bitwise?