Page MenuHomePhabricator

Bawolff (Brian Wolff)
Busy-bodyAdministrator

Today

  • No visible events.

Tomorrow

  • No visible events.

Friday

  • No visible events.

User Details

User Since
Oct 25 2014, 1:53 AM (598 w, 4 d)
Roles
Administrator
Availability
Available
IRC Nick
Bawolff
LDAP User
Brian Wolff
MediaWiki User
Bawolff [ Global Accounts ]

Hi!

Recent Activity

Today

Bawolff added a comment to T421796: Make 31 editions of Wikinews read-only on 2026-05-04.

@Ladsgroup a question that came up - is there an eventual plan to undeploy DynamicPageList? I know its used on some other wikis, but its always kind of been wikinews that was the reason it was kept around. Wikinews editors might want to replace it with static lists prior to the closure if it indeed will eventually be removed, so that content looks right for posterity.

Wed, Apr 15, 12:47 AM · Wiki-Setup (Close), Wikinews-Developer-Group

Yesterday

Bawolff added a comment to T386436: Make it easier to add TemplateStyles from a module.

Personally i think this is such a common thing to do, that a standard wrapper makes sense, but i don't feel strongly about it one way or another.

Tue, Apr 14, 1:21 AM · MediaWiki-extensions-CodeMirror, SyntaxHighlight, Scribunto, TemplateStyles
Bawolff renamed T358497: Adding Scribunto to retrieve frame arguments in the order they are specified even if they are named arguments. from Adding ordered tables to Extension:Scribunto to Adding Scribunto to retrieve frame arguments in the order they are specified even if they are named arguments..
Tue, Apr 14, 1:19 AM · MediaWiki-Parser, Scribunto

Mon, Apr 13

Bawolff added a comment to T264413: getCurrentFrame not exist in the table mw in the scribunto library.

I assume because libraries are loaded prior to the current page being executed, and thus there is no current frame in scope at the time the library is loaded (and the environment including libraries may be set up and shared/cloned between multiple executions).

Mon, Apr 13, 9:29 PM · Scribunto
Bawolff added a comment to T310581: Make LanguageCode::bcp47() available in Lua.

To clarify, can this bug be closed now?

Mon, Apr 13, 9:20 PM · Wikibase-Lua, Wikidata, Wikidata Lexicographical data, Language codes, Scribunto
Bawolff renamed T414329: Scribunto frame:extensionTag can cause parsing to fail if invalid UTF-8 passed to it from Scribunto produces invalid UTF-8 string which causes regex failures in the parser to Scribunto frame:extensionTag can cause parsing to fail if invalid UTF-8 passed to it.
Mon, Apr 13, 9:12 PM · affects-Miraheze, MediaWiki-Parser, Scribunto
Bawolff added a comment to T414329: Scribunto frame:extensionTag can cause parsing to fail if invalid UTF-8 passed to it.

So it looks like LUA will fix the UTF-8 encoding on any text output by it. However if you directly pass the invalid unicode to the parser via frame:extensionTag() or something like that, then the invalid utf-8 is not repaired.

Mon, Apr 13, 9:12 PM · affects-Miraheze, MediaWiki-Parser, Scribunto
Bawolff added a comment to T422470: Scribunto mw.title.file behavior changed.

I cannot reproduce this, as long as the Title object is in the file namespace. e.g. mw.title.new('File:Something').file.exists works.

Mon, Apr 13, 9:01 PM · Scribunto, Regression
Bawolff added a comment to T422470: Scribunto mw.title.file behavior changed.

If the new behavior is the one intended

Mon, Apr 13, 8:51 PM · Scribunto, Regression
Bawolff added a comment to T420341: PDF file has 0x0 image size in Commons.

This can't be the case here, as the file is 841 × 1,650 pixels, 21 pages, 7.42 MB.

Mon, Apr 13, 12:49 AM · MediaWiki-extensions-PdfHandler, Commons

Thu, Apr 9

Bawolff added a comment to T420341: PDF file has 0x0 image size in Commons.

0x0 means that metadata was failed to be extracted, which probably means it takes too much time or too much memory

Thu, Apr 9, 7:00 PM · MediaWiki-extensions-PdfHandler, Commons

Tue, Mar 31

Bawolff added a comment to T157614: Investigate if it is legally okay to have h264 decoder run on production and/or labs, or provide the decoder in JS for a browser to run.

All their license agreements will be structured to avoid a loophole which would allow streaming platforms to avoid paying that fee.

Tue, Mar 31, 6:12 PM · WMF-Legal, Video, Multimedia

Mon, Mar 30

Bawolff added a comment to T257719: Add support for AVIF: allow uploading AVIF files to Wikimedia servers.

As a photographer who has a few thousand of his own photos on Commons: I'd support adding AVIF, and I would use it if available.

The main motivation for me to use AVIF would be the ability to add photos with greater than 8-bit color. Right now, I upload my photos as 100% quality JPEGs. If I could easily upload them in a higher-bit-depth format, I would.

