[00:00:16] !log [wwr@test151] Starting import for wwrtest3wikibeta (XML: None; Images: ./images) (START) [00:00:17] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php importImages --wiki=wwrtest3wikibeta --sleep=0 '--comment=Importing images from https://dev.miraheze.org ([[phorge:T15032|T15032]])' -- ./images (START) [00:00:18] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php importImages --wiki=wwrtest3wikibeta --sleep=0 '--comment=Importing images from https://dev.miraheze.org ([[phorge:T15032|T15032]])' -- ./images (END - exit=1) [00:00:19] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:00:19] !log [wwr@test151] Finished import for wwrtest3wikibeta (XML: None; Images: ./images) (END - exit=1) [00:00:20] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:00:22] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:00:24] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:01:11] @thewwrnerdguy having fun on beta? [00:01:27] !log [wwr@test151] Starting import for wwrtest3wikibeta (XML: None; Images: ./images) (START) [00:01:28] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php importImages --wiki=wwrtest3wikibeta --sleep=1 '--comment=Importing images from https://dev.miraheze.org ([[phorge:T15032|T15032]])' -- ./images (START) [00:01:29] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:01:29] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php importImages --wiki=wwrtest3wikibeta --sleep=1 '--comment=Importing images from https://dev.miraheze.org ([[phorge:T15032|T15032]])' -- ./images (END - exit=1) [00:01:30] !log [wwr@test151] Finished import for wwrtest3wikibeta (XML: None; Images: ./images) (END - exit=1) [00:01:30] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:01:32] hmm why are the images failing [00:01:32] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:01:34] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:01:50] whats the error [00:02:18] I was trying to test the commands written on User:TheWWRNerdGuy/imports by getting an actual dump on dev imported [00:02:54] https://wwrtest3.mirabeta.org/wiki/File:Nutheze_black.png looks like the actual file description was uploaded but not the file [00:03:21] [1/8] ``` [00:03:21] [2/8] Importing NoParserException.png...failed. (An unknown error occurred in storage backend "miraheze-swift".) [00:03:22] [3/8] Importing TitleShortURL.png...failed. (An unknown error occurred in storage backend "miraheze-swift".) [00:03:22] [4/8] Importing Nutheze_black.png...failed. (An unknown error occurred in storage backend "miraheze-swift".) [00:03:22] [5/8] Importing Devwiki_favicon.ico...failed. (An unknown error occurred in storage backend "miraheze-swift".) [00:03:22] [6/8] Importing MWSidebar.png...failed. (An unknown error occurred in storage backend "miraheze-swift".) [00:03:23] [7/8] Importing ManageWikiSidebar.png...failed. (An unknown error occurred in storage backend "miraheze-swift".) [00:03:23] [8/8] ``` [00:04:37] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php rebuildall --wiki=wwrtest3wikibeta (START) [00:04:38] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:09:52] okay, after reboot #2 [00:12:32] [1/8] ```php [00:12:32] [2/8] // MobileFrontend Setting [00:12:33] [3/8] if ( $wmgMobileFrontendAllowNavboxs ) { [00:12:33] [4/8] $wgMFRemovableClasses['base'] = ['.nomobile']; [00:12:33] [5/8] } [00:12:34] [6/8] if ( $wmgMobileFrontendRemoveHidden ) { [00:12:34] [7/8] $wgMFRemovableClasses['base'][] = '.hidden'; [00:12:34] [8/8] }``` [00:12:48] @thewwrnerdguy does this make sense to you [00:13:10] oh boy [00:13:18] as a hint this is a common issue after resets [00:13:45] is it slot roles and content models [00:14:40] nah it's swift [00:16:48] I feel like having multiple separate configuration values could get confusing [00:17:43] I see having two pretty clear checkboxes makes more sense than a drop down like CA suggested [00:18:05] and what if we add a third factor? frontend would be hiedous [00:21:59] @thewwrnerdguy do you have config values on beta staging [00:23:05] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php rebuildall --wiki=wwrtest3wikibeta (END - exit=0) [00:23:08] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:23:45] I do but you're fine to revert them [00:24:27] My only concern with this is further bloating ManageWiki which we should avoid to much or it hurts UX and performance. So keeping the minimum helps that also. It won't make a huge difference though so I'm fine with either. [00:25:49] The reason I mentioned a drop down though (just realized you said two when I was thinking three) is I could see three possible combinations, as well as it makes it more expandable in the future and cleaner in GlobalSettings.php also. [00:26:44] miraheze/mw-config - YTFGolf the build passed. [00:31:07] well, ill pull onto beta and try to see how both look [00:31:26] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php CreateWiki:SetContainersAccess --wiki=wwrtest3wikibeta (END - exit=0) [00:31:28] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:32:29] !log [wwr@test151] Starting import for wwrtest3wikibeta (XML: None; Images: ./images) (START) [00:32:30] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php importImages --wiki=wwrtest3wikibeta --sleep=0 '--comment=Importing images from https://dev.miraheze.org ([[phorge:T15032|T15032]])' -- ./images (START) [00:32:31] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:32:31] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php importImages --wiki=wwrtest3wikibeta --sleep=0 '--comment=Importing images from https://dev.miraheze.org ([[phorge:T15032|T15032]])' -- ./images (END - exit=1) [00:32:32] !log [wwr@test151] Finished import for wwrtest3wikibeta (XML: None; Images: ./images) (END - exit=1) [00:32:33] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:32:34] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:32:36] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:32:39] okay nope that's not it [00:34:17] what was the output [00:36:35] I lost the output, I can't scroll further up in the terminal (is this another case of me completely not knowing an obvious solution?) [00:36:41] https://cdn.discordapp.com/attachments/808001911868489748/1482175601883480134/image.png?ex=69b5ff18&is=69b4ad98&hm=1898f4c03097087b294cfa5f18afe856feaf0f99395500842352a9152e352f4e& [00:36:45] I'm sure it's fine [00:37:02] `composer test` is the only one necessary probably [00:41:03] run it again [00:41:29] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php CreateWiki:SetContainersAccess --wiki=wwrtest3wikibeta (END - exit=0) [00:41:31] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [00:42:37] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php CreateWiki:SetContainersAccess --wiki=wwrtest3wikibeta (END - exit=0) [00:42:39] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:04:39] miraheze/mw-config - pixDeVl the build passed. [01:05:14] a:yippee: [01:09:26] !log [pixldev@test151] starting deploy of {'config': True} to test151 [01:09:27] !log [pixldev@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [01:09:29] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:09:31] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:11:28] https://cdn.discordapp.com/attachments/808001911868489748/1482184356524199986/Screenshot_20260313_211025.png?ex=69b60740&is=69b4b5c0&hm=fd7751b2a1feb6fbc46feeae5cfa525c9248cbf88df049f6021162d0dc0ebdda& [01:12:59] @thewwrnerdguy ^ [01:13:19] im gonna try to make a config for the dropdown to see [01:13:24] and compare [01:13:54] If you do it using texts you could add `'associativeKey' => 'base',` and avoid $wmg variable altogether I believe. [01:13:57] Wait [01:14:21] o true [01:14:45] just thought also a drop list can have multi selects [01:15:40] I think doing that may be cleaner [01:15:40] lmao totally forget multiselect exists I was thinking of just 'list' also would work with associativeKey [01:15:59] i dont think we can use assoKey [01:16:05] navbox has two classes [01:16:08] !log [wwr@test151] Starting import for wwrtest3wikibeta (XML: None; Images: ./imports/images/) (START) [01:16:09] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php importImages --wiki=wwrtest3wikibeta --sleep=0 '--comment=Importing images from https://dev.miraheze.org ([[phorge:T15032|T15032]])' -- ./imports/images/ (START) [01:16:10] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php importImages --wiki=wwrtest3wikibeta --sleep=0 '--comment=Importing images from https://dev.miraheze.org ([[phorge:T15032|T15032]])' -- ./imports/images/ (END - exit=1) [01:16:10] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:16:11] !log [wwr@test151] Finished import for wwrtest3wikibeta (XML: None; Images: ./imports/images/) (END - exit=1) [01:16:12] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:16:14] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:16:16] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:16:32] and I'd rather a bit of logging in GSettings.php than have two frontend classes to disable [01:16:37] You can. It would just set $wgMFRemovableClasses['base'] = value if associativeKey is base. [01:17:31] can it be two values? because it would need to control 2 strings being added to the array on the same level [01:17:49] multiselect sets an array. [01:18:11] That way you can allow even more options in it so anything can be turned off or more things on without certain hacks. Might be more future proof anyway. [01:18:45] [1/6] Yeah but I mean having [01:18:45] [2/6] Filter out: [01:18:45] [3/6] * navboxes [01:18:45] [4/6] * navboxes but also [01:18:46] [5/6] * hidden [01:18:46] [6/6] seems funky [01:19:30] We could just add all the different options as options to multiselect so any user can choose any combination of allowed options. [01:20:19] Up to you though. Your doing it. Do a proof of concept of what you were thinking and I can review from there. [01:20:22] mmm, okay so the other class is .vertical-navbox [01:20:41] i dont love it but i guess it's, fiiiiine to have that as another option [01:20:47] let me get working [01:22:59] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php initEditCount --wiki=wwrtest3wikibeta (END - exit=0) [01:23:01] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:23:23] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php initSiteStats --wiki=wwrtest3wikibeta --update (END - exit=0) [01:23:25] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:23:56] !log [wwr@test151] Starting import for wwrtest3wikibeta (XML: None; Images: ./images/) (START) [01:23:57] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php importImages --wiki=wwrtest3wikibeta --sleep=0 '--comment=Importing images from https://dev.miraheze.org ([[phorge:T15032|T15032]])' --search-recursively -- ./images/ (START) [01:23:58] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php importImages --wiki=wwrtest3wikibeta --sleep=0 '--comment=Importing images from https://dev.miraheze.org ([[phorge:T15032|T15032]])' --search-recursively -- ./images/ (END - exit=1) [01:23:58] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:23:59] !log [wwr@test151] Finished import for wwrtest3wikibeta (XML: None; Images: ./images/) (END - exit=1) [01:24:00] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:24:02] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:24:04] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:26:27] https://wwrtest3.mirabeta.org/wiki/Miraheze_Developers_Wiki?action=info aw hell yeah [01:27:47] guess I'm fixing slot roles and content models [01:28:14] Not documented anywhere but https://github.com/miraheze/MatomoAnalytics/blob/main/maintenance/ModifyMatomo.php might fix it. [01:28:14] [GitHub] [miraheze/MatomoAnalytics] maintenance/ModifyMatomo.php @ main [01:28:43] That error is typically related to Matomo. [01:29:30] lets see if this works [01:29:35] [1/18] ```php [01:29:35] [2/18] '$wgMFRemovableClasses' => [ [01:29:36] [3/18] 'associativeKey' => 'base', [01:29:36] [4/18] 'name' => 'Classes to strip from MobileFrontend view.', [01:29:36] [5/18] 'from' => 'mobilefrontend', [01:29:36] [6/18] 'type' => 'list-multi', [01:29:37] [7/18] 'overridedefault' => [ [01:29:37] [8/18] ".navbox", [01:29:37] [9/18] ".vertical-navbox", [01:29:38] [10/18] ".nomobile" [01:29:38] [11/18] ], [01:29:39] [12/18] 'section' => 'other', [01:29:39] [13/18] 'options' => ['Navbox' => '.navbox', [01:29:40] [14/18] 'Vertical navbox' => '.vertical-navbox', [01:29:40] [15/18] 'No Mobile' => '.nomobile', [01:29:41] [16/18] 'Hidden (FANDOM)' => '.hidden'], [01:29:41] [17/18] 'help' => 'Element with these CSS classes will be be removed from being show on mobile view pages. The hidden class is used on FANDOM, and may be enabled for compatibility with FANDOM imports.', [01:29:42] [18/18] 'requires' => [],``` [01:29:42] I think it is [01:29:43] -$ [01:30:04] https://meta.miraheze.org/wiki/Tech:Fixing_slot_roles_and_content_models [01:30:27] !log [wwr@test151] sudo -u www-data php /srv/mediawiki/1.45/maintenance/run.php MatomoAnalytics:ModifyMatomo --wiki=wwrtest3wikibeta (END - exit=0) [01:30:28] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:30:36] I know that is, I wrote that one. I meant the fact about that error being matomo related. [01:30:41] oh lol [01:31:09] hmm its not in matomo alright but it also isnt adding. [01:31:26] i have that documented in tech:matomo [01:31:37] oh nice. [01:31:54] wwr resetted a wiki and that exactly matches the profile of the error given [01:34:45] !log [pixldev@test151] starting deploy of {'config': True} to test151 [01:34:46] !log [pixldev@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [01:34:47] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:34:49] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:35:11] !log [pixldev@test151] starting deploy of {'config': True} to test151 [01:35:12] !log [pixldev@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [01:35:13] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:35:15] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:35:28] !log [pixldev@test151] starting deploy of {'config': True} to test151 [01:35:29] !log [pixldev@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [01:35:29] https://github.com/miraheze/MatomoAnalytics/pull/187 [01:35:30] [GitHub] [miraheze/MatomoAnalytics #187] open PR by Universal-Omega, created 35 seconds ago: Fix crashing other things when something with Matomo goes wrong | (empty comment) [01:35:30] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:35:32] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:36:05] https://cdn.discordapp.com/attachments/808001911868489748/1482190552526225550/image.png?ex=69b60d05&is=69b4bb85&hm=33980f177045f786c4c5c15970769f500109bcde29e22517a9ced78f19fd23bb& [01:36:21] okay, ugly and needs better text but display wise i think thsi works [01:36:31] i should just show the raw calss i think [01:36:41] Was just gonna say fhat yeah. [01:38:03] Probably won't fully work yet but I want to fix this so if Matomo goes wrong it just logs to graylog and less things breaking on-wiki. [01:39:00] I am at dinner right now and someone managed to get into doing a PR at dinner lol. I should get back to eating at the moment. [01:40:08] miraheze/MatomoAnalytics - Universal-Omega the build passed. [01:40:38] the pr branch name isnt even accurate now lol [01:43:55] miraheze/mw-config - pixDeVl the build passed. [01:43:58] sweet [01:46:28] !log [pixldev@test151] starting deploy of {'config': True} to test151 [01:46:29] !log [pixldev@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [01:46:30] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:46:32] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:46:51] cool, time to see if its actually working [01:46:54] oh actually [01:47:10] how does the eval thing work to see the value of a variable at run time [01:47:38] `shell metawikibeta` if I'm getting what you meant correctly [01:48:42] [1/12] ```php [01:48:42] [2/12] > $wgMFRemovableClasses [01:48:43] [3/12] = [ [01:48:43] [4/12] 0 => ".navbox", [01:48:43] [5/12] 1 => ".vertical-navbox", [01:48:43] [6/12] 2 => ".nomobile", [01:48:44] [7/12] "base" => [ [01:48:44] [8/12] ".navbox", [01:48:44] [9/12] ".vertical-navbox", [01:48:45] [10/12] ], [01:48:45] [11/12] ] [01:48:46] [12/12] ``` [01:49:09] hm [01:49:23] well thats not right... [01:53:45] https://cdn.discordapp.com/attachments/808001911868489748/1482194995472629810/image.png?ex=69b61128&is=69b4bfa8&hm=ce1c9fa0a0b73ef79affbfda2fdfc210309fb0e32e78a0045d225c37ec302ce1& [01:53:49] hu- [01:53:51] wu [01:53:57] i didnt redeploy [01:54:56] [1/13] ```> $wgMFRemovableClasses [01:54:56] [2/13] = [ [01:54:56] [3/13] 0 => ".navbox", [01:54:57] [4/13] 1 => ".vertical-navbox", [01:54:57] [5/13] 2 => ".nomobile", [01:54:57] [6/13] "base" => [ [01:54:57] [7/13] ".navbox", [01:54:58] [8/13] ".vertical-navbox", [01:54:58] [9/13] ".nomobile", [01:54:58] [10/13] ".hidden", [01:54:59] [11/13] ], [01:54:59] [12/13] ] [01:55:00] [13/13] ``` [01:55:11] wait [01:55:39] im confused [01:56:00] !log [pixldev@test151] starting deploy of {'config': True} to test151 [01:56:01] !log [pixldev@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [01:56:02] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:56:04] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [01:57:47] [1/12] ```php [01:57:47] [2/12] > $wgMFRemovableClasses [01:57:47] [3/12] = [ [01:57:48] [4/12] 0 => "o.navbox", [01:57:48] [5/12] 1 => "o.vertical-navbox", [01:57:48] [6/12] 2 => "o.nomobile", [01:57:49] [7/12] "base" => [ [01:57:49] [8/12] "t.navbox", [01:57:49] [9/12] "t.nomobile", [01:57:50] [10/12] ], [01:57:50] [11/12] ] [01:57:51] [12/12] ``` [01:58:01] that was me trying to figure out where it was getting what [01:58:07] o is default t is options [01:58:31] so seems override leaves in the array ignoring the key? [01:58:40] yeah so if you remove that [01:58:50] or rather make it the default [01:59:04] ? [02:00:05] [1/10] ```php [02:00:05] [2/10] 'default' => [ [02:00:05] [3/10] 'beta' => [], [02:00:06] [4/10] 'base' => [ [02:00:06] [5/10] '.navbox', [02:00:06] [6/10] '.vertical-navbox', [02:00:07] [7/10] '.nomobile', [02:00:07] [8/10] ], [02:00:07] [9/10] ], [02:00:08] [10/10] ``` [02:00:52] oooooooooooooooooooooooooooooooooooooooooooooo, i got default and overridefault mixed maybe [02:00:59] not sure whats setting beta though? [02:01:23] well you're overriding it with `overridedefault` right? [02:02:32] i think? [02:02:55] idk ive been sitting at my laptop for prob close to 3 hours now so im confusing myself [02:02:57] so if you set it to that default then... [02:04:19] !log [pixldev@test151] starting deploy of {'config': True} to test151 [02:04:20] !log [pixldev@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [02:04:21] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:04:23] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:04:52] PROBLEM - test151 Puppet on test151 is CRITICAL: CRITICAL: Puppet has 1 failures. Last run 2 minutes ago with 1 failures. Failed resources (up to 3 shown): Exec[git_checkout_MediaWiki config] [02:05:09] wasnt me [02:06:05] let me try doing the config [02:06:36] !log [wwr@test151] starting deploy of {'config': True} to test151 [02:06:37] !log [wwr@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [02:06:37] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:06:40] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:07:35] !log [wwr@test151] starting deploy of {'config': True} to test151 [02:07:36] !log [wwr@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [02:07:37] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:07:39] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:10:32] will try to figure whats going on here and then log off to rest [02:11:01] since you're messing w/ that ill take a sec to tackle SRs [02:12:10] https://cdn.discordapp.com/attachments/808001911868489748/1482199632602730641/image.png?ex=69b6157a&is=69b4c3fa&hm=443fd902cb58f4ae0cf58bfaf7579b991e7617ffb372ffb4ab689d0b3c823734& [02:12:35] [1/25] ```diff [02:12:35] [2/25] diff --git a/ManageWikiSettings.php b/ManageWikiSettings.php [02:12:35] [3/25] index bd40ee31..ba356c5a 100644 [02:12:36] [4/25] --- a/ManageWikiSettings.php [02:12:36] [5/25] +++ b/ManageWikiSettings.php [02:12:36] [6/25] @@ -597,11 +597,14 @@ $wgManageWikiSettings = [ [02:12:37] [7/25] 'name' => 'Classes to strip from mobile view', [02:12:37] [8/25] 'from' => 'mobilefrontend', [02:12:37] [9/25] 'type' => 'list-multi', [02:12:38] [10/25] - 'overridedefault' => [ [02:12:38] [11/25] - ".navbox", [02:12:39] [12/25] - ".vertical-navbox", [02:12:39] [13/25] - ".nomobile" [02:12:40] [14/25] - ], [02:12:41] [15/25] + 'overridedefault' => [ [02:12:41] [16/25] + 'beta' => [], [02:12:42] [17/25] + 'base' => [ [02:12:42] [18/25] + '.navbox', [02:12:43] [19/25] + '.vertical-navbox', [02:12:43] [20/25] + '.nomobile', [02:12:44] [21/25] + ], [02:12:44] [22/25] + ], [02:12:45] [23/25] 'section' => 'other', [02:12:45] [24/25] 'options' => ['.navbox' => '.navbox', [02:12:46] [25/25] ``` [02:13:15] [1/9] ```php [02:13:15] [2/9] > $wgMFRemovableClasses [02:13:16] [3/9] = [ [02:13:16] [4/9] "beta" => [], [02:13:16] [5/9] "base" => [ [02:13:17] [6/9] ".nomobile", [02:13:17] [7/9] ], [02:13:17] [8/9] ] [02:13:17] [9/9] ``` [02:13:26] now to un-break wwrtest3wikibeta [02:14:54] oh it unbroke itself nvm [02:15:25] still confused where beta comes from [02:15:42] MobileFrontend [02:15:46] that's the default value [02:16:03] well fuck documentation i guess [02:16:06] I don't know how you get into the beta features and it sure doesn't seem like it's getting used [02:16:24] https://github.com/wikimedia/mediawiki-extensions-MobileFrontend?tab=readme-ov-file#wgmfremovableclasses [02:16:35] (ignore the fact it's in the wrong language) [02:17:21] They removed it from the default in MF. [02:17:32] [wgMFRemovableClasses](https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/tree/REL1_45?tab=readme-ov-file#wgmfremovableclasses) [02:18:00] But not until 1.46 [02:18:01] in 1.46 though seemingly [02:18:17] wha.... [02:19:08] ..I think I've had enough MediaWiki for a night [02:19:36] still override? [02:22:09] so it looks like `overridedefault` is the default for `wgMFRemovableClasses` itself and doesn't respect `associativeKey` [02:23:01] I wonder if it's possible to make both base and beta configurable (for curiosity's sake, not for practical use) [02:24:10] !log [wwr@test151] starting deploy of {'config': True} to test151 [02:24:10] !log [wwr@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [02:24:11] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:24:13] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:25:16] ill update my pr on my way out [02:25:39] !log [wwr@test151] starting deploy of {'config': True} to test151 [02:25:40] !log [wwr@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [02:25:41] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:25:42] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:27:17] [1/13] ```php [02:27:17] [2/13] > $wgMFRemovableClasses [02:27:17] [3/13] = [ [02:27:17] [4/13] "beta" => [ [02:27:18] [5/13] ".vertical-navbox", [02:27:18] [6/13] ], [02:27:18] [7/13] "base" => [ [02:27:19] [8/13] ".navbox", [02:27:19] [9/13] ".vertical-navbox", [02:27:19] [10/13] ".nomobile", [02:27:20] [11/13] ], [02:27:20] [12/13] ] [02:27:21] [13/13] ``` [02:27:25] okay that also works [02:27:37] what ya do [02:28:10] [1/2] diff [02:28:10] [2/2] https://cdn.discordapp.com/attachments/808001911868489748/1482203657175957614/a.txt?ex=69b61939&is=69b4c7b9&hm=d423fafdcf3c521d89c13ee1785b4d3a51175c3aa45304de086a952d3b1ccb79& [02:36:50] i think i had local edits to the file on beta lol [02:38:05] [1/22] ```php [02:38:05] [2/22] 'wgMFRemovableClasses' => [ [02:38:05] [3/22] 'associativeKey' => 'base', [02:38:05] [4/22] 'name' => 'Classes to strip from mobile view', [02:38:06] [5/22] 'from' => 'mobilefrontend', [02:38:06] [6/22] 'type' => 'list-multi', [02:38:06] [7/22] 'overridedefault' => [ [02:38:07] [8/22] 'beta' => [], [02:38:07] [9/22] 'base' => [ [02:38:07] [10/22] '.navbox', [02:38:08] [11/22] '.vertical-navbox', [02:38:08] [12/22] '.nomobile', [02:38:09] [13/22] ], [02:38:09] [14/22] ], [02:38:10] [15/22] 'section' => 'other', [02:38:10] [16/22] 'options' => ['.navbox' => '.navbox', [02:38:11] [17/22] '.vertical-navbox' => '.vertical-navbox', [02:38:11] [18/22] '.nomobile' => '.nomobile', [02:38:12] [19/22] '.hidden' => '.hidden'], [02:38:12] [20/22] 'help' => 'Element with these CSS classes will be be removed from being show on mobile view pages. The .hidden/code class is used on FANDOM, and may be enabled for compatibility with FANDOM imports.', [02:38:13] [21/22] 'requires' => [], [02:38:13] [22/22] ],``` [02:38:15] should do it [02:38:23] !log [wwr@test151] starting deploy of {'config': True} to test151 [02:38:24] !log [wwr@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [02:38:25] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:38:27] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:38:58] what about .mobile-hidden, used on fandom also? [02:39:27] :yes_honey: [02:39:28] on it [02:39:39] !log [wwr@test151] starting deploy of {'config': True} to test151 [02:39:40] !log [wwr@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [02:39:42] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:39:43] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:50:13] miraheze/mw-config - pixDeVl the build passed. [02:51:53] cool [02:52:05] ill test tmr ive been teching for too many hours [02:57:37] !log [wwr@test151] starting deploy of {'config': True} to test151 [02:57:38] !log [wwr@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [02:57:39] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [02:57:41] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [03:03:12] RECOVERY - test151 Puppet on test151 is OK: OK: Puppet is currently enabled, last run 45 seconds ago with 0 failures [11:26:05] [02python-functions] 07renovate[bot] created 03renovate/all-deps (+1 new commit) 13https://github.com/miraheze/python-functions/commit/d9f041e3c1de [11:26:05] 02python-functions/03renovate/all-deps 07renovate[bot] 03d9f041e chore(deps): update all dependencies [13:46:22] !log [wwr@test151] starting deploy of {'config': True} to test151 [13:46:23] !log [wwr@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [13:46:23] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [13:46:25] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [14:28:27] !log [pixldev@test151] starting deploy of {'config': True} to test151 [14:28:28] !log [pixldev@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [14:28:29] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [14:28:30] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [14:43:29] Hmmmmm [14:43:59] So even when nomobile and hidden aren’t in the config variable they’re still made display non [15:00:33] @pixldev have you checked using the shell thing that the config is actually applied right [15:03:34] [1/2] yes [15:03:34] [2/2] https://cdn.discordapp.com/attachments/808001911868489748/1482393759327977534/image.png?ex=69b6ca45&is=69b578c5&hm=58c7d9bed2f08229f02c95769e4ba83aa7d56af111c69bc192e45d8458bda6ca& [15:30:43] [02ssl] 07WikiTideBot pushed 1 new commit to 03main 13https://github.com/miraheze/ssl/commit/2726053c54d55bd99c98a80306ffd16684ae1da1 [15:30:44] 02ssl/03main 07WikiTideBot 032726053 Bot: Auto-update domain lists [16:30:10] is it https://www.mediawiki.org/wiki/Extension:MobileDetect [16:47:03] I think partially [16:47:05] https://cdn.discordapp.com/attachments/808001911868489748/1482419811865858098/image0.jpg?ex=69b6e289&is=69b59109&hm=80381b26f84a838de738562fd5d80a19cbd23e60c42e5509fdd23ef141920408& [16:47:19] So nomobile is being removed based on UA [16:47:33] hidden is just not showing up it seems [16:55:11] it's a CSS thing anyway, unlike the default mf configuration which physically strips out the html [16:56:07] probably good enough [17:10:59] [02ManageWiki] 07Universal-Omega pushed 1 new commit to 03main 13https://github.com/miraheze/ManageWiki/commit/de3fac29e0f3ed63f39954e28ce179e029c3529f [17:10:59] 02ManageWiki/03main 07CosmicAlpha 03de3fac2 Minor cleanup [17:17:04] miraheze/ManageWiki - Universal-Omega the build passed. [18:09:13] !log [wwr@test151] starting deploy of {'config': True} to test151 [18:09:14] !log [wwr@test151] finished deploy of {'config': True} to test151 - SUCCESS in 0s [18:09:15] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [18:09:16] Logged the message at https://meta.miraheze.org/wiki/Tech:Server_admin_log [18:58:40] [02landing] 07renovate[bot] created 03renovate/all-deps (+1 new commit) 13https://github.com/miraheze/landing/commit/8ad7299ef2ee [18:58:40] 02landing/03renovate/all-deps 07renovate[bot] 038ad7299 Update styfle/cancel-workflow-action action to v0.13.1 [20:24:03] [02TSPortal] 07Universal-Omega created 03anonymous-migrations from 03main (+0 new commit) 13https://github.com/miraheze/TSPortal/compare/anonymous-migrations [20:24:46] [02TSPortal] 07Universal-Omega pushed 1 new commit to 03anonymous-migrations 13https://github.com/miraheze/TSPortal/commit/e5fefbabc8f53ff14c13e6af5007b98fd135d980 [20:24:46] 02TSPortal/03anonymous-migrations 07CosmicAlpha 03e5fefba Use anonymous migrations [20:25:17] [02TSPortal] 07Universal-Omega opened pull request #70: Use anonymous migrations (03main...03anonymous-migrations) 13https://github.com/miraheze/TSPortal/pull/70 [20:26:16] [02TSPortal] 07Universal-Omega pushed 1 new commit to 03main 13https://github.com/miraheze/TSPortal/commit/98836013bd917d85c275a29451575963edcb0c8d [20:26:17] 02TSPortal/03main 07CosmicAlpha 039883601 Use anonymous migrations [20:26:18] [02TSPortal] 07Universal-Omega merged pull request #70: Use anonymous migrations (03main...03anonymous-migrations) 13https://github.com/miraheze/TSPortal/pull/70 [20:26:19] [02TSPortal] 07Universal-Omega 04deleted 03anonymous-migrations at 03e5fefba 13https://api.github.com/repos/miraheze/TSPortal/commit/e5fefba [20:27:43] [02TSPortal] 07Universal-Omega pushed 1 new commit to 03main 13https://github.com/miraheze/TSPortal/commit/ba4751a726fdca6bb381575daee37b3a7f8829bc [20:27:43] 02TSPortal/03main 07CosmicAlpha 03ba4751a Add proper down() implementation for users table [20:33:10] PROBLEM - cp161 HTTP 4xx/5xx ERROR Rate on cp161 is WARNING: WARNING - NGINX Error Rate is 43% [20:35:10] RECOVERY - cp161 HTTP 4xx/5xx ERROR Rate on cp161 is OK: OK - NGINX Error Rate is 13% [20:56:41] [02TSPortal] 07Universal-Omega pushed 1 new commit to 03main 13https://github.com/miraheze/TSPortal/commit/d385b695f9042402d099f6f23506abfb41b62113 [20:56:41] 02TSPortal/03main 07CosmicAlpha 03d385b69 Properly fix Popper in Bootstrap JS… [22:36:20] Famous last words before any deploy [22:41:12] you already deployed it and it worked [22:41:20] To beta yes [22:42:19] my comment was more about usability, i.e. I don't think there are any more features needed [22:43:17] Yeah [22:43:38] Could add a note to the help message that it’s distinct from the MobileDetect classes [23:05:40] [02mw-config] 07pixDeVl readied pull request #6344: Add wmgMobileFrontendAllowNavboxes (07miraheze:03main...07pixDeVl:03patch-mfallownavs) 13https://github.com/miraheze/mw-config/pull/6344