Page MenuHomePhabricator

MediaWiki-File-managementComponent
ActivePublic

Members (10)

Watchers (5)

Details

Description

Management of multimedia files in the core MediaWiki software itself, including:

  • File backend (see also SRE-swift-storage for tasks about the actual server serving files in Wikimedia project, upload.wikimedia.org)
  • File repositories.
  • Media handlers.
  • Thumbnail generation (but not on Wikimedia wikis, see Thumbor instead)
  • Misc display handling (File description page, Special:ListFiles).

Parent project: MediaWiki-General

For uploading, see MediaWiki-Uploading.

Recent Activity

Today

ReleaseTaggerBot added a project to T374311: Gallery tag's widths parameter value fills tracking category: MW-1.43-notes (1.43.0-wmf.26; 2024-10-08).
Wed, Oct 2, 10:00 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery
gerritbot added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

Change #1072211 merged by jenkins-bot:

[mediawiki/core@master] Allow localized gallery widths; avoid spurious "double px" tracking category

https://gerrit.wikimedia.org/r/1072211

Wed, Oct 2, 9:39 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery

Yesterday

Bugreporter closed T334487: Uploading files to wikitech fails to display files afterwards ("No file by this name exists, but you can upload it.") as Declined.

No longer reproducible

Tue, Oct 1, 3:27 PM · wikitech.wikimedia.org, MediaWiki-File-management

Sun, Sep 29

stjn added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

Currently this is confusing some editors who think that because there is a tracking category added to <gallery> images because of this bug, they need to remove px from the galleries. What is holding back the patch from getting reviewed?

Sun, Sep 29, 6:24 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery
TheDJ added a comment to T257652: Add support for AVIF: serve AVIF thumbnails where possible.

I am now down a rabbit hole updating someone's BRISQUE, PIQE and NIQE code. It mostly now seems to work, but I don't have an NVidia card to test the BRISQUE code on.

Hi. Do we have any updates regarding this ticket? 🙏

Sun, Sep 29, 6:35 AM · Thumbor, Commons, MediaWiki-File-management

Sat, Sep 28

Forza1000 added a comment to T257652: Add support for AVIF: serve AVIF thumbnails where possible.

I am now down a rabbit hole updating someone's BRISQUE, PIQE and NIQE code. It mostly now seems to work, but I don't have an NVidia card to test the BRISQUE code on.

Sat, Sep 28, 7:52 PM · Thumbor, Commons, MediaWiki-File-management

Mon, Sep 23

Pppery closed T372924: Cannot move Commons File:Dhruve_Sehgal_in_2021.png as Resolved.

Nobody is going to track down what happened a month ago - it's well known and tracked elsewhere that file management unearths gremlins.

Mon, Sep 23, 11:08 PM · MediaWiki-File-management, SRE-swift-storage, Commons

Fri, Sep 20

Maintenance_bot added a project to T375251: Flash of Unstyled Content-type error occurs on loading any file on Commons: Commons.
Fri, Sep 20, 9:31 AM · Commons, MediaWiki-File-management
Aklapper added a project to T375251: Flash of Unstyled Content-type error occurs on loading any file on Commons: MediaWiki-File-management.
Fri, Sep 20, 8:32 AM · Commons, MediaWiki-File-management

Thu, Sep 19

Maintenance_bot added a project to T374988: .SVG files not displaying in the right language when zoomed on Android: Commons.
Thu, Sep 19, 9:30 AM · Commons, MediaViewer, Mobile, MediaWiki-File-management, I18n
Aklapper added projects to T374988: .SVG files not displaying in the right language when zoomed on Android: I18n, MediaWiki-File-management, Mobile, MediaViewer.

Same issue in a desktop browser with MediaViewer on
https://fr.m.wikipedia.org/wiki/Guerre_du_Donbass#/media/Fichier%3AMinsk_Protocol.svg serving https://upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Minsk_Protocol.svg/583px-Minsk_Protocol.svg.png
but not with the non-mobile URL on
https://fr.wikipedia.org/wiki/Guerre_du_Donbass#/media/Fichier%3AMinsk_Protocol.svg serving https://upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Minsk_Protocol.svg/langfr-800px-Minsk_Protocol.svg.png

Thu, Sep 19, 9:18 AM · Commons, MediaViewer, Mobile, MediaWiki-File-management, I18n

Wed, Sep 18

Absorbcium added a comment to T356967: "PHP Notice: Unexpected clearActionName after getActionName already called" triggered on anonymous view of redirect with file caching enabled.

This bug still present in MediaWiki 1.42.1

Wed, Sep 18, 4:16 AM · Commons, MediaWiki-File-management

Sun, Sep 15

Ammarpad merged task T374762: API responses with error code for correctly uploaded files into T337991: API request failed (backend-fail-internal): An unknown error occurred in storage backend "local-swift-codfw".
Sun, Sep 15, 4:22 PM · Commons, MediaWiki-Uploading, MediaWiki-File-management
Ammarpad added a comment to T374762: API responses with error code for correctly uploaded files.