I've uploaded a few of my photos as TIFFs, but those files are huge, and they don't have sharp thumbnails like JPEGs do. AVIF support would presumably let me do one upload of a small file and allow for that higher bit-depth.

WebP, by contrast, has no support for HDR or high bit-depth. But most JPEGs you can find online are copyrighted material, too.

Mon, Mar 30, 8:22 AM · Thumbor, Wikimedia-Site-requests

Sun, Mar 29

Bawolff added a comment to T393348: Add infrastructure to MW (stash) upload pipeline to allow converting on upload.

This is a historically controversial subject, so community consensus would have to be sought before enabling anything like this. This task is just about implementing the necessary pieces in MW, not the politics of the final results.

Daniel suggested that I review the patches, but I'm not really interested in spending time on it if it won't be used in production or any other place. If this code existed already in MW, and nobody was using it or planning to use it, I would want to delete the code.

Sun, Mar 29, 8:55 PM · Patch-For-Review, MediaWiki-Uploading

Fri, Mar 27

Bawolff added a comment to T421188: Investigation: Link to Commons directly when local description page doesn't exist.

I think descBaseUrl will be used to pull the file description page. The overriding is kind of confusing, but File::getDescriptionText() calls FileRepo::getDescriptionRenderUrl which calls FileRepo::getDescriptionUrl() [And not File::getDescriptionUrl], thus the override in the file class doesn't apply to description fetching, it only applies to things like the message telling people to go to commons.

Fri, Mar 27, 6:20 AM · Community-Tech (Sea Lion Squad), MediaWiki-File-management, Community-Wishlist
Bawolff updated subscribers of T393348: Add infrastructure to MW (stash) upload pipeline to allow converting on upload.
Fri, Mar 27, 5:59 AM · Patch-For-Review, MediaWiki-Uploading

Wed, Mar 25

Bawolff added a comment to T421188: Investigation: Link to Commons directly when local description page doesn't exist.

Sometimes files have local description pages. A common example is featured pictures on wikipedia. I would suggest maybe linking to commons only if the local page does not exist.

Wed, Mar 25, 1:51 AM · Community-Tech (Sea Lion Squad), MediaWiki-File-management, Community-Wishlist

Sun, Mar 22

Bawolff added a comment to T322958: Investigate in sqlite setting PRAGMA trusted_schema=off in mediawiki core.

@Bawolff: Who is we, which codebases or services does this refer to? Could you provide some more context, please? Thanks!

Sun, Mar 22, 5:18 AM · MediaWiki-libs-Rdbms, Security, SQLite
Bawolff added a comment to T393348: Add infrastructure to MW (stash) upload pipeline to allow converting on upload.

Is there a significant legal or operational benefit to transcoding through this new proposed intermediary process, rather than treating it like any other format in MediaWiki that requires conversion before embedding in articles?

Sun, Mar 22, 5:03 AM · Patch-For-Review, MediaWiki-Uploading

Mar 13 2026

Bawolff changed the visibility for T419922: Unauthenticated Debug Mode Bypass Allows Cache Circumvention and Source Exposure in RenderBlocking Extension.
Mar 13 2026, 4:07 PM · affects-Miraheze, Security, Security-Team
Bawolff added a comment to T419239: ws-page-game.toolforge.org does not receive page scan thumbnails (HTTP 429).

Is this a dupe of T418969 ?

Mar 13 2026, 3:27 PM · Tools, User-Inductiveload, All-and-every-Wikisource
Bawolff updated the task description for T419928: Authorization Bypass in Special:ManageWiki via Dynamic Module Parameter manipulation.
Mar 13 2026, 4:41 AM · affects-Miraheze, Security, Security-Team
Bawolff changed the visibility for T419928: Authorization Bypass in Special:ManageWiki via Dynamic Module Parameter manipulation.
Mar 13 2026, 4:40 AM · affects-Miraheze, Security, Security-Team
Bawolff changed the visibility for T419929: Information Disclosure of Sensitive Wiki Configurations via ApiQueryWikiConfig.
Mar 13 2026, 4:01 AM · affects-Miraheze, Security, Security-Team
Bawolff added a comment to T419927: PNGs are being displayed at a too-low, blurry resolution.

I guess what is happening is $wgThumbnailSteps is preventing the original asset from being used

Mar 13 2026, 3:08 AM · MW-1.44-notes, MW-1.45-notes, MW-1.43-notes, MW-1.46-notes (1.46.0-wmf.19; 2026-03-10), Regression, MediaWiki-File-management, MediaWiki-Platform-Team
Bawolff added a comment to T419922: Unauthenticated Debug Mode Bypass Allows Cache Circumvention and Source Exposure in RenderBlocking Extension.

That said, im not sure if mild DoS is considered a security threat to the operators of this extension.

