[06:14:04] T340917 still has no progress. I am finding workarounds to upload large files to Commons. Would copy upload (upload by URL) be more stable? [06:14:05] T340917: Server error 500 after uploading chunk - https://phabricator.wikimedia.org/T340917 [06:14:20] * T340901 [06:14:20] T340901: Uploading large files to Commons almost always fails - https://phabricator.wikimedia.org/T340901 [15:04:45] Hello, I have a question: I'm looking for a method to use a custom image view page instead of the default metadata page in the File: namespace. [15:05:46] Is it possible to globally modify all default image link destinations: [15:05:47] [[File:Some image|800px]] [15:05:49] So instead of the image linking to: [15:05:50] File:Some_image.jpg [15:05:52] ... it would link to: [15:05:54] File.cgi?Some_image.jpg [15:06:24] This assumes that File.cgi is an exception page, i.e. a custom image output that is bypassed by the wiki's default page serving. [15:06:42] Can it be done in LocalSettings? [15:07:08] It can of course be done in the markup by [[File:Some image|link=https://example.com/File.cgi?Some_image.jpg|800px]] [15:07:44] But there are many pages I prefer not to modify manually. [15:08:22] So if using the link= markup, it may be better done with the Replace Text extension: [15:08:22] * Extract the filename within any "[[File:(.).jpg|" patterns. [15:08:23] * Replace any spaces in filenames with underscores [15:08:29] * Insert |link=Some_image.jpg after the first | in each "[[File:(.)]] pattern. [15:09:52] you're probably looking for #mediawiki, this channel is about wikimedia wikis specifically [15:09:53] Or perhaps another solution is to create a new namespace (eg. Display:) that shows an image but generates a custom image view when clicked and replace all "File:" instances across the wiki with "Display:" [15:10:10] Another way may be to modify the File: page output page. If so, how and where can this be done? [15:10:45] taavi: Ok, thanks. [16:12:42] Is something broken on vector 2022? [16:12:56] https://irc.873gear.com/uploads/8653ae6e87a88486/Screenshot_2023-07-05-22-07-12-169-edit_com.android.chrome.jpg [16:13:25] [[Tech]]; 2A0B:6204:2ECB:7C00:C0C:B403:C778:F342; [none]; https://meta.wikimedia.org/w/index.php?diff=25263479&oldid=25255647&rcid=27872043 [16:13:46] [[Tech]]; 2A0B:6204:2ECB:7C00:C0C:B403:C778:F342; [none]; https://meta.wikimedia.org/w/index.php?diff=25263482&oldid=25263479&rcid=27872046 [16:13:54] or any user script's issues? [16:15:29] MdsShakil: see https://phabricator.wikimedia.org/T340952#8990995 [20:29:06] [[Tech]]; Johannnes89; Reverted 2 edits by [[Special:Contributions/2A0B:6204:2ECB:7C00:C0C:B403:C778:F342|2A0B:6204:2ECB:7C00:C0C:B403:C778:F342]] ([[User talk:2A0B:6204:2ECB:7C00:C0C:B403:C778:F342|talk]]): -teste edits ([[:metawiki:TwinkleGlobal|TwinkleGlobal]]); https://meta.wikimedia.org/w/index.php?diff=25264097&oldid=25263482&rcid=27873212