Page MenuHomePhabricator
Feed Advanced Search

Yesterday

Bawolff created T364680: Run refreshImageMetadata.php --mime image/webp on wikimedia.
Sat, May 11, 5:14 PM · Wikimedia-maintenance-script-run, Commons
Bawolff added a comment to T338341: Show Metadata on file description page for WebP files.

I ended up just reading the exiftool source code.

Sat, May 11, 5:34 AM · MW-1.43-notes (1.43.0-wmf.5; 2024-05-14), Commons, MediaWiki-File-management
Bawolff added a comment to T338341: Show Metadata on file description page for WebP files.

It would be useful to link to (or upload to this task) some example files with XMP. So far, I've noticed that image magick seems to diverge from the spec when creating webp files, so it would be good to have some examples from a variety of tools just to see what they do.

Sat, May 11, 2:52 AM · MW-1.43-notes (1.43.0-wmf.5; 2024-05-14), Commons, MediaWiki-File-management
Bawolff added a comment to T338341: Show Metadata on file description page for WebP files.

Why ICC? I don't think we would normally show that type of data on a file description page?

Sat, May 11, 1:25 AM · MW-1.43-notes (1.43.0-wmf.5; 2024-05-14), Commons, MediaWiki-File-management

Fri, May 10

Bawolff added a comment to T364644: Set $wgEnableAsyncUploads = true on all wikis.

I have no idea if anyone is still around who knows the history of why this is the way it is. @Sannita does the current upload wizard team have any thoughts or objections to changing this?

Fri, May 10, 5:28 PM · Wikimedia-Site-requests
Bawolff created T364644: Set $wgEnableAsyncUploads = true on all wikis.
Fri, May 10, 5:27 PM · Wikimedia-Site-requests
Bawolff added a comment to T364288: Server-side upload request for hinnk.

Ah, that would be the problem. Async uploads are disabled on english Wikipedia - https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/InitialiseSettings.php#L729-L735

Fri, May 10, 5:20 PM · Server-side-upload-request
Bawolff added a comment to T364288: Server-side upload request for hinnk.

Hmm, both of those errors on the server side indicate no async. So either something is wrong with the script or maybe enwiki somehow has async disabled

Fri, May 10, 5:13 PM · Server-side-upload-request

Thu, May 9

Bawolff added a comment to T364539: Protocol-relative URL in sidebar now interpreted as title (Query Service link in Wikidata sidebar broken).

Also broke the techblog link on mediawiki.org