Mar 13 2026, 12:06 AM · affects-Miraheze, Security, Security-Team
Bawolff added a project to T419922: Unauthenticated Debug Mode Bypass Allows Cache Circumvention and Source Exposure in RenderBlocking Extension: affects-Miraheze.

The author does not seem to be on phab, but it looks like a miraheze extension. Maybe @Paladox can help direct it to the right place

Mar 13 2026, 12:04 AM · affects-Miraheze, Security, Security-Team

Mar 11 2026

Bawolff added a comment to T419692: Identify widely used userscripts for gadgetisation.

We could make the Javascript content model parse the page and look for mw.loader.load() and register a link for Special:Whatlinkhere when something is included. That would be kind of cool.

Mar 11 2026, 7:42 PM · Technical-Tool-Request

Mar 10 2026

Bawolff added a comment to T415598: og:image URL refers to full-size thumbnail version of original instead the original.
03:28 < Neriah63> [12:25:40] <Neriah63> Hi
03:28 < Neriah63> [12:25:42] <Neriah63> https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1235542
03:28 < Neriah63> [12:25:49] <Neriah63> I would think this also requires a change in 1.43/1.44/1.45. Am I mistaken?
03:28 < Neriah63> [12:25:59] <Neriah63> It forced us to add handling in common.js for images that are not handled at 
                  the server level, and because of that it takes 2 seconds for those images to load...
[..]
03:33 < bawolff> Is this causing problems for people using instant commons? Because otherwise it doesn't seem that 
                 critical to backport as most people aren't using $wgThumbnailSteps for local uploads
03:35 < Neriah63> Yes, we have the problem for instant commons.
Mar 10 2026, 10:39 AM · MW-1.43-notes, MW-1.45-notes, MW-1.44-notes, MW-1.46-notes (1.46.0-wmf.16; 2026-02-17), MediaWiki-File-management, Patch-For-Review, PageImages
Bawolff added a comment to T137264: XSS in Parser::replaceInternalLinks2 during replacement of percent encoding in unclosed internal links.

Point of interest, it appears that this vulnerability was at least attempted to be used in the wild. The script mentioned in T419143 appears to attempt to use it. Obviously in Wikimedia's case it has long since been patched, however it appears that that script may have been copied and originally targeted at other wikis. Its hard to know when the script was originally written, but its probable the original target was using an outdated version of MediaWiki at the time and was vulnerable.

Mar 10 2026, 7:38 AM · Security, MW-1.27-release-notes, MW-1.23-release, MW-1.26-release, MW-1.28-release-notes, MW-1.28-release (WMF-deploy-2016-08-23_(1.28.0-wmf.16)), MediaWiki-Parser, Vuln-XSS, Patch-For-Review

Mar 9 2026

Bawolff added a comment to T419143: The wikis are currently read-only.

Being on meta you can import scripts that are outside of meta e.g.:

https://meta.wikimedia.org/wiki/User:Nux/global.js?diff=cur#L-104

Mar 9 2026, 5:33 PM · 2026-user-javascript-incident, WMF-General-or-Unknown, Wikimedia-Incident
Bawolff created T419448: 3D files are sometimes sized incorrectly (way too large) in packed galleries.
Mar 9 2026, 4:50 PM · Reader Growth Team, 3D
Bawolff added a comment to T419346: Hitting script execution timeout trying to use data from a Wikidata lexeme.

So i did a profile, and it came back that mediawiki was spending almost all of the time in the function to deserialize a snark. I feel like whatever deserializing entails it shouldnt take 10 seconds to deserialize a single entity even if its a large one.

Mar 9 2026, 10:55 AM · Wikidata, Wikidata Lexicographical data, Wikidata Integration in Wikimedia projects

Mar 8 2026

Bawolff added a comment to T419143: The wikis are currently read-only.

is any of these scripts installed ServiceWorker which still continues to work (even after script removal and hard cache clean)

Mar 8 2026, 8:45 PM · 2026-user-javascript-incident, WMF-General-or-Unknown, Wikimedia-Incident
Bawolff updated the task description for T419336: CentralAuth lock bypass on usernames that have md5 collisions.
Mar 8 2026, 4:42 PM · MediaWiki-Platform-Team (Q3 Kanban Board), Vuln-CryptoFailures, SecTeam-Processed, MediaWiki-extensions-CentralAuth, Security
Bawolff added a comment to T419336: CentralAuth lock bypass on usernames that have md5 collisions.

Changing to xxh3 does not hurt, but I also do not really think that this imposes a big risk, so I would assume it is fine to just push this through gerrit. But will leave that decision to the security team.

