Page MenuHomePhabricator

Extend mw-config's logos management system to also cover wordmarks (wmgSiteLogoWordmark)
Open, Needs TriagePublic

Description

Commits like https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/789613 shouldn't be so manual, and should get auto-crushed so that the SVGs aren't bloated. Can we extend logos/manage.py to handle these?

Event Timeline

And we have some bloated SVGs get merged recently (7ce1a48).

Good idea. So ideally wordmarks and taglines should be firstly uploaded to commons, then defined in some yaml file like logos/config.yaml. Patch uploader should run some script - possibly logos/manage.py to download them, adjust to proper size (tagline should have a height smaller than 50px, and the height of wordmark should smaller than 30px).