Thu, May 9, 3:02 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), MediaWiki-Core-Skin-Architecture, MediaWiki-User-Interface, Internet-Archive, Wikidata
Bawolff awarded T364531: +2 on mediawiki/* to Novem Linguae a Like token.
Thu, May 9, 2:51 PM · MediaWiki-Gerrit-Group-Requests

Wed, May 8

Bawolff added a comment to T364288: Server-side upload request for hinnk.

@hinnk How are you uploading these files? (Are you using UploadWizard, a specific user script, a bot program, something else?) I suspect this may be an issue with the tool being used to do uploads.

Wed, May 8, 8:25 PM · Server-side-upload-request

Mon, May 6

Bawolff added a comment to T358982: I can't upload a new version of a file that is larger than 100 MB because of file limit in Special:Upload.

I think there are two separate tickets here:

Mon, May 6, 9:50 PM · MediaWiki-Uploading
Bawolff added a comment to T364288: Server-side upload request for hinnk.

So recently i've been trying to collect information on cases where large uploads fail in order to try and fix the underlying issues. Did you attempt to upload this to commons in the normal way and it didn't work? If so, please let me know the details.

Mon, May 6, 9:37 PM · Server-side-upload-request

Sun, May 5

Bawolff renamed T363445: Level 2 headings are omitted from action=query extracts in the API on pages where discussion tools are enabled from Level 2 headings are omitted from action=query extracts in the API to Level 2 headings are omitted from action=query extracts in the API on pages where discussion tools are enabled.
Sun, May 5, 10:58 PM · DiscussionTools, Wikimedia-Medicine, MediaWiki-Action-API

Fri, May 3

Bawolff added a comment to T266155: Frequent "Error: 429, Too Many Requests" errors on pages with many (>50) thumbnails.

I think if we did deliver the wrong thumbsize, it only makes sense to deliver one larger then the requested size. Browsers will scale it client side, and its always better to downscale then upscale. The performance degredation is probably be not that bad - the larger thumbs would only be shown to first person to view the page. A small slowdown to image viewing for a single user seems not that bad, and better then never loading the image at all.

Fri, May 3, 8:39 AM · MW-1.42-notes (1.42.0-wmf.7; 2023-11-28), MW-1.40-notes (1.40.0-wmf.24; 2023-02-20), serviceops, StructuredDataOnCommons, SRE, MediaWiki-File-management, Thumbor, Commons
Bawolff added a comment to T364066: SVG unit conversion in SVGReader does not follow CSS/SVG spec.

Possibly the value "auto" should also be treated as "100%"

Fri, May 3, 6:34 AM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Commons, MediaWiki-File-management, SVG
Bawolff created T364066: SVG unit conversion in SVGReader does not follow CSS/SVG spec.
Fri, May 3, 6:15 AM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Commons, MediaWiki-File-management, SVG

Thu, May 2

Bawolff updated the task description for T364036: Default width/height in SVGReader differs from spec (uses 512x512 but spec says 300x150).
Thu, May 2, 5:40 PM · SVG, MediaWiki-File-management
Bawolff created T364036: Default width/height in SVGReader differs from spec (uses 512x512 but spec says 300x150).
Thu, May 2, 5:39 PM · SVG, MediaWiki-File-management
Bawolff reassigned T364018: Disable H221? from Bawolff to Halfak.
Thu, May 2, 4:27 PM · Phabricator
Bawolff updated subscribers of T364018: Disable H221?.

@Aklapper did you mean to direct this to @Halfak ?

Thu, May 2, 4:27 PM · Phabricator
Bawolff added a comment to T363445: Level 2 headings are omitted from action=query extracts in the API on pages where discussion tools are enabled.

There are no interesting changes between 643fb6c (what mdwiki uses) and current master of TextExtracts. So either its a configuration difference or a change in a different component

Thu, May 2, 1:23 AM · DiscussionTools, Wikimedia-Medicine, MediaWiki-Action-API

Wed, May 1

Bawolff changed the visibility for T362588: Classic CSRF in MediaWikiChat's API modules.
Wed, May 1, 11:01 PM · security-bug, SecTeam-Processed, Vuln-CSRF, MediaWikiChat, Security
Bawolff changed the visibility for T363884: Special:ChangeRating is vulnerable to CSRF.
Wed, May 1, 10:52 PM · SecTeam-Processed, Vuln-CSRF, ArticleRatings, Security
Bawolff added a comment to T363445: Level 2 headings are omitted from action=query extracts in the API on pages where discussion tools are enabled.

Are you reporting that this used to work but no longer does (In which case when was the last time it worked?), or has it always been this way and you are suggesting that the module should be changed to work as you describe?

Wed, May 1, 10:47 PM · DiscussionTools, Wikimedia-Medicine, MediaWiki-Action-API
Bawolff added a comment to T363884: Special:ChangeRating is vulnerable to CSRF.

the patch at https://pastebin.com/9wVWHEpa lgtm

Wed, May 1, 10:27 PM · SecTeam-Processed, Vuln-CSRF, ArticleRatings, Security

Mon, Apr 29

Bawolff added a comment to T155288: Remove the useless "may contain malicious content" warning on some uploaded files.

Maybe should just be limited just to executable files

Mon, Apr 29, 9:36 PM · Multimedia, MediaWiki-Uploading

Sun, Apr 21

Bawolff added a comment to T334372: Add support for inline SVG.

SVG is like HTML - there are dangerous parts but its not that big a deal. We allow <div> in wikitext but not <script>, we could do the same thing with svg potentially.

Sun, Apr 21, 10:23 PM · Wikimedia-Hackathon-2024, MediaWiki-Parser
Bawolff added a comment to T137291: Transition all use of EasyTimeline to the Graph extension or similar and decommission it from Wikimedia's servers.

But if we don't find a replacement my assessment is that we will eventually end up in the same situation with timelines as we currently are with graphs.

Sun, Apr 21, 5:12 AM · Technical-Debt, Wikimedia-Extension-setup, Multimedia, Epic, MediaWiki-extensions-Graph, EasyTimeline

Fri, Apr 19

Bawolff added a comment to T137291: Transition all use of EasyTimeline to the Graph extension or similar and decommission it from Wikimedia's servers.

Maybe, but i would argue a new task would be better, when and if that happens.

Fri, Apr 19, 11:44 PM · Technical-Debt, Wikimedia-Extension-setup, Multimedia, Epic, MediaWiki-extensions-Graph, EasyTimeline
TheDJ awarded T358308: AssembleUploadChunksJob & PublishStashedFile jobs seem to be timing out at about 3 minutes, but should be ~20 minutes a Party Time token.
Fri, Apr 19, 5:16 PM · Patch-For-Review, WMF-JobQueue, MediaWiki-File-management
MatthewVernon awarded T358308: AssembleUploadChunksJob & PublishStashedFile jobs seem to be timing out at about 3 minutes, but should be ~20 minutes a Like token.
Fri, Apr 19, 4:54 PM · Patch-For-Review, WMF-JobQueue, MediaWiki-File-management
Bawolff closed T360032: Cannot upload webm of 3.6G: "The server did not respond within the expected time" as Resolved.

my understanding is that this worked after retrying.

Fri, Apr 19, 4:35 PM · MediaWiki-File-management, UploadWizard, Commons
Bawolff added a comment to T358308: AssembleUploadChunksJob & PublishStashedFile jobs seem to be timing out at about 3 minutes, but should be ~20 minutes.

Seems like this is fixed! We just had File:OBR_Hafignnover_6-2024.webm (4.88 GB) successfully uploaded (req-id: c1a5aab7-6e6b-4ef5-b20d-f9ddb095577f ). The job took 5 minutes 20 seconds to complete, so went beyond the previous 202 second limit.

Fri, Apr 19, 4:22 PM · Patch-For-Review, WMF-JobQueue, MediaWiki-File-management

Thu, Apr 18

Bawolff created T362937: Expose page view info to lua.
Thu, Apr 18, 9:52 PM · PageViewInfo
Bawolff added a project to T348402: MobileFrontend's transforms replaced some spaces in inlined `<script>` tags with `&#32;`: MW-1.39-release.

Tagging for 1.39 release because there was a request on matrix to backport to REL1_39 (As in make mw core rel1_39 pull in a fixed version of library). I'll leave it to release managers if they want to do it.

Thu, Apr 18, 9:40 PM · MW-1.39-release, MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), HtmlFormatter, MediaWiki-extensions-Widgets
Bawolff updated subscribers of T362936: Debian MW package sets footer icons in an extension function, making it hard to override.
Thu, Apr 18, 9:33 PM · MediaWiki-Debian
Bawolff updated the task description for T362936: Debian MW package sets footer icons in an extension function, making it hard to override.
Thu, Apr 18, 9:31 PM · MediaWiki-Debian
Bawolff created T362936: Debian MW package sets footer icons in an extension function, making it hard to override.
Thu, Apr 18, 9:26 PM · MediaWiki-Debian
Bawolff added a comment to T358466: AssembleUploadChunks job should be allowed to retry.

per T358308 - one of the major causes of upload failure for medium-large files, is that during a deploy the job runners get killed. Making it retryable would fix that issue.

Thu, Apr 18, 4:51 PM · Patch-For-Review, MediaWiki-Core-JobQueue, MediaWiki-Uploading
Bawolff added a comment to T360032: Cannot upload webm of 3.6G: "The server did not respond within the expected time".

Can you try uploading again. The issue might be fixed now

Thu, Apr 18, 3:17 PM · MediaWiki-File-management, UploadWizard, Commons

Wed, Apr 17

Bawolff added a comment to T360032: Cannot upload webm of 3.6G: "The server did not respond within the expected time".

Yes, this is due to T358308. Until that is fixed, you can upload large (>3GB) files via https://commons.wikimedia.org/wiki/Help:Server_side_upload

Wed, Apr 17, 11:56 PM · MediaWiki-File-management, UploadWizard, Commons
Bawolff added a comment to T358308: AssembleUploadChunksJob & PublishStashedFile jobs seem to be timing out at about 3 minutes, but should be ~20 minutes.

Ok, i did some more digging in logstash.

Wed, Apr 17, 11:35 PM · Patch-For-Review, WMF-JobQueue, MediaWiki-File-management
Bawolff added a comment to T361956: Application Security Review Request : css-sanitizer custom property support.

An interesting thing about this, is that it gives way more dynamic programmability to CSS. Since previously the CSS pages were static pages you had to edit to change. With variables, the variable can be set inline, so it can be set via lua, or in page previews without save, or even as a result of just a cross-domain GET request.

Wed, Apr 17, 9:35 PM · Web-Team-Backlog (Needs Prioritization (Tech)), user-sbassett, css-sanitizer, secscrum, Security, Application Security Reviews
Bawolff added a comment to T334372: Add support for inline SVG.

Why would be the third one “by far” the most useful? I’d think most use cases can be satisfied by either of the first two, especially if TemplateStyles is allowed within the SVGs. Of course, there are some cases that can be satisfied only by the third option (say, using CSS variables defined in wikitext), but they aren’t that important.

Wed, Apr 17, 7:32 PM · Wikimedia-Hackathon-2024, MediaWiki-Parser

Tue, Apr 16

Bawolff changed the edit policy for T361448: GuMaxDD skin: stored XSS via MediaWiki:Sidebar.
Tue, Apr 16, 4:59 AM · security-bug, SecTeam-Processed, MediaWiki-skins-GuMaxDD, Vuln-XSS, Security
Bawolff changed the visibility for T361448: GuMaxDD skin: stored XSS via MediaWiki:Sidebar.
Tue, Apr 16, 4:59 AM · security-bug, SecTeam-Processed, MediaWiki-skins-GuMaxDD, Vuln-XSS, Security
Bawolff closed T361448: GuMaxDD skin: stored XSS via MediaWiki:Sidebar as Resolved.
Tue, Apr 16, 4:59 AM · security-bug, SecTeam-Processed, MediaWiki-skins-GuMaxDD, Vuln-XSS, Security
Bawolff added a comment to T362588: Classic CSRF in MediaWikiChat's API modules.

looks good to me

Tue, Apr 16, 12:29 AM · security-bug, SecTeam-Processed, Vuln-CSRF, MediaWikiChat, Security

Sat, Apr 13

Bawolff added a comment to T358308: AssembleUploadChunksJob & PublishStashedFile jobs seem to be timing out at about 3 minutes, but should be ~20 minutes.

Looking at recent logs, it does seem like some of the failures might be caused by things other than a timeout (There was one recently that failed after 17 seconds). However i still think the larger files are failing due to some sort of timeout as they tend to fail at around 202 second mark, which is pretty suspicious. Sample size is pretty low since users know large uploads don't work so they don't try and upload large files.

Sat, Apr 13, 9:43 PM · Patch-For-Review, WMF-JobQueue, MediaWiki-File-management

Fri, Apr 12

Bawolff added a comment to T360497: Remove "<a href" from licensing messages in WikimediaMessages.

I think the better solution would be to just make MW generate the rel link. HTML should not be in messages, but that doesn't mean we shouldn't use it all.

Fri, Apr 12, 7:48 PM · Language-Team (Language-2024-April-June), WikimediaMessages, Language-Technical Support (Language-Technical Support (Current) ), I18n, affects-translatewiki.net

Apr 11 2024

Bawolff closed T137291: Transition all use of EasyTimeline to the Graph extension or similar and decommission it from Wikimedia's servers as Declined.

Clearly this is no longer going to happen.

Apr 11 2024, 9:13 PM · Technical-Debt, Wikimedia-Extension-setup, Multimedia, Epic, MediaWiki-extensions-Graph, EasyTimeline
Bawolff closed T137291: Transition all use of EasyTimeline to the Graph extension or similar and decommission it from Wikimedia's servers, a subtask of T106123: Extensions needing to be removed from Wikimedia wikis, as Declined.
Apr 11 2024, 9:12 PM · Wikimedia-Extension-setup, Tracking-Neverending
Bawolff added a comment to T334372: Add support for inline SVG.

I used to be opposed to this, but I am now more a fan.

Apr 11 2024, 9:00 PM · Wikimedia-Hackathon-2024, MediaWiki-Parser
Bawolff awarded T334372: Add support for inline SVG a Love token.
Apr 11 2024, 8:48 PM · Wikimedia-Hackathon-2024, MediaWiki-Parser

Apr 8 2024

Bawolff added a comment to T358308: AssembleUploadChunksJob & PublishStashedFile jobs seem to be timing out at about 3 minutes, but should be ~20 minutes.

Kubernetes jobrunners were using the default max_execution_time of 180s, which might be the culprit for these behaviours. I've bumped it to match the metal jobrunners.

Apr 8 2024, 8:23 PM · Patch-For-Review, WMF-JobQueue, MediaWiki-File-management

Apr 4 2024

Bawolff closed T322633: Should sqlite main DB default to journal_mode=WAL ? as Resolved.
Apr 4 2024, 12:43 AM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki-General, SQLite
Bawolff added a comment to T322633: Should sqlite main DB default to journal_mode=WAL ?.

Existing installs arent automatically converted, but i dont think we want that anyways.

Apr 4 2024, 12:43 AM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki-General, SQLite

Apr 3 2024

Bawolff changed the visibility for T361452: Foreground skin: stored XSS via MediaWiki:Sidebar.
Apr 3 2024, 9:13 PM · security-bug, SecTeam-Processed, MediaWiki-skins-Foreground, Vuln-XSS, Security
Bawolff added a comment to T361452: Foreground skin: stored XSS via MediaWiki:Sidebar.

Anyone with write access to MediaWiki:Sidebar also can do what they want with MediaWiki:Common.js so it looks like this bug is not very easy to exploit.

Apr 3 2024, 9:12 PM · security-bug, SecTeam-Processed, MediaWiki-skins-Foreground, Vuln-XSS, Security
Bawolff added a comment to T361448: GuMaxDD skin: stored XSS via MediaWiki:Sidebar.

lgtm

Apr 3 2024, 9:04 PM · security-bug, SecTeam-Processed, MediaWiki-skins-GuMaxDD, Vuln-XSS, Security
Bawolff changed the visibility for T361449: Metrolook skin: stored XSS via MediaWiki:Sidebar.
Apr 3 2024, 9:03 PM · SecTeam-Processed, security-bug, Metrolook, Vuln-XSS, Security, Security-Team
Bawolff added a comment to T358308: AssembleUploadChunksJob & PublishStashedFile jobs seem to be timing out at about 3 minutes, but should be ~20 minutes.

Looking at a recent example, it seems like the change didn't take affect (Or i was wrong about the cause).

Apr 3 2024, 4:07 PM · Patch-For-Review, WMF-JobQueue, MediaWiki-File-management

Apr 2 2024

Bawolff added a comment to T358308: AssembleUploadChunksJob & PublishStashedFile jobs seem to be timing out at about 3 minutes, but should be ~20 minutes.

Mostly i was looking at how many uploads get to this stage but don't get past it. I was looking at https://logstash.wikimedia.org/goto/f299fd6b01197908797af218435bd927 and comparing revieved last chunk vs chunk recombined messages.

Apr 2 2024, 4:16 PM · Patch-For-Review, WMF-JobQueue, MediaWiki-File-management

Apr 1 2024

Bawolff added a comment to T361435: Find a modern hostname for tools-static.wmflabs.org.

If its being moved anyways, would be kind of cool if it was sub-domain based.

Would a scheme like $TOOL.static.toolforge.org provide the desired in-browser separation or would we need $TOOL.$SOMETHING.$TLD to get good results?

Apr 1 2024, 4:18 PM · cloud-services-team, Toolforge

Mar 31 2024

Bawolff changed the visibility for T361365: Challenge: stored XSS on four challenge fields.
Mar 31 2024, 4:18 AM · Vuln-XSS, Social-Tools, Challenge, Security, Security-Team
Bawolff added a comment to T361365: Challenge: stored XSS on four challenge fields.

lgtm :)

Mar 31 2024, 3:49 AM · Vuln-XSS, Social-Tools, Challenge, Security, Security-Team
Bawolff added a comment to T361435: Find a modern hostname for tools-static.wmflabs.org.

If its being moved anyways, would be kind of cool if it was sub-domain based.

Mar 31 2024, 2:52 AM · cloud-services-team, Toolforge

Mar 30 2024

Bawolff added a comment to T260286: Deprecate xcf files.

The proposed use-case of the format is for storing the editable source-code-esque version of a layered raster image. Its not clear if anyone is using it for that, but even if they were, i would not expect them to have very many views. That use case doesn't even require thumbnailing support.

Mar 30 2024, 10:51 PM · Community-consensus-needed, Commons, Thumbor, MediaWiki-File-management

Mar 29 2024

Bawolff added a comment to T361407: Add short-to-type aliases for <syntaxhighlight> and <syntaxhighlight inline>.

Personally i was a fan of <source>....

Mar 29 2024, 10:27 PM · SyntaxHighlight

Mar 26 2024

Bawolff added a comment to T334940: All Graphs broken on Wikimedia wikis (due to security issue T336556).

Even if WMF was planning to do this (i have no idea if they are) it would probably not be a top level OKR.

Mar 26 2024, 8:12 PM · User-zeljkofilipin, Regression, User-notice, Tech Ambassadors & Translators, MediaWiki-extensions-Graph
Bawolff added a comment to T358890: Deleting the last inline comments should restore the page to default display.

As an aside, i had no idea this overlapped the toolbox on new vector. Guess i should be testing on that skin every now and then

Mar 26 2024, 5:51 PM · Patch-For-Review, MediaWiki-extensions-InlineComments
Bawolff added a comment to T355733: Implement better CT Scan Viewer.

Radiopedia is using lower resolution images (At least in the linked example, they seem to be using images about 555x630 px that seem to be about 20% of the size of the images used with the ImageStack example). If you go full screen mode you get bigger issues.

Mar 26 2024, 5:17 PM · Wikimedia-Medicine, User-Harej

Mar 22 2024

Bawolff added a comment to T334940: All Graphs broken on Wikimedia wikis (due to security issue T336556).

Graphs are a valuable feature. They're an important feature to a sizable portion of both the editor and reader communities.

Mar 22 2024, 12:38 PM · User-zeljkofilipin, Regression, User-notice, Tech Ambassadors & Translators, MediaWiki-extensions-Graph

Mar 20 2024

alaa awarded T355733: Implement better CT Scan Viewer a Love token.
Mar 20 2024, 4:42 PM · Wikimedia-Medicine, User-Harej
Bawolff added a comment to T355733: Implement better CT Scan Viewer.

The slide numbers sometimes present a nonsensical value like “1291/136”

Fixed

Images move too fast with up/down movement on trackpad or mouse

I slowed it down. However its possible that this might vary between different mice or browsers. Chrome seems to scroll a bit faster than firefox.

Mar 20 2024, 1:55 PM · Wikimedia-Medicine, User-Harej

Mar 19 2024

Bawolff awarded T360442: +2 in mediawiki/ for Siddharth (SD0001) a Like token.
Mar 19 2024, 4:34 PM · MediaWiki-Gerrit-Group-Requests

Mar 15 2024

TheDJ awarded T358830: Uploads fail due to 401 error from swift on wednesdays a Stroopwafel token.
Mar 15 2024, 10:07 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), MediaWiki-Engineering, Commons, MediaWiki-File-management, SRE-swift-storage
aaron awarded T358830: Uploads fail due to 401 error from swift on wednesdays a Yellow Medal token.
Mar 15 2024, 9:38 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), MediaWiki-Engineering, Commons, MediaWiki-File-management, SRE-swift-storage
Bawolff added a comment to T355733: Implement better CT Scan Viewer.

I've put my modified version on my test wiki at http://bawolff.net/monstranto/index.php/IMStack

Mar 15 2024, 6:51 AM · Wikimedia-Medicine, User-Harej

Mar 14 2024

Bawolff added a comment to T348294: FSFileBackend spends a lot of time generating uneeded sha1 hashes that are expensive for large files.

The install was old but the file was new. I didn't really investigate further. Possibly it was a timedmediahandler issue as my test file was a mp4 video.

Mar 14 2024, 8:45 PM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), MW-Interfaces-Team, Patch-For-Review, Performance Issue, MediaWiki-File-management, Commons, Multimedia

Mar 13 2024

Bawolff added a comment to T71417: Additional sort options for categories:: Usage (most/least used pages); Creation date (newest/oldest date of original image/video).

Try https://quarry.wmcloud.org/query/81208

Mar 13 2024, 8:01 PM · Commons, MediaWiki-Categories
Bawolff created T360024: Localisation cache isn't properly detecting when it needs to be refreshed on master.
Mar 13 2024, 11:39 AM · MediaWiki-Internationalization, MW-1.42-release

Mar 8 2024

Bawolff added a comment to T359634: Adopt Software Bill of Materials (SBOM) for MediaWiki.

SBOMs are great tools to detect supply chain attacks and mitigating them.

Mar 8 2024, 8:48 PM · SecTeam-Processed, Security-Team, Security

Mar 6 2024

Bawolff added a comment to T359176: Long-titled archived files can get its path metadata truncated due to not having enough storage space, leading to orphan, non accesible files (was: Two files on commons have invalid UTF-8 characters in path metadata).

as I may be missing deleted

Mar 6 2024, 10:43 PM · Patch-For-Review, Commons, MediaWiki-File-management, media-backups
Bawolff closed T359294: MW allows bypassing file name restrictions when moving a file page as Resolved.

It should be noted there are some files on commons with too long names. See parent task.

Mar 6 2024, 10:42 PM · MW-1.41-notes, MW-1.40-notes, MW-1.39-notes, MW-1.42-notes (1.42.0-wmf.22; 2024-03-12), Commons, MediaWiki-File-management, media-backups
Bawolff closed T359294: MW allows bypassing file name restrictions when moving a file page, a subtask of T359176: Long-titled archived files can get its path metadata truncated due to not having enough storage space, leading to orphan, non accesible files (was: Two files on commons have invalid UTF-8 characters in path metadata), as Resolved.
Mar 6 2024, 10:41 PM · Patch-For-Review, Commons, MediaWiki-File-management, media-backups
Bawolff created T359294: MW allows bypassing file name restrictions when moving a file page.
Mar 6 2024, 9:39 AM · MW-1.41-notes, MW-1.40-notes, MW-1.39-notes, MW-1.42-notes (1.42.0-wmf.22; 2024-03-12), Commons, MediaWiki-File-management, media-backups
Bawolff added a comment to T359176: Long-titled archived files can get its path metadata truncated due to not having enough storage space, leading to orphan, non accesible files (was: Two files on commons have invalid UTF-8 characters in path metadata).

So it sounds like the underlying problem, is max file name size is checked at upload but not during file rename (T359294).

Mar 6 2024, 9:30 AM · Patch-For-Review, Commons, MediaWiki-File-management, media-backups
Bawolff added a comment to T334940: All Graphs broken on Wikimedia wikis (due to security issue T336556).

we are at the more philosophical point of wondering at the point of it all, and what sort of failure analysis could avoid such events in the future.

Mar 6 2024, 8:58 AM · User-zeljkofilipin, Regression, User-notice, Tech Ambassadors & Translators, MediaWiki-extensions-Graph

Mar 5 2024

Bawolff added a comment to T334940: All Graphs broken on Wikimedia wikis (due to security issue T336556).

T336595 feels like a band-aid solution and a bad one at that. It does nothing to adress the underlying security problem or maintenance problem. I personally don't think we should do that except as a last resort.

Mar 5 2024, 7:08 PM · User-zeljkofilipin, Regression, User-notice, Tech Ambassadors & Translators, MediaWiki-extensions-Graph
Bawolff added a comment to T356436: Improve InlineComments extension.

@Yaron_Koren I configured the InlineComments extension on my local and went through the documentation and found out that it uses ContentHandler , however I was not able to figure out how to navigate to it on my localhost. Is there any reference for that I can go through?

Mar 5 2024, 9:46 AM · MediaWiki-extensions-InlineComments, Google-Summer-of-Code (2024)
Bawolff added a comment to T358308: AssembleUploadChunksJob & PublishStashedFile jobs seem to be timing out at about 3 minutes, but should be ~20 minutes.

Its really only uploads > 1GB that have this issue, which is a very small portion of uploads. Maybe it would make sense to split AssembleUploadChunks job into a big and small version depending on how big the file is. The big version could be handled more similarly to how webVideoTranscode jobs are handled and the small version could be handled like a normal job. (Possibly have to do the same thing for PublishStashedFile, although much of the work in that job is reverifying the file which isn't strictly needed since it has already been done, and we could possibly just make it not do that, which might make it much faster for large files).

Mar 5 2024, 6:14 AM · Patch-For-Review, WMF-JobQueue, MediaWiki-File-management
Bawolff closed T350917: Incomplete files uploaded - chunked upload drops last chunk. as Resolved.

Its been about 5 days and no new examples. Previously there was about 2 a day. I'm going to call this fixed.

Mar 5 2024, 5:16 AM · MW-1.42-notes (1.42.0-wmf.20; 2024-02-27), UploadWizard, SRE-swift-storage, Commons
Bawolff added a comment to T352740: Server-side upload request for cypp0847.

Also 2 of these are above 5GB which is our current max size.

Mar 5 2024, 5:14 AM · Server-side-upload-request

Mar 2 2024

Bawolff added a comment to T327588: Consider adding more CSP directives to MediaWIki core .

object-src is probably not too useful in modern browsers now that <object> is just a glorified iframe. It probably makes sense to just always have that set to 'none'.

Mar 2 2024, 9:21 PM · Patch-For-Review, MediaWiki-General, Security, ContentSecurityPolicy
Bawolff added a comment to T200820: FAILED: stashfailed: Could not read file "mwstore://local-swift-eqiad/local-temp/a/ac/15xi9btm14os.u9p1dr.1208681.webm.0"..

I guess PublishStashedFile could be further optimized if we didn't verify the file. In theory, the file should already have been verified when uploaded to stash. If we don't need to verify the file, then there is no need to download the file locally, and all operations can take place directly on swift. However maybe that's not worth it, and its better just to be paranoid and re-verify the file at all stages.

Mar 2 2024, 8:34 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), SRE-swift-storage, MediaWiki-Uploading, User-revi, Multimedia
Bawolff added a comment to T200820: FAILED: stashfailed: Could not read file "mwstore://local-swift-eqiad/local-temp/a/ac/15xi9btm14os.u9p1dr.1208681.webm.0"..

On discord, Sazpaimon suggested having chunked upload keep a running total of the SHA1 hash so far (e.g. using https://www.php.net/manual/en/function.hash-update.php ). That way MW never has to calculate the entire hash at one time, but instead the work is split over all the uploaded chunks.

Mar 2 2024, 8:49 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), SRE-swift-storage, MediaWiki-Uploading, User-revi, Multimedia
Bawolff closed T348294: FSFileBackend spends a lot of time generating uneeded sha1 hashes that are expensive for large files as Resolved.

When i was testing this, the new version did still calculate some SHA1's in maybeUpgradeRow in a deferredupdate. However that is unrelated to file backend, and possibly is something about my local install or the file type handler.

Mar 2 2024, 8:39 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), MW-Interfaces-Team, Patch-For-Review, Performance Issue, MediaWiki-File-management, Commons, Multimedia
Bawolff closed T348294: FSFileBackend spends a lot of time generating uneeded sha1 hashes that are expensive for large files, a subtask of T191805: Allow Mediawiki to store file size greater than 32 bits, as Resolved.
Mar 2 2024, 8:38 AM · MW-1.42-notes (1.42.0-wmf.3; 2023-10-31), Patch-For-Review, Schema-change, MediaWiki-File-management, Commons, Multimedia