Mar 8 2026, 4:39 PM · MediaWiki-Platform-Team (Q3 Kanban Board), Vuln-CryptoFailures, SecTeam-Processed, MediaWiki-extensions-CentralAuth, Security
Bawolff added a project to T419336: CentralAuth lock bypass on usernames that have md5 collisions: MediaWiki-extensions-CentralAuth.
Mar 8 2026, 8:37 AM · MediaWiki-Platform-Team (Q3 Kanban Board), Vuln-CryptoFailures, SecTeam-Processed, MediaWiki-extensions-CentralAuth, Security
Bawolff created T419336: CentralAuth lock bypass on usernames that have md5 collisions.
Mar 8 2026, 8:36 AM · MediaWiki-Platform-Team (Q3 Kanban Board), Vuln-CryptoFailures, SecTeam-Processed, MediaWiki-extensions-CentralAuth, Security
Bawolff created T419330: $wgThumbnailSteps should instead be part of FileRepo config not global config.
Mar 8 2026, 1:26 AM · MediaWiki-File-management

Mar 7 2026

Bawolff added a comment to T197160: All security-sensitive MediaWiki functionality should require elevated security.

Yubikey's are very cheap, especially when buying in bulk. I think we'd be talking like $15 each. One potential option is that WMF just buys a yubikey for every person with intadmin rights.

Mar 7 2026, 5:16 PM · MediaWiki-Platform-Team (Radar), Security, User-Tgr, Epic, MediaWiki-Core-AuthManager

Mar 6 2026

Bawolff added a comment to T208667: Tie reauthentication (login with elevated security) to a specific security level.

This is somewhat insecure - an attacker can wait for the user to do something mildly sensitive, then take over the account and use it for something very sensitive.

Mar 6 2026, 3:55 PM · Patch-Needs-Improvement, MediaWiki-Platform-Team, Security, MediaWiki-Core-AuthManager
Bawolff added a comment to T418543: Consider moving UrlShortener from md5 to SHA256.

Since it's a decent chunk of work, I suggest waiting until an actual collision happens and then fix it. Trying to fix theoretical problems makes a lot of sense in security but not in features and co.

Mar 6 2026, 5:20 AM · MediaWiki-extensions-UrlShortener
Bawolff changed the visibility for T418546: Security: Stored XSS in ShortDescription extension via sanitize() bypass (CVE-2026-28278).
Mar 6 2026, 4:29 AM · SecTeam-Processed, MinervaNeue, Security-Team, Security
Bawolff added a comment to T419186: CVE-2026-39936: Stored XSS in Score due to usage of non-reserved data attributes.

That's a nice find.

Mar 6 2026, 2:40 AM · SecTeam-Processed, Vuln-XSS, MediaWiki-extensions-Score, Security, Security-Team
Bawolff added a comment to T419192: CVE-2026-34095: action=raw with Special:Mypage subpage title responds with "Content-Type: text/html" on ctype=text/javascript request.

Seems like this works on non-js pages as well, so anyone can just edit the target's user space to add something evil and then trick them into clicking the link.

Mar 6 2026, 2:38 AM · MW-1.45-release, MW-1.44-release, MW-1.43-release, Sustainability (Incident Followup), Vuln-Misconfiguration, SecTeam-Processed, 2026-user-javascript-incident, Security-Team, Security, MediaWiki-General
Bawolff added a comment to T419196: Disable API editing of resource pages (Javascript/CSS).

Experiences like 5 Mar 2026 could be avoided.

Mar 6 2026, 2:30 AM · 2026-user-javascript-incident, MW-Interfaces-Team, JavaScript, MediaWiki-Action-API, Security

Mar 5 2026

Bawolff added a comment to T197137: Editing sitewide JS/CSS pages should require elevated security.

Instead of making the edit action require 2fa when editing a js page, an alternative version might be:

Mar 5 2026, 9:52 PM · 2026-user-javascript-incident, Security, MediaWiki-User-management, MediaWiki-User-Interface

Mar 4 2026

Bawolff added a comment to T413784: Allow some way to enlarge SVGs generated via Lua.

My attempt at this is https://en.wikipedia.org/wiki/Template:CineMol (it supports a click to enlarge on the generated images. Mildly hacky)

Mar 4 2026, 4:13 PM · Reader Growth Team, MediaViewer, SVG, Scribunto

Feb 28 2026

Bawolff added a comment to T418546: Security: Stored XSS in ShortDescription extension via sanitize() bypass (CVE-2026-28278).

However, I agree with @Bawolff that using Sanitizer::stripAllTags() is a much better and more "MediaWiki-native" way to handle this. It would likely resolve the order-of-operations issue

Feb 28 2026, 3:59 AM · SecTeam-Processed, MinervaNeue, Security-Team, Security

Feb 27 2026

Bawolff added a project to T418546: Security: Stored XSS in ShortDescription extension via sanitize() bypass (CVE-2026-28278): MinervaNeue.

cc'ing @Jdlrobson-WMF for the minervaneue aspects of this.

Feb 27 2026, 8:40 PM · SecTeam-Processed, MinervaNeue, Security-Team, Security
Bawolff added a comment to T418546: Security: Stored XSS in ShortDescription extension via sanitize() bypass (CVE-2026-28278).

As a minor aside, instead of doing decode & strip itself, the extension may want to consider using Sanitizer::stripAllTags() instead.

