Page MenuHomePhabricator

MediaWiki-GalleryComponent
ActivePublic

Members (4)

Watchers (3)

Details

Description

Issues about MediaWiki's media gallery feature.

Parent project: MediaWiki-General

Recent Activity

Fri, Jun 6

sgrabarczuk updated subscribers of T262001: Support image galleries in the new skin.
Fri, Jun 6, 9:58 PM · MediaWiki-Gallery, Vector 2022 (Desktop improvements)

Thu, May 22

Jdlrobson-WMF added a project to T242143: MediaWiki gallery Slideshow should not repaint/reflow: User-Jdlrobson.
Thu, May 22, 3:48 PM · User-Jdlrobson, User-TheDJ, Multimedia, MediaWiki-Gallery
Jdlrobson-WMF placed T194887: Slideshow mode of gallery tag is not working on mobile up for grabs.
Thu, May 22, 3:47 PM · User-Jdlrobson, MW-1.40-notes (1.40.0-wmf.18; 2023-01-09), MinervaNeue (Tracking), Multimedia, MediaWiki-Gallery, Mobile
Jdlrobson-WMF placed T242143: MediaWiki gallery Slideshow should not repaint/reflow up for grabs.
Thu, May 22, 3:47 PM · User-Jdlrobson, User-TheDJ, Multimedia, MediaWiki-Gallery

Apr 24 2025

Jdlrobson-WMF moved T156102: Open Multimediaviewer for the big image in a GallerySlideshow from Backlog to Triaged on the MediaViewer board.
Apr 24 2025, 2:53 PM · MediaViewer, Multimedia, MediaWiki-Gallery

Apr 4 2025

Jdlrobson-WMF changed the status of T372255: Consider better default for gallery images from Open to In Progress.
Apr 4 2025, 10:10 PM · Web-Team, MediaWiki-Gallery, dark-mode

Apr 3 2025

Jdlrobson-WMF moved T372255: Consider better default for gallery images from Freezer to Q4 on the Web-Team board.

Being proposed for Q4 via our quarterly grooming process.

Apr 3 2025, 6:48 PM · Web-Team, MediaWiki-Gallery, dark-mode

Mar 10 2025

PatchDemoBot added a comment to T373981: Jump to the file before after pressing "remove image" in gallery edit window in visual editor.

Test wiki on Patch demo by ESanders (WMF) using patch(es) linked to this task was deleted:

Mar 10 2025, 4:22 PM · MW-1.44-notes (1.44.0-wmf.2; 2024-11-05), MediaWiki-Gallery, VisualEditor
GhostInTheMachine added a comment to T381949: Left aligned packed gallery has a centred caption.

This works for me — the caption remains centred, but is centred within the gallery instead of within the whole page width.
In mediawiki.page.gallery.styles/gallery.less
Change:

ul.gallery.gallery.gallery {
    margin: 2px;
    padding: 2px;
    display: block;
}

to

ul.gallery.gallery.gallery {
    margin: 2px;
    padding: 2px;
    display: inline-block;
}

The laws of nature being what they are, I suspect that is just too simple to be globally valid.

Mar 10 2025, 3:56 PM · MediaWiki-Gallery

Feb 6 2025

Jdlrobson-WMF moved T262001: Support image galleries in the new skin from Requests to Discussing on the Vector 2022 (Desktop improvements) board.
Feb 6 2025, 10:29 PM · MediaWiki-Gallery, Vector 2022 (Desktop improvements)
Jdlrobson-WMF triaged T262001: Support image galleries in the new skin as Low priority.
Feb 6 2025, 10:28 PM · MediaWiki-Gallery, Vector 2022 (Desktop improvements)

Jan 2 2025

Jdlrobson moved T326018: Wrong width for galleries on mobile from Backlog to Tracking on the MinervaNeue board.
Jan 2 2025, 9:33 PM · MinervaNeue (Tracking), MediaWiki-Gallery

Dec 17 2024

