Page MenuHomePhabricator

Change HD logos with incorrect size to match expectations
Open, LowPublic

Description

Follow-up to T211413. HD logos should be 1.5x/2x bigger than the original version. However, this isn't true in all cases.

In T211413, tests for new logos were implemented. There is however still an ugly list of exceptions in that test. This task tracks getting rid of those exceptions:

  • hiwiki
  • cawikiquote
  • enwikiquote
  • eowikiquote
  • eswikiquote
  • hrwikiquote
  • hywikiquote
  • knwikiquote
  • slwikiquote
  • srwikiquote
  • zhwikinews
  • zhwikivoyage

Event Timeline

@Urbanecm are we replacing images or simply removing them, I can do this with a script if needed.

We should recalculate the png out of the source svg. Basically the 2x image should be 2x the dimensions of the main logo, 1.5x should be likevise.

The issue is the source svg is somewhere at Commons and it's really not standardized. But if you do want to try your script out, upload a patch, I'll be happtly to review it.

Please do let me know if you have any questions or issues.

QEDK moved this task from Inbox to In Progress on the User-QEDK board.

HD logos are being replaced by SVGs in the latest version of Vector as part of T244486
For example here's Wikivoyage Vector: https://en.wikivoyage.beta.wmflabs.org/wiki/Spain?useskinversion=2

With this in mind it may be wasted effort updating these.

Change 734429 had a related patch set uploaded (by Zabe; author: Zabe):

[operations/mediawiki-config@master] Fix HD logo size in some wikis

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

Change 734429 merged by jenkins-bot:

[operations/mediawiki-config@master] Fix HD logo size in some wikis

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

Mentioned in SAL (#wikimedia-operations) [2021-10-26T11:13:04Z] <urbanecm@deploy1002> Synchronized static/images/project-logos/: 575a6a66b279c3d2d8974ffcc4911cc5b927be47: Fix HD logo size in some wikis (T250731; 1/2) (duration: 00m 57s)

Mentioned in SAL (#wikimedia-operations) [2021-10-26T11:13:11Z] <urbanecm@deploy1002> Synchronized logos/config.yaml: 575a6a66b279c3d2d8974ffcc4911cc5b927be47: Fix HD logo size in some wikis (T250731; 2/2) (duration: 00m 55s)

Change 734614 had a related patch set uploaded (by Zabe; author: Zabe):

[operations/mediawiki-config@master] Fix HD logo size at slwikiquote

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

I wasn't able to find a svg for zhwikinews. There is https://commons.wikimedia.org/wiki/File:Wikinews-logo-zh-noto.svg, but that does not seem to be one currently used.

The logo for zhwikinews got updated in T298550.

Change 734614 abandoned by Zabe:

[operations/mediawiki-config@master] Fix HD logo size at slwikiquote

Reason:

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