Feb 27 2026, 8:27 PM · SecTeam-Processed, MinervaNeue, Security-Team, Security
Bawolff updated the task description for T393348: Add infrastructure to MW (stash) upload pipeline to allow converting on upload.
Feb 27 2026, 6:49 PM · Patch-For-Review, MediaWiki-Uploading
Bawolff updated the task description for T393348: Add infrastructure to MW (stash) upload pipeline to allow converting on upload.
Feb 27 2026, 6:47 PM · Patch-For-Review, MediaWiki-Uploading
Bawolff added a comment to T418546: Security: Stored XSS in ShortDescription extension via sanitize() bypass (CVE-2026-28278).

p.s. Just to clarify, under impact you wrote "The {{GETSHORTDESC}} parser function which returns the raw stored value." Are you saying you can create an XSS with the parser function? Normally parser function output is not interpreted as HTML.

Feb 27 2026, 9:55 AM · SecTeam-Processed, MinervaNeue, Security-Team, Security
Bawolff added a comment to T418546: Security: Stored XSS in ShortDescription extension via sanitize() bypass (CVE-2026-28278).

If the intention was to allow HTML tags as entities (like the "< 1 mm" example), then the use of strip_tags() is logically redundant or misleading. The current implementation creates a "worst of both worlds" scenario: it fails to stop malicious HTML because of the order of operations, yet it claims to "sanitize" the input.

Feb 27 2026, 9:53 AM · SecTeam-Processed, MinervaNeue, Security-Team, Security
Bawolff added a comment to T418546: Security: Stored XSS in ShortDescription extension via sanitize() bypass (CVE-2026-28278).

Just a point of clarify (Because I got confused). This is about the non-Wikimedia deployed ShortDescription extension. On Wikimedia wikis ShortDescription parser function is provided by the Wikibase extension. Potentially the Wikibase code that implements this is similar.

Feb 27 2026, 5:51 AM · SecTeam-Processed, MinervaNeue, Security-Team, Security
Bawolff added a comment to T418546: Security: Stored XSS in ShortDescription extension via sanitize() bypass (CVE-2026-28278).

The sanitize() function contains a logic flaw where strip_tags() is called before html_entity_decode(), allowing encoded HTML entities to bypass tag stripping and be stored as raw HTML in the database.

Feb 27 2026, 2:52 AM · SecTeam-Processed, MinervaNeue, Security-Team, Security
Bawolff created T418543: Consider moving UrlShortener from md5 to SHA256.
Feb 27 2026, 12:52 AM · MediaWiki-extensions-UrlShortener

Feb 21 2026

Bawolff added a comment to T283316: More whitelisted namespaces for SVG files.

I thought i tried to add every known namespace a while back. Guess i missed some.

Feb 21 2026, 6:19 PM · MediaWiki-Uploading

Feb 20 2026

Bawolff added a comment to T378404: Fix nbsp arming for inward-pointing French quotes.

They are testing whether the characters » « are inside of some environments. Okay. But why? Why only these environments?

Feb 20 2026, 4:59 PM · Parsoid, Patch-For-Review, VisualEditor, MediaWiki-Parser

Feb 18 2026

Bawolff added a comment to T417140: Wiki-E2EE: End-to-End Encrypted Messaging for Wikipedia — Hackathon Sessions.

Fwiw, i think that is a fine thing to work on at the hackathon. Just keep in mind that adoption by wikimedians would probably be an uphill battle as they will probably view it as just some other website.

Feb 18 2026, 4:18 PM · Wikimedia-Hackathon-2026
Bawolff added a comment to T417140: Wiki-E2EE: End-to-End Encrypted Messaging for Wikipedia — Hackathon Sessions.

Its not entirely clear how you plan to integrate this into mediawiki. There is no concept of private messaging in mediawiki currently, so its unclear how this fits into the design of mediawiki.

Feb 18 2026, 7:06 AM · Wikimedia-Hackathon-2026

Feb 13 2026

Bawolff added a comment to T378404: Fix nbsp arming for inward-pointing French quotes.

[From gerrit]

I understand that, and I'm asking for help, as we're used to ask on any collaborative site. I am questioning whether the CURRENT test cases are actually testing anything important. And whatever they are testing, they should be failing for any wiki that is not French, yet they are not. I'm okay with you guys adding your -1's, but someone will at some point have to work on this bug. So let's continue this discussion at phab, please

Feb 13 2026, 6:31 AM · Parsoid, Patch-For-Review, VisualEditor, MediaWiki-Parser

Feb 12 2026

Bawolff added a comment to T417228: only original content model is recognized by TemplateStyles.

It sounds like a race condition. Different db config (e.g. replicas), different caching setup, different job queue setup might be effecting it.

Feb 12 2026, 8:45 AM · TemplateStyles

Feb 10 2026

Bawolff added a comment to T415490: Have a method of opting out of lazy loading images because it doesn't work for overlapping images.