Pppery removed a project from T61814: Page fails to load when sub-page transclusion has recursive redirect: http://sv.wikipedia.org/wiki/Wikipedia:Månadens_nyuppladdade_bilder/2013-09: TestMe.
Dec 17 2024, 4:24 PM · MediaWiki-Gallery, MediaWiki-Redirects, WMF-General-or-Unknown, MediaWiki-Parser
TTO added a project to T61814: Page fails to load when sub-page transclusion has recursive redirect: http://sv.wikipedia.org/wiki/Wikipedia:Månadens_nyuppladdade_bilder/2013-09: MediaWiki-Gallery.

@Pppery added a project: TestMe.

Dec 17 2024, 9:49 AM · MediaWiki-Gallery, MediaWiki-Redirects, WMF-General-or-Unknown, MediaWiki-Parser

Dec 11 2024

GhostInTheMachine created T381949: Left aligned packed gallery has a centred caption.
Dec 11 2024, 9:22 AM · MediaWiki-Gallery

Nov 13 2024

Jdlrobson moved T372255: Consider better default for gallery images from Incoming to Freezer on the Web-Team board.
Nov 13 2024, 11:46 PM · Web-Team, MediaWiki-Gallery, dark-mode
Jdlrobson edited projects for T372255: Consider better default for gallery images, added: Web-Team; removed Web-Team-Backlog-Archived.
Nov 13 2024, 11:36 PM · Web-Team, MediaWiki-Gallery, dark-mode

Oct 29 2024

Maintenance_bot removed a project from T373981: Jump to the file before after pressing "remove image" in gallery edit window in visual editor: Patch-For-Review.
Oct 29 2024, 3:31 PM · MW-1.44-notes (1.44.0-wmf.2; 2024-11-05), MediaWiki-Gallery, VisualEditor
ReleaseTaggerBot added a project to T373981: Jump to the file before after pressing "remove image" in gallery edit window in visual editor: MW-1.44-notes (1.44.0-wmf.2; 2024-11-05).
Oct 29 2024, 3:01 PM · MW-1.44-notes (1.44.0-wmf.2; 2024-11-05), MediaWiki-Gallery, VisualEditor
gerritbot added a comment to T373981: Jump to the file before after pressing "remove image" in gallery edit window in visual editor.

Change #1070554 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] MWGalleryDialog: Highlight item at closest index when removing an image

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

Oct 29 2024, 2:50 PM · MW-1.44-notes (1.44.0-wmf.2; 2024-11-05), MediaWiki-Gallery, VisualEditor

Oct 18 2024

ABreault-WMF closed T374311: Gallery tag's widths parameter value fills tracking category as Resolved.
Oct 18 2024, 12:13 AM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery

Oct 16 2024

TheDJ moved T87056: No way to get to file page of audio file from a gallery from In progress to Backlog/maint on the TimedMediaHandler board.
Oct 16 2024, 1:51 PM · Multimedia, MediaWiki-Gallery, TimedMediaHandler
TheDJ moved T164532: TimedMediaHandler functions should be fully supported by ‘slideshow’ mode from In progress to Backlog/maint on the TimedMediaHandler board.
Oct 16 2024, 1:51 PM · Multimedia, TimedMediaHandler, MediaWiki-Gallery

Oct 14 2024

Maintenance_bot removed a project from T374311: Gallery tag's widths parameter value fills tracking category: Patch-For-Review.
Oct 14 2024, 1:31 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery
gerritbot added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

Change #1079939 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.20.0-a25

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

Oct 14 2024, 12:51 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery
gerritbot added a project to T374311: Gallery tag's widths parameter value fills tracking category: Patch-For-Review.
Oct 14 2024, 9:13 AM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery
gerritbot added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

Change #1079939 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.20.0-a25

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

Oct 14 2024, 9:13 AM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery

Oct 10 2024

Maintenance_bot removed a project from T374311: Gallery tag's widths parameter value fills tracking category: Patch-For-Review.
Oct 10 2024, 7:30 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery
gerritbot added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

