[07:42:08] [1/2] https://meta.miraheze.org/wiki/Help_desk#c-%E5%B0%8F%E7%BE%8E%E7%B2%89%E7%B2%89-20260322070800-How_to_add_and_remove_protection_levels_in_a_wiki? [07:42:08] [2/2] user having issues with logging into Phorge, forwarding here for visibility [08:20:59] Looking [08:31:36] Done [08:51:26] [1/3] https://issue-tracker.miraheze.org/T15116 [08:51:26] [2/3] Finally created the task to add a loadout feature for CreateWiki. If the general direction looks fine, I'll put on my Tech hat and get the loadout wiki started. [08:51:27] [3/3] CreateWiki still needs a small tweak (disabling main page creation with a hook), but besides that there shouldn't be much in the way of a working prototype. [10:29:19] @posix_memalign do you need help transferring it to our org [10:29:23] I can do that [10:33:36] i'm tempted to edit prod code [10:34:20] Why [10:34:33] [1/6] Importing Merchandise_navigation_music_square.webp...Wikimedia\NormalizedException\NormalizedException from line 817 of /srv/mediawiki/1.45/includes/Storage/PageUpdater.php: Failed to create dummy revision on File:Merchandise navigation music square.webp (page ID 2788) [10:34:33] [2/6] #0 /srv/mediawiki/1.45/includes/filerepo/file/LocalFile.php(2117): MediaWiki\Storage\PageUpdater->saveDummyRevision('Maintenance scr...', 394) [10:34:33] [3/6] #1 /srv/mediawiki/1.45/maintenance/importImages.php(349): MediaWiki\FileRepo\File\LocalFile->recordUpload3('', '== Summary ==\nI...', '== Summary ==\nI...', Object(MediaWiki\User\User), Array, '20260322102911', Array) [10:34:34] [4/6] #2 /srv/mediawiki/1.45/maintenance/includes/MaintenanceRunner.php(696): ImportImages->execute() [10:34:34] [5/6] #3 /srv/mediawiki/1.45/maintenance/run.php(53): MediaWiki\Maintenance\MaintenanceRunner->run() [10:34:34] [6/6] #4 {main} [10:34:47] why did it fail? idk, it doesn't do anything with the $status [10:34:58] Eh? [10:35:23] [1/2] this is what threw [10:35:23] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1485225373355737149/1774175716304.png?ex=69c1176b&is=69bfc5eb&hm=d88e114790f6a88ed7e18d23e6ce9cf44c509cfc6177d3dceac228c9af14c42d& [10:35:41] [1/2] and this is the end of saveRevision() [10:35:41] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1485225450023424152/1774175738971.png?ex=69c1177d&is=69bfc5fd&hm=2a6af04441923aa0afe641aae6e4b36b0457006e96671bfe8388e0722a6a46de& [10:36:01] Maybe returning $rev as null would be bad [10:36:11] Later code doesn't handle it? [10:36:27] saveDummyRevision() is throwing because $rev = null [10:36:38] Ye [10:36:41] but i don't know why $rev is null because it doesn't use $this->status [10:36:49] i assume the status would have information as to why [10:36:56] Oh [10:37:00] That's helpful [10:37:13] That feels dangerous code to edit [10:37:34] it's either that, or i manually upload and rerun importImages 10 times over [10:37:37] see #tech-ops [10:38:13] I feel that's very easy code to end up breaking every edit by accident though [10:38:19] fair [10:38:27] i shall proceed with insanity [10:38:43] Insanity is normal round here [10:39:29] touche [10:49:16] I asked CA but he seemed to be asleep. If this is uncontroversial I can try transferring it myself and see how it goes. [10:59:57] [1/4] hey, been a while since i had an issue with mira, so apologies if this is not where this belongs but just wanted to see if i could get some eyes on it in case its reproducible elsewhere [10:59:57] [2/4] just enabled multimediaviewer and went to go check some images out, however im noticing on at least a couple of them that it's triggering an error relating to CORS issues [10:59:57] [3/4] this one for instance is broken for me, if i go to the link directly the image loads fine, so it just seems to be missing its CORS headers: [10:59:57] [4/4] https://cdn.discordapp.com/attachments/1006789349498699827/1485231554094432256/Q5tra0CdC9fAWPb9i.png?ex=69c11d2c&is=69bfcbac&hm=2c50f1246833c23a9afe8203e86d9b365cad1eb7f433279b5a6362ae1a273b47& [11:00:17] i can write this up on phorge for tracking and fwd it here if preferred [11:23:40] Go for it [11:24:08] Please [11:24:12] That's not supposed to happen [11:24:18] one moment [11:24:32] hah wouldnt have expected it [11:30:04] I blame Cloudflare [11:30:04] It's probably trying to be secure [11:30:07] https://issue-tracker.miraheze.org/T15117 [11:30:23] im not sure since other images are fine at all resolutions, this specific file fails to load at all of them because of it