Hey @Bawolff this is unlikely to be fixed until parsoid is rolled out as default (which is planned for June this year).

A lot of the MobileFrontend code is pretty fragile at this point and I wouldn't recommend developing further.

In general we're trying to remove/sunset most of MobileFrontend's functionality now we have more modern alternatives.

Feb 10 2026, 9:09 PM · Readers Essential Work (Simplify MobileFrontend), MobileFrontend (Tracking)

Feb 8 2026

Bawolff added a comment to T416775: Generate appropiate previews for grayscale (Geo)TIFFs.

It feels a bit weird to apply some normalization blindy. Like if the tiff file had metadata indicating it was a GeoTiff file and not a normal black and white image that would be one thing, but it seems like correcting this has the potential to do the wrong thing for normal images.

Feb 8 2026, 11:29 PM · MediaWiki-File-management
Bawolff added a comment to T416775: Generate appropiate previews for grayscale (Geo)TIFFs.

Is the issue that depth is like a 32 bit number so of the range isn't normalized everything appears white?

Feb 8 2026, 1:30 AM · MediaWiki-File-management

Feb 6 2026

Bawolff added a comment to T270855: Add support for JPEG XL: allow JXL uploads in MediaWiki.

If i recall jxl uses the same metadata as c2pa in jpeg which there is some interest in as well.

Feb 6 2026, 7:47 PM · MW-1.46-notes (1.46.0-wmf.15; 2026-02-10), Patch-For-Review, MediaWiki-File-management, Upstream, Commons, Thumbor
Bawolff added a comment to T402097: Develop a less resource intensive DPL-like extension for Wikimedia to replace DPL (WMF), DPL3, and DPL4.

How close is DPL4 to something that could work on Wikimedia wikis?

Feb 6 2026, 6:40 PM · affects-Miraheze, DynamicPageList, MediaWiki-extension-requests

Feb 5 2026

Bawolff added a comment to T299279: Pages with Scribunto content model get English content language and short description.

Sorry i followed a link here from discord and assumed this was only about page language. I agree that short description probably shouldnt deoend on page language.

Feb 5 2026, 5:40 PM · Wikidata, MediaWiki-extensions-Wikibase-Client, Scribunto
Bawolff added a comment to T299279: Pages with Scribunto content model get English content language and short description.

Edit: refering only to page language Uzume mentioned

Feb 5 2026, 5:36 PM · Wikidata, MediaWiki-extensions-Wikibase-Client, Scribunto
Bawolff added a comment to T299279: Pages with Scribunto content model get English content language and short description.

Isnt the page language being en correct? The lua language is in english, all the keywords are in english.

Feb 5 2026, 5:31 PM · Wikidata, MediaWiki-extensions-Wikibase-Client, Scribunto

Feb 4 2026

Bawolff added a comment to T117618: Add restrictive CSP to upload.wikimedia.org.

So that definitely has some upload.w.o resource calls, but when I check various console output via Chrome's developer tools, they all 404 for me when I load Gnome-emblem-web.svg. It seems all of those alphanum-named PNGs might not exist anymore? As I would expect to see actual CSP violation reports within Chrome's developer tools console output as opposed to 404 errors.

Feb 4 2026, 10:30 PM · Patch-For-Review, Traffic, ContentSecurityPolicy, WMF-General-or-Unknown, Security-Team

Feb 3 2026

Bawolff added a comment to T117618: Add restrictive CSP to upload.wikimedia.org.

Note that the version of the header prefixed with an x- is only needed for browsers from before 2013. Its probably not relavent anymore.

Feb 3 2026, 1:53 PM · Patch-For-Review, Traffic, ContentSecurityPolicy, WMF-General-or-Unknown, Security-Team

Feb 2 2026

Bawolff updated subscribers of T416102: Critical: Root database Password Exposure in public Gitlab (.env file).

Given context, it seems unlikely to me that these are credentials to a real production server. Nonetheless, hopefully @apaskulin can confirm.

Feb 2 2026, 3:59 AM · SecTeam-Processed
Bawolff added a comment to T360589: De-fragment thumbnail sizes in mediawiki.

FWIW, I added a notification about this breaking change on https://www.mediawiki.org/wiki/API:Imageinfo - rephrase away if you think it is unclear.

Feb 2 2026, 2:05 AM · MW-1.43-notes, MW-1.44-notes (1.44.0-wmf.20; 2025-03-11), Epic, Commons, MediaWiki-File-management, Data-Persistence

Jan 31 2026

Bawolff added a comment to T293109: Firefox: Referrer Policy: Less restricted policies, including ‘no-referrer-when-downgrade’, ‘origin-when-cross-origin’ and ‘unsafe-url’, will be ignored soon for the cross-site request.

Perhaps it makes sense to just switch to strict-origin-when-cross-origin

Jan 31 2026, 7:48 AM · Wikimedia-Site-requests, Privacy, MediaWiki-General, Browser-Support-Firefox

Jan 27 2026