If a file was uploaded correctly the API should always respond with:

{'upload': {'result': 'Success',...

Yess... until there's an error when sending the success response itself

Sun, Sep 15, 4:20 PM · Commons, MediaWiki-Uploading, MediaWiki-File-management

Sat, Sep 14

Maintenance_bot added a project to T374762: API responses with error code for correctly uploaded files: Commons.
Sat, Sep 14, 3:30 PM · Commons, MediaWiki-Uploading, MediaWiki-File-management
GPSLeo renamed T374762: API responses with error code for correctly uploaded files from API give error code for upload despite file was uploaded correctly to API responses with error code for correctly uploaded files.
Sat, Sep 14, 2:49 PM · Commons, MediaWiki-Uploading, MediaWiki-File-management
GPSLeo created T374762: API responses with error code for correctly uploaded files.
Sat, Sep 14, 2:48 PM · Commons, MediaWiki-Uploading, MediaWiki-File-management

Fri, Sep 13

gerritbot added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

Change #1072822 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/services/parsoid@master] WIP: parse gallery specs with localized 'px' suffixes

https://gerrit.wikimedia.org/r/1072822

Fri, Sep 13, 11:32 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery

Thu, Sep 12

Maintenance_bot added a project to T374235: File page missing for files uploaded by uploadwizard: Commons.
Thu, Sep 12, 2:30 PM · Commons, MediaWiki-File-management, UploadWizard
Aklapper changed the status of T374235: File page missing for files uploaded by uploadwizard from Stalled to Open.
Thu, Sep 12, 2:01 PM · Commons, MediaWiki-File-management, UploadWizard

Wed, Sep 11

gerritbot added a project to T374311: Gallery tag's widths parameter value fills tracking category: Patch-For-Review.
Wed, Sep 11, 2:11 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery
gerritbot added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

Change #1072211 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/core@master] Allow localized gallery widths; avoid spurious "double px" tracking category

https://gerrit.wikimedia.org/r/1072211

Wed, Sep 11, 2:10 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery
cscott added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

The width *should* be parsed with the "magic word" img_width, which includes the trailing px (localized in many cases, for example in Esperanto it also allows a trailing re). As such, the value which arrives at Parser::parseWidthParam() should /not/ have a trailing px.
It appears that renderImageGallery is not parsing the widths attribute with img_width (which also means the attribute value is not being properly localized). I'll work on a patch.

Wed, Sep 11, 1:53 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery
cscott added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

@Pppery I'll take a look. It's not intended, but gallery *is* somehow triggering the code path where "px has already been parsed and we saw another one". Perhaps that's because gallery itself is adding a hidden px.

Wed, Sep 11, 1:48 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery
Jonesey95 added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

@cscott Is this intended to populate the tracking category? I personally think it's reasonable behavior that both <gallery widths=180> (concise) and <gallery widths=180px> (technically redundant but clearer) are accepted and don't populate the category. Both syntaxes are widely used.

Wed, Sep 11, 1:21 AM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery

Tue, Sep 10

Pppery added a comment to T15500: Improper scaling of images sized with "pxpx".

That is T374311

Tue, Sep 10, 3:50 PM · User-notice, Commons, Multimedia, MediaWiki-File-management
Od1n added a comment to T15500: Improper scaling of images sized with "pxpx".

I just noticed that pages are categorized when using this syntax:

Tue, Sep 10, 10:33 AM · User-notice, Commons, Multimedia, MediaWiki-File-management
Jonesey95 added a comment to T15500: Improper scaling of images sized with "pxpx".

Why was this change deployed? I don't see a link to an affected article or page. These errors were already tracked via the Linter "bogus file options" flag, as far as I know. I fixed hundreds or thousands of them at en.WP.

Tue, Sep 10, 12:09 AM · User-notice, Commons, Multimedia, MediaWiki-File-management
Jonesey95 added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

This is clearly a bug.

Tue, Sep 10, 12:02 AM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery

Mon, Sep 9

Pppery added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

@cscott Is this intended to populate the tracking category? I personally think it's reasonable behavior that both <gallery widths=180> (concise) and <gallery widths=180px> (technically redundant but clearer) are accepted and don't populate the category. Both syntaxes are widely used.

Mon, Sep 9, 7:31 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery

Sat, Sep 7

Maintenance_bot added a project to T374311: Gallery tag's widths parameter value fills tracking category: Commons.
Sat, Sep 7, 9:30 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery
Bean49 created T374311: Gallery tag's widths parameter value fills tracking category.
Sat, Sep 7, 9:25 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Gallery

Fri, Sep 6

whym moved T225887: Cross-wiki upload dialog should not duplicate file extension from Backlog to Uploading and file storage on the Crosswiki board.
Fri, Sep 6, 11:41 AM · Crosswiki, MediaWiki-Uploading, MediaWiki-File-management, Multimedia, Commons

Wed, Sep 4

Pppery added a comment to T15500: Improper scaling of images sized with "pxpx".

Seems fine to me.

Wed, Sep 4, 1:18 AM · User-notice, Commons, Multimedia, MediaWiki-File-management

Tue, Sep 3

TheDJ added a comment to T121797: Implement perceptual/visual image hashing/fingerprinting in MediaWiki for detection of non-exact duplicate files.

Adding https://arxiv.org/abs/1910.06005 and https://wikiview.net to the list of related projects

Tue, Sep 3, 10:34 PM · Multimedia, Commons, MediaWiki-File-management
ReleaseTaggerBot added a project to T366422: The thumb_handler.php endpoint should be able to stream webp with the correct Content-Type header: MW-1.43-notes (1.43.0-wmf.22; 2024-09-10).
Tue, Sep 3, 9:00 AM · MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), Commons, MediaWiki-File-management
Maintenance_bot removed a project from T366422: The thumb_handler.php endpoint should be able to stream webp with the correct Content-Type header: Patch-For-Review.
Tue, Sep 3, 8:30 AM · MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), Commons, MediaWiki-File-management
Func closed T366422: The thumb_handler.php endpoint should be able to stream webp with the correct Content-Type header as Resolved.
Tue, Sep 3, 8:15 AM · MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), Commons, MediaWiki-File-management
Func closed T366422: The thumb_handler.php endpoint should be able to stream webp with the correct Content-Type header, a subtask of T338342: thumbimages of webp images should be in webp format instead of png, as Resolved.
Tue, Sep 3, 8:12 AM · MediaWiki-File-management, Thumbor, Commons
gerritbot added a comment to T366422: The thumb_handler.php endpoint should be able to stream webp with the correct Content-Type header.

