Page MenuHomePhabricator

Give transparent embedded image files in Phabricator a checkered background
Closed, ResolvedPublic

Description

MediaWiki (discussed in T28470) gives transparent files a checkered background so that one can actually see it; we should consider doing this in Phabricator too, as currently you cannot see white images easily (such as the white Wikimedia logo attached to T69).

Upstream: https://we.phorge.it/T15473

Event Timeline

MC8 raised the priority of this task from to Low.
MC8 updated the task description. (Show Details)
MC8 added a project: Phabricator.
MC8 changed Security from none to None.
MC8 subscribed.

@MC8, would it be too much to ask for a link to the code providing this checkered background in MediaWiki? I'm happy to file this request upstream, and a link to our solutions will be useful.

The MediaWiki equivalent of this task is T28470, which resulted in this code being added to skins/common/shared.css:

.filehistory a img,
#file img:hover {
    /* @embed */
    background: white url(images/Checker-16x16.png) repeat;
}

Here's an example blank image.

Qgil lowered the priority of this task from Low to Lowest.Mar 13 2015, 11:59 AM
Aklapper renamed this task from We should give transparent attachments in Phabricator a checkered background to Give transparent embedded image files in Phabricator a checkered background.Jun 14 2023, 6:40 PM
Aklapper raised the priority of this task from Lowest to Low.
Aklapper updated the task description. (Show Details)
Aklapper moved this task from Backlog to Reported Upstream on the Upstream board.
Aklapper moved this task from Ready To Go to Upstreamed on the Phabricator (Upstream) board.
Aklapper changed the task status from Open to Stalled.Jun 19 2023, 9:57 AM
Aklapper moved this task from Patch proposed upstream to Patch merged upstream on the Upstream board.
Aklapper moved this task from Upstreamed to Solved upstream on the Phabricator (Upstream) board.

[Move tasks resolved in upstream from #phabricator-next (as not every deployment will also pull an updated upstream) to the "Solved upstream" column on the Phabricator (Upstream) workboard]

Ah, since somebody asked (?) yes, this feature is in this upstream changelog:

https://we.phorge.it/w/changelog/2023.32/

This issue should be resolved in phabricator.wikimedia.org since 2024-03-19 thanks to brennen's deployment in T358610. Please reopen if you still experience this issue.