Bawolff added a comment to T415598: og:image URL refers to full-size thumbnail version of original instead the original.

The ogp.me tag is listing the thumbnail variant of the fullsize, instead of the fullsize

I'm not sure I would consider this a bug. Not all of our images are web-safe (TIFFs for example), so the fullsize thumbnail is necessary for compatibility.

Jan 27 2026, 8:04 AM · MW-1.43-notes, MW-1.45-notes, MW-1.44-notes, MW-1.46-notes (1.46.0-wmf.16; 2026-02-17), MediaWiki-File-management, Patch-For-Review, PageImages

Jan 26 2026

Bawolff added a comment to T415490: Have a method of opting out of lazy loading images because it doesn't work for overlapping images.

I found a hacky work around, if you don't set a height, MF leaves the image alone. With that in mind, my links don't work anymore, but you can see the original in https://en.wikipedia.org/wiki/User:Bawolff/interactive_images in the "File:Trajans-Column-lower-animated.svg" section

Jan 26 2026, 8:59 AM · Readers Essential Work (Simplify MobileFrontend), MobileFrontend (Tracking)
Bawolff created T415490: Have a method of opting out of lazy loading images because it doesn't work for overlapping images.
Jan 26 2026, 8:50 AM · Readers Essential Work (Simplify MobileFrontend), MobileFrontend (Tracking)
Bawolff added a comment to T415478: Include old version timestamp outside of the log comment in log entries for file reverts.

At the moment it looks like RevertAction::onSubmit() does not submit the timestamp of the old file to localFile->upload() and thus when it eventually gets to FileRepo::recordUpload3 which makes the log entry, that code does not know what the timestamp of the old file was (although it does record the sha1).

Jan 26 2026, 5:42 AM · MediaWiki-File-management

Jan 24 2026

Bawolff closed T414636: Create DescriptionCacheExpiry and UserAgentURL configuration options as Resolved.

Adding stuff to the user-agent part fixed.

Jan 24 2026, 5:24 AM · affects-Miraheze, MediaWiki-extensions-QuickInstantCommons
Bawolff added a comment to T414636: Create DescriptionCacheExpiry and UserAgentURL configuration options.

I would agree for individual wikis, not so much for wikifarms. For reference, we have the extension enabled globally. For users that wish to use QIC, we would have to suppress $wgUseQuickInstantCommons to false. Having its value be in a superstate might be problematic. While I don't think the foreign file repos definition will be changing soon, it is unideal having to maintain your own definition of it. I'm also open to alternative ideas, such as raising the default expiry to a week, which seems to be WMF's desired default for (large) users.

Jan 24 2026, 5:22 AM · affects-Miraheze, MediaWiki-extensions-QuickInstantCommons

Jan 23 2026

Bawolff added a comment to T415340: Check unix permissions before running maintenance scripts with write actions.

I think l10n cache might be not webserver owned if manualRecache is set so its generated at build time (like in wnf config).

Jan 23 2026, 9:22 PM · MediaWiki-Maintenance-system
Bawolff added a comment to T415340: Check unix permissions before running maintenance scripts with write actions.

I like the idea, but im not sure comparing with index.php is the right approach. In a locked down install, you would probably want index.php to not be owned by the same user as the webserver is running as.

Jan 23 2026, 9:45 AM · MediaWiki-Maintenance-system

Jan 21 2026

Bawolff added a comment to T167947: Make image hashes available through API or database query on Commons.

MediaWiki already checks hashes of new uploads against existing files and prevents uploads of duplicates from what I've seen when using UploadWizard. I've also heard of ongoing projects to find duplicates using hashes, but I can't remember who presented about that at recent hackathons... There's also https://github.com/bio-guoda/preston/issues/239 .

Jan 21 2026, 11:24 PM · Tool-spacemedia, Multimedia, MediaWiki-File-management, Commons

Jan 17 2026

Bawolff added a comment to T393348: Add infrastructure to MW (stash) upload pipeline to allow converting on upload.

After some reflection, i think my current view is:

Jan 17 2026, 8:31 PM · Patch-For-Review, MediaWiki-Uploading

Jan 16 2026

Bawolff added a comment to T414636: Create DescriptionCacheExpiry and UserAgentURL configuration options.

I'm a bit unsure about the first part. $wgUseQuickInstantCommons was meant as the easy option where no config needed. I'm a bit hesitent to add additional config options here which just duplicate the foreignfilerepos config.

Jan 16 2026, 9:32 AM · affects-Miraheze, MediaWiki-extensions-QuickInstantCommons

Jan 6 2026

Bawolff added a comment to T413857: Investigate warn with a .tiff image from WikiCommons.

tarrow opened https://github.com/wbstack/mediawiki/pull/515

Add workaround for WARNs from TIF images from InstantCommons

Jan 6 2026, 10:25 PM · Wikibase Cloud (Kanban Board)
Bawolff added a comment to T413870: InstantCommons of TIF image doesn't show preview filetype if wgTiffThumbnailType isn't set.