Change #1079047 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Allow localized gallery widths

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

Oct 10 2024, 6:39 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery
gerritbot added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

Change #1072822 abandoned by Arlolra:

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

Reason:

In favour of I38733e08f6cbe10b7ae2e634fc53d7ddd6415599

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

Oct 10 2024, 1:27 AM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery
gerritbot added a comment to T374311: Gallery tag's widths parameter value fills tracking category.

Change #1079047 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/services/parsoid@master] Allow localized gallery widths

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

Oct 10 2024, 1:23 AM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery

Oct 9 2024

cscott 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?

Oct 9 2024, 7:34 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery

Oct 2 2024

ABreault-WMF triaged T374311: Gallery tag's widths parameter value fills tracking category as Medium priority.
Oct 2 2024, 11:08 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery
ABreault-WMF assigned T374311: Gallery tag's widths parameter value fills tracking category to cscott.
Oct 2 2024, 11:08 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery
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).
Oct 2 2024, 10:00 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), 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

Oct 2 2024, 9:39 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery

Sep 29 2024

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?

Sep 29 2024, 6:24 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery

Sep 25 2024

Jdlrobson merged T370093: Changing site width setting should recalculate gallery packed mode into T280729: Responsive gallery for Wikipedia mobile website and mobile apps (Android, iOS).
Sep 25 2024, 12:29 AM · Product Infrastructure Roadmap, Parsoid (Tracking), Wikipedia-Android-App-Backlog, MediaWiki-Gallery, Wikipedia-iOS-App-Backlog, iOS-app-Bugs, Android Design, Mobile-Web-Settings, Mobile
Jdlrobson merged task T370093: Changing site width setting should recalculate gallery packed mode into T280729: Responsive gallery for Wikipedia mobile website and mobile apps (Android, iOS).
Sep 25 2024, 12:29 AM · MediaWiki-Gallery
Jdlrobson removed a project from T370093: Changing site width setting should recalculate gallery packed mode: Vector 2022 (Desktop improvements).

The gallery tag has a host of issues particularly with . At this point I would personally recommend it gets rebuilt from the bottom up given the amount of associated issues- but this particular issue is covered by T370093

Sep 25 2024, 12:29 AM · MediaWiki-Gallery

Sep 18 2024

gerritbot added a comment to T141349: Change the default mode of <gallery> tags to mode=packed on English Wikipedia.

Change #301129 abandoned by Hashar:

[operations/mediawiki-config@master] Change default gallery mode to 'packed' on the English Wikipedia

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

Sep 18 2024, 8:58 AM · Technical-Debt, Reading-Web-Sprint-80-V-for-Vandalism, Reading-Web-Sprint-78-Terminal-Velocity, Reading-Web-Sprint-77-Segmentation-fault, Multimedia, Wikimedia-Site-requests, MediaWiki-Gallery

Sep 13 2024

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

Sep 13 2024, 11:32 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery

Sep 11 2024

gerritbot added a project to T374311: Gallery tag's widths parameter value fills tracking category: Patch-For-Review.
Sep 11 2024, 2:11 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), 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

Sep 11 2024, 2:10 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), 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.

Sep 11 2024, 1:53 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), 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.

Sep 11 2024, 1:48 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), 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.

Sep 11 2024, 1:21 AM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery

Sep 10 2024

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

This is clearly a bug.

Sep 10 2024, 12:02 AM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery

Sep 9 2024

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.

Sep 9 2024, 7:31 PM · Essential-Work, Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), Commons, MediaWiki-File-management, MediaWiki-Gallery

Sep 8 2024

Pppery edited projects for T206685: #tag:gallery behaves inconsistently when using ParserFunctions to pass in options, added: MediaWiki-Parser; removed Multimedia.
Sep 8 2024, 12:45 AM · MediaWiki-Parser, MediaWiki-Gallery