Change #1037502 merged by jenkins-bot:

[mediawiki/core@master] StreamFile: Support streaming webp from thumb_handler.php

https://gerrit.wikimedia.org/r/1037502

Tue, Sep 3, 8:04 AM · MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), Commons, MediaWiki-File-management

Aug 31 2024

Maintenance_bot added a project to T3173: Blocked users still able to revert images: Commons.
Aug 31 2024, 12:30 PM · Commons, Multimedia, MediaWiki-File-management

Aug 30 2024

Quiddity added a comment to T15500: Improper scaling of images sized with "pxpx".

It looks like this isn't available until the deployment train, so I'll hesitantly postpone the entry until the following week (so that folks can immediately look at the contents), unless you think it is urgent that editors be warned about it's arrival beforehand. Also, I see in the blue notice-box at https://www.mediawiki.org/wiki/Help:Tracking_categories that the category is likely to be empty/very incomplete at the start, because tracking categories aren't all instantly filled, and have to wait for each page to be re-parsed.
The text for Tech News could be something like:

Editors who help to cleanup broken wikitext can now use a new automatic [[Special:TrackingCategories|tracking category]] named "[[:Category:{{int:Double-px-category}}]]". Pages in this category contain images that specify multiple "px" values instead of just one. [ 1 ]

Aug 30 2024, 8:24 PM · User-notice, Commons, Multimedia, MediaWiki-File-management
Pppery moved T15500: Improper scaling of images sized with "pxpx" from To Triage to Announce in next Tech/News on the User-notice board.
Aug 30 2024, 4:05 AM · User-notice, Commons, Multimedia, MediaWiki-File-management
Pppery added a comment to T15500: Improper scaling of images sized with "pxpx".

Suggested wording for Tech News:

Aug 30 2024, 4:04 AM · User-notice, Commons, Multimedia, MediaWiki-File-management
Pppery added a project to T15500: Improper scaling of images sized with "pxpx": User-notice.
Aug 30 2024, 4:01 AM · User-notice, Commons, Multimedia, MediaWiki-File-management
Maintenance_bot removed a project from T15436: Image caption is interpreted as a parameter (e.g. when it ends with "px"): Patch-For-Review.
Aug 30 2024, 12:32 AM · Commons, Multimedia, MediaWiki-File-management
Maintenance_bot removed a project from T15500: Improper scaling of images sized with "pxpx": Patch-For-Review.
Aug 30 2024, 12:31 AM · User-notice, Commons, Multimedia, MediaWiki-File-management
Maintenance_bot added a project to T15436: Image caption is interpreted as a parameter (e.g. when it ends with "px"): Commons.
Aug 30 2024, 12:30 AM · Commons, Multimedia, MediaWiki-File-management
Maintenance_bot added a project to T15500: Improper scaling of images sized with "pxpx": Commons.
Aug 30 2024, 12:30 AM · User-notice, Commons, Multimedia, MediaWiki-File-management

Aug 29 2024

gerritbot added a comment to T15500: Improper scaling of images sized with "pxpx".

Change #1064409 merged by jenkins-bot:

[mediawiki/core@master] Add `double-px-category` tracking category for deprecated image size syntax

https://gerrit.wikimedia.org/r/1064409

Aug 29 2024, 11:58 PM · User-notice, Commons, Multimedia, MediaWiki-File-management