I think this is generally expected. InstantCommons expects you to have the same media handler extensions installed (in this case PagedTiffHandler).

Jan 6 2026, 10:22 PM · MediaWiki-File-management
Bawolff added a comment to T213587: Permit url("data:image/svg+xml,...") if no external access.

To be fair depending on how the sanitizer works (haven't checked) it might be hard to support data:image/svg+xml. The contents of svg don't need to be sanitized, but it might be hard to find boundaries of the svg.

Jan 6 2026, 9:22 AM · TemplateStyles

Jan 5 2026

Bawolff added a comment to T260637: Discuss future of BotPasswords/OAuth IP "restrictions".

I think IP restrictions dont make sense for toolforge, but may make sense for people privately hosting stuff on their own servers, although the benefit is probably marginal.

Jan 5 2026, 12:37 AM · MediaWiki-Platform-Team, Platform Engineering, MediaWiki-User-management, MediaWiki-extensions-OAuth, Security

Jan 4 2026

Bawolff added a comment to T413707: Have TemplateStyles register an image link for any image referenced via url.

Not sure if it would be better to do some of this in the CssSanitizer interfaces instead of solely in the TemplateStyles extension

Jan 4 2026, 3:17 AM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), Patch-For-Review, TemplateStyles
Bawolff created T413707: Have TemplateStyles register an image link for any image referenced via url.
Jan 4 2026, 1:38 AM · MW-1.46-notes (1.46.0-wmf.26; 2026-04-28), Patch-For-Review, TemplateStyles
Bawolff added a comment to T213587: Permit url("data:image/svg+xml,...") if no external access.

Given we now allow scribunto to make SVGs (T405861), i don't see any reason not to do this. At least for <image> types, the security implications for <svg> type values might be different I'm not sure.

Jan 4 2026, 1:31 AM · TemplateStyles

Dec 24 2025

Bawolff added a comment to T413444: Exclude Toolforge tools from "X-Frame-Options : deny" policy.

Would adding a sandbox="" attribute to your iframe (which should make the user logged out) fix your issue?

Dec 24 2025, 9:24 AM · ContentSecurityPolicy

Dec 21 2025

Bawolff added a comment to T413338: Change Category Collation in ar.wiktionary.

So reading the discussion via google translate, it sounds like many people in the arwiktionary community aren't exactly sure of the precise differences in the sorting rules. Is a demo site needed so that people can test and play with it prior to changing the setting on arwiktionary, or is that unnecessary and this change is good to go?

Dec 21 2025, 10:44 PM · Wikimedia-Site-requests
Bawolff added a comment to T270855: Add support for JPEG XL: allow JXL uploads in MediaWiki.

Now that Adobe are integrating support for the format into their products services & the PDF Association have announced that support for JPG-XL will be integrated as part of their specs, And support in browsers such as Safari - with Mozilla Firefox & Chromium/Chrome reps recently expressing interest in following suit with rust-based implementations as they start reopening the filed issues regarding integrating support on their platforms, that were previously closed with a neutral stance and a Wont Fix-style state.
Alongside multiple mainstream operating systems (Linux Distros, macOS/iOS, MS Windows etc) integrating support. And apps, extensions, addons/plugins being available to work with the format already

...Is it now appropriate to discuss whether it might be worth it to start preparing for ".jxl" getting added as a valid option in terms of file formats that are openly accepted for processing/hosting? There is still support for (optional) progressive loading aswell as backwards compatibility & fallback options (Displays a standard JPG thumbnail if a user is unable to access the .jxl preview version for whatever reason)

And while people might not agree that the status of this should be bumped up to 'in-progress', I still hope that the status is kept open while reviewing the change in circumstances, like the ones I have listed that have occurred in the time since this proposals initial consideration.

Dec 21 2025, 8:00 PM · MW-1.46-notes (1.46.0-wmf.15; 2026-02-10), Patch-For-Review, MediaWiki-File-management, Upstream, Commons, Thumbor

Dec 16 2025

Bawolff added a comment to T412824: Content model "JavaScript" and "CSS" pages shouldn't go through pre-save transform.

Could we keep parsing and disable PST?

Dec 16 2025, 9:28 PM · MediaWiki-ContentHandler

Dec 8 2025

Bawolff added a comment to T291867: content-security-policy-report-only header not being served on group1 or group2 wikis for authenticated users.

Just as a historical note - the primary goal at the time was to be a test in preparation of using real CSP, which never happened. Report only headers by themselves provide questionable value. I suppose they could be used to help enforce policy around not including external resources in common.js, as well as in compromise scenarios where off-site js is loaded, however there is probably a real question of if it makes sense to continue with them if there is no plan to use the real header (I know krinkle has had opinions on this in the past)

Dec 8 2025, 10:29 PM · WMF-General-or-Unknown, SecTeam-Processed, ContentSecurityPolicy, Security, Security-Team