Page MenuHomePhabricator

Update footer image links on all MediaWiki skins to be legible and accessible
Open, LowPublic

Assigned To
Authored By
Iniquity
Jun 24 2020, 2:29 AM
Referenced Files
F55875145: image.png
Jun 25 2024, 3:28 PM
F55472072: MediaWiki logo.svg
Jun 19 2024, 3:10 PM
F55472071: WMF Logo.svg
Jun 19 2024, 3:10 PM
F55411599: image.png
Jun 17 2024, 6:35 PM
F52891199: grafik.png
May 13 2024, 10:36 AM
F50165042: image.png
May 4 2024, 2:44 PM
F50152788: image.png
May 4 2024, 12:52 PM
F50151994: Powered by MediaWiki.svg
May 4 2024, 12:52 PM

Description

Problem
Image links
image.png (128×470 px, 19 KB)
full desktop footer
image.png (278×2 px, 98 KB)

There are two image links in the footer of Wikipedia (and all MediaWiki skins) to provide movement awareness ("A Wikimedia Project") and software trademark ("Powered by Mediawiki") respectively. Both these image links are not accessible and inaccurate in the following ways:

  • Font-size of the image text is small. Generally does not appear to correspond with apt use of image text as defined in WCAG 1.4.5
  • PNG with alt text which is not translatable (e.g. it's English in French Wikipedia)
  • It is not readable by screen readers.
  • Design and rendered as a 'button' styling which may be misleading as it opens as a link to external sites
Related
Design considerations
  • Should these continue to be image links styled as buttons?
  • Can the links be revised to separate the logo/favicon from the text to be more translatable? (similar to the portal page display of projects?)
  • Where else do these buttons appear that may be impacted by design changes?
Acceptance criteria
  • Revised design of the image links to be more accessible (legible, readable by screenreader, etc)

Steps

  • Set this manually in production config (patch)
  • Land this in core (patch)
  • Adjust production config to simplify
  • Fix for Vector 2022's dark mode beta

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

The context is that if you visit any page in desktop, at the bottom there are two buttons that show "this is part of wikimedia movement" (movement awareness) and "this is powered by mediawiki" (software trademark).

grafik.png (957×1 px, 339 KB)

The issues:

  • It doesn't show up in mobile
  • it is too small
  • It is PNG
  • the design is subpar (the old apple key look?)
  • the link to wikimedia project goes to the foundation. Brand team said it'd be better for that to link to https://wikimedia.org but that aforementioned page needs a complete redesign (and more prominent link to wmf)

There are also discussions to be had around the larger footer issues. e.g. parts of the footer that's missing in mobile and lack of any branding to "wikimedia" or "wmf" in mobile. The legal text being different in mobile and desktop and generally many more footer clean ups that can be done. But I'd assume that is outside of scope of this ticket

Thanks @Ladsgroup for articulating the issues. I am going to update the task description to capture the issues as you stated, as well as update the graphic to the new status quo (the new mediawiki logo button has been changed since the task was first filed). The mobile footer differences is captured separately on T310071: Update mobile footer to be more consistent with desktop footer and T240807: Change footer of mobile

RHo renamed this task from Remove or remodel small site ownership icons which are used in every MediaWiki skin to Update footer image links on all MediaWiki skins to be legible and accessible.Mar 20 2024, 6:03 PM
RHo added a project: Wikimedia-Design.
RHo updated the task description. (Show Details)

I spoke with @Ladsgroup about this yesterday. I have updated the footer buttons to use the Codex button component with the SVG logo (no longer a PNG), and made them slightly bigger to align with the large button size in codex.

Current design:

image.png (608×2 px, 106 KB)

New design:

image.png (608×2 px, 101 KB)

This addresses the following issues:

  • It doesn't show up in mobile
  • it is too small
  • It is PNG
  • Nor readable by screen readers.
  • the design is subpar (the old apple key look?)
  • the link to wikimedia project goes to the foundation. Brand team said it'd be better for that to link to https://wikimedia.org but that aforementioned page needs a complete redesign (and more prominent link to wmf)

Re: screen readers, the element should have a description that screen readers should be able to use, and that could be translated.

Re: translation, this one is a bit trickier because it's a specific logo lockup controlled by the Foundation's brand (and associated team). They would have to cut new logos for all target languages to support them, which is possible, but would take some time.

I'll have a look at the mobile footer next.

That's quite great. I don't have any SVGs but if you give me I will try to make it go through.

The svgs for the logos are:
here

and here

The large button component is specified in Codex here

The variant in the codex demo has this as its code:
<cdx-button size="large">Click me</cdx-button>

The buttons should be 44px high and the logos should have 8px of space to the button edge on both sides.

image.png (89×477 px, 21 KB)

Let me know if you need anything else on this!

Change #1027150 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/mediawiki-config@master] [WIP] Change static 'A Wikimedia project' icon to new one

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

Change #1027178 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/core@master] [WIP] Change 'powered by MediaWiki' icon to new version, wrapped in Codex buttons

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

Here's a quick screenshot of my patch above, on my local development wiki set to be a fake Wikifunctions.org (which has the longest project copyright text); it uses CSS-only Codex fake-link large buttons and the SVG images:

image.png (460×1 px, 123 KB)

Notes:

  • Adding extra margin between the buttons will be a pain (adding new CSS on all pages), but we can do it if needed.
  • The ordering is fixed; Wikimedia then MediaWiki, not the reverse; hope this is OK.
  • We'll want to deploy the Wikimedia image switch-over to production ahead of the train it runs in, so that we don't have a double-button, but unfortunately that'll mean having a chrome-less "button" image instead for a few hours/days for some wikis.

Here's a quick screenshot of my patch above, on my local development wiki set to be a fake Wikifunctions.org (which has the longest project copyright text); it uses CSS-only Codex fake-link large buttons and the SVG images:

image.png (460×1 px, 123 KB)

Hey! Nice one, thanks! This looks good to me.

Notes:

  • Adding extra margin between the buttons will be a pain (adding new CSS on all pages), but we can do it if needed.

Extra margin is unnecessary. The original design has them pretty tight together, and I think the mockup you sent looks ok, visually.

  • The ordering is fixed; Wikimedia then MediaWiki, not the reverse; hope this is OK.

Fine with me!

  • We'll want to deploy the Wikimedia image switch-over to production ahead of the train it runs in, so that we don't have a double-button, but unfortunately that'll mean having a chrome-less "button" image instead for a few hours/days for some wikis.

I'm unsure what the impact of this would be, exactly, but it seems like it wouldn't be too serious. Maybe @Jdlrobson can have a look in code review and @ovasileva can double check this last point is ok when it's approved.

I'll also pop it into the Web Backlog so that we can move it through release, etc.

Thanks again!

We'll want to deploy the Wikimedia image switch-over to production ahead of the train it runs in, so that we don't have a double-button, but unfortunately that'll mean having a chrome-less "button" image instead for a few hours/days for some wikis.

I think I found a workaround to avoid issues. It's in the mediawiki-config patch.

If we fix the sanization in the patch, this will be the result:

grafik.png (834×1 px, 197 KB)

Change #1030908 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] footer: Stop interfering with full override of mediawiki footer icon

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

I have somewhat of a plan to deploy this without breaking the footer. If someone is willing to help shepherd this to production, please let me know. Maybe @Jdforrester-WMF ? <3

If we fix the sanization in the patch, this will be the result:

grafik.png (834×1 px, 197 KB)

This looks good to me!

JScherer-WMF subscribed.

Not sure what this needs in terms of deployment / code review, so handing to @Jdlrobson for sign off.

Given the small maximum size of the SVGs I'd recommend to

  • to reduce the numeric precision to 2 decimals (hope we keep the original somewhere)
  • lowercase, in these two SVGS only, the hex colors for slightly better gzipping

That would save 1kb un-gzipped and def some bytes after.

I've already manually optimized one of them accordingly:

1<svg xmlns="http://www.w3.org/2000/svg" width="89" height="31" fill="none" viewBox="0 0 89 31">
2 <path fill="#000" d="m41.92 24.41-.01-8.15h-1.13l-2.86 5.4-2.92-5.4h-1.12v8.15h1.3v-5.33l2.41 4.4h.61l2.41-4.47.01 5.4h1.3zm6.91-3.07a3.7 3.7 0 0 0-.36-1.68A2.68 2.68 0 0 0 46 18.12a2.76 2.76 0 0 0-2.52 1.55 3.5 3.5 0 0 0-.38 1.63c0 .57.13 1.14.39 1.64a2.8 2.8 0 0 0 1.08 1.14 3.44 3.44 0 0 0 2.93.15 2.4 2.4 0 0 0 .96-.76l-.7-.9a1.94 1.94 0 0 1-1.53.68 1.85 1.85 0 0 1-1.21-.4 1.73 1.73 0 0 1-.6-1.09h4.4l.01-.43zM46 19.29a1.47 1.47 0 0 1 1.07.42c.3.3.48.68.51 1.1H44.4a1.8 1.8 0 0 1 .53-1.1 1.5 1.5 0 0 1 1.07-.42m8.06-3.52v3.19a2.1 2.1 0 0 0-.79-.63 2.4 2.4 0 0 0-1.01-.2 2.69 2.69 0 0 0-2.47 1.5 3.97 3.97 0 0 0 0 3.34 2.68 2.68 0 0 0 2.47 1.52c.36 0 .72-.07 1.05-.22a2.06 2.06 0 0 0 .8-.66v.8h1.26v-8.63h-1.31zm-1.65 7.48c-.3 0-.6-.08-.85-.24a1.65 1.65 0 0 1-.6-.68 2.5 2.5 0 0 1 0-2.05c.14-.28.35-.51.6-.68a1.63 1.63 0 0 1 1.7 0c.26.17.47.4.6.68a2.5 2.5 0 0 1 0 2.05 1.56 1.56 0 0 1-1.45.92m4.48 1.16h1.3v-6.22h-1.3zm4.96-6.28a4.3 4.3 0 0 0-1.31.2 3.1 3.1 0 0 0-1.06.56l.52 1.06c.22-.2.48-.36.77-.46.3-.1.6-.16.93-.16a1.42 1.42 0 0 1 1.04.35 1.35 1.35 0 0 1 .35 1v.1h-1.45a2.6 2.6 0 0 0-1.77.5 1.72 1.72 0 0 0-.56 1.35 1.75 1.75 0 0 0 .98 1.62c.35.17.73.25 1.1.24.38 0 .75-.07 1.08-.22.29-.13.53-.35.69-.62v.76h1.24v-3.64a2.7 2.7 0 0 0-.66-1.99 2.56 2.56 0 0 0-1.9-.65m-.17 5.3a1.2 1.2 0 0 1-.79-.23.77.77 0 0 1-.28-.63q0-.82 1.13-.82h1.36v.71a1.34 1.34 0 0 1-.54.72 1.57 1.57 0 0 1-.88.25zm13.76-7.17-1.88 6.23-1.85-6.23h-1.26l-1.9 6.2-1.83-6.2h-1.42l2.44 8.15h1.45l1.85-6.03 1.82 6.03h1.45l2.43-8.15zm2.13 8.15h1.31v-6.22h-1.31zm7.06 0h1.59l-2.56-3.6 2.34-2.62h-1.57L81.7 21v-5.21h-1.31v8.63h1.3v-1.64l.98-1.02zm2.18 0h1.31v-6.22H86.8zm-29.25-7.04a.82.82 0 0 0 .6-.23.8.8 0 0 0 .23-.59.7.7 0 0 0-.24-.54.86.86 0 0 0-.6-.22.84.84 0 0 0-.6.23.78.78 0 0 0 0 1.13.84.84 0 0 0 .6.23zm20.67 0a.82.82 0 0 0 .6-.23.8.8 0 0 0 .24-.59.7.7 0 0 0-.24-.54.86.86 0 0 0-.6-.22.84.84 0 0 0-.6.23.79.79 0 0 0 0 1.13.84.84 0 0 0 .6.23zm9.24 0a.82.82 0 0 0 .6-.23.8.8 0 0 0 .24-.59.7.7 0 0 0-.24-.54.86.86 0 0 0-.6-.22.84.84 0 0 0-.6.23.78.78 0 0 0 0 1.13.84.84 0 0 0 .6.23zM36.14 9.92a3.9 3.9 0 0 0 1.22-.18 2.2 2.2 0 0 0 1.62-2.23 2.5 2.5 0 0 0-.17-.97 1.9 1.9 0 0 0-.53-.75 2.4 2.4 0 0 0-.88-.47 4.2 4.2 0 0 0-1.26-.17h-2.28v7.57h1.09v-2.8zM34.94 6h1.2c.26 0 .52.03.77.1.2.06.39.17.55.3.14.13.26.3.33.47a1.93 1.93 0 0 1-.01 1.26 1.3 1.3 0 0 1-.34.49c-.16.14-.35.25-.55.32q-.37.12-.76.11h-1.18V6m6 1.47a2.2 2.2 0 0 0-.82.55c-.23.25-.4.55-.52.87a3.74 3.74 0 0 0 0 2.29c.11.32.29.62.52.87.23.24.5.43.81.55a3.05 3.05 0 0 0 2.14 0 2.24 2.24 0 0 0 .8-.55c.23-.25.4-.55.52-.87a3.74 3.74 0 0 0 0-2.29 2.5 2.5 0 0 0-.52-.87 2.2 2.2 0 0 0-.8-.55 3.05 3.05 0 0 0-2.14 0m-.1 4.02a2.4 2.4 0 0 1-.38-1.45 2.42 2.42 0 0 1 .39-1.46A1.35 1.35 0 0 1 42 8.06a1.33 1.33 0 0 1 1.15.52c.28.43.41.94.38 1.46a2.42 2.42 0 0 1-.38 1.45 1.34 1.34 0 0 1-1.15.52 1.35 1.35 0 0 1-1.16-.52m5.96 1.23h.76a.23.23 0 0 0 .23-.2L48.95 9l.07-.26.05-.25.06.25.07.25 1.15 3.54a.21.21 0 0 0 .2.19h.8l1.72-5.36h-.75a.3.3 0 0 0-.3.2l-1 3.34a9 9 0 0 0-.16.76 13 13 0 0 0-.2-.76L49.6 7.54a.27.27 0 0 0-.1-.14.3.3 0 0 0-.18-.05h-.43a.28.28 0 0 0-.28.2l-1.09 3.35-.1.39a14 14 0 0 0-.1.37 13 13 0 0 0-.16-.76l-.99-3.34a.3.3 0 0 0-.1-.14.32.32 0 0 0-.2-.06h-.79zm8.24-5.24a2.33 2.33 0 0 0-1.29 1.4 3 3 0 0 0-.17 1.05c0 .42.06.83.19 1.23.12.33.3.64.54.9.23.24.5.43.82.55.32.12.67.19 1.02.18q.3 0 .59-.04a3 3 0 0 0 .58-.15q.27-.1.52-.26.24-.16.43-.38l-.29-.36a.2.2 0 0 0-.18-.1.44.44 0 0 0-.22.08l-.31.18q-.21.1-.43.17a2 2 0 0 1-.6.08 1.8 1.8 0 0 1-.67-.12 1.34 1.34 0 0 1-.52-.36 1.7 1.7 0 0 1-.34-.6 3 3 0 0 1-.14-.85h3.54a.2.2 0 0 0 .19-.08.65.65 0 0 0 .05-.32 2.9 2.9 0 0 0-.17-1.02 2.1 2.1 0 0 0-.47-.75 2 2 0 0 0-.71-.47 2.4 2.4 0 0 0-.9-.16 2.6 2.6 0 0 0-1.06.2m1.64.64a1.2 1.2 0 0 1 .68.75q.1.29.09.59H54.6a1.82 1.82 0 0 1 .47-1.06 1.57 1.57 0 0 1 1.6-.28m3.8 4.6V9.36q.09-.25.22-.47a1.5 1.5 0 0 1 .27-.35c.1-.1.22-.17.35-.22.14-.05.29-.07.44-.07q.16 0 .32.03.1.03.22.03a.16.16 0 0 0 .17-.14l.07-.75a.8.8 0 0 0-.28-.11 1.4 1.4 0 0 0-.33-.04 1.35 1.35 0 0 0-.88.3 2.4 2.4 0 0 0-.63.84l-.06-.78a.36.36 0 0 0-.08-.21.33.33 0 0 0-.22-.06h-.58v5.36h1zm3.8-5.24a2.32 2.32 0 0 0-1.3 1.4 3 3 0 0 0-.17 1.05 3.6 3.6 0 0 0 .2 1.23 2.25 2.25 0 0 0 1.36 1.45c.32.12.67.19 1.02.18q.3 0 .58-.04a3 3 0 0 0 .58-.15q.28-.1.52-.26c.16-.1.3-.23.43-.38l-.28-.36a.2.2 0 0 0-.19-.1.44.44 0 0 0-.22.08l-.3.18a2.7 2.7 0 0 1-.44.17 2 2 0 0 1-.6.08 1.8 1.8 0 0 1-.67-.12 1.3 1.3 0 0 1-.52-.36 1.7 1.7 0 0 1-.33-.6 3 3 0 0 1-.14-.85h3.53a.2.2 0 0 0 .19-.08.65.65 0 0 0 .04-.32 2.9 2.9 0 0 0-.16-1.02 2.1 2.1 0 0 0-.47-.75 2 2 0 0 0-.72-.47 2.4 2.4 0 0 0-.9-.16 2.6 2.6 0 0 0-1.05.2zm1.63.64a1.2 1.2 0 0 1 .68.75q.1.29.1.59h-2.86a1.82 1.82 0 0 1 .47-1.06 1.57 1.57 0 0 1 1.6-.28zm7.26 4.6V4.94h-1v2.94a1.83 1.83 0 0 0-1.45-.61 2.1 2.1 0 0 0-.96.21 2 2 0 0 0-.73.59 2.7 2.7 0 0 0-.46.88 3.7 3.7 0 0 0-.16 1.1c0 .4.04.8.14 1.18.08.31.22.6.41.86a1.8 1.8 0 0 0 1.47.7q.27 0 .53-.06.25-.06.47-.18t.42-.29q.2-.17.36-.37l.1.63a.25.25 0 0 0 .26.2h.6zm-2.97-.84a1 1 0 0 1-.4-.35 1.7 1.7 0 0 1-.27-.6 3.7 3.7 0 0 1-.09-.87 2.46 2.46 0 0 1 .4-1.5 1.31 1.31 0 0 1 1.1-.52 1.6 1.6 0 0 1 .67.13c.22.11.41.27.56.47v2.57c-.17.23-.38.42-.63.57-.23.14-.5.21-.78.2a1.35 1.35 0 0 1-.56-.1m7.75.84a.23.23 0 0 0 .25-.21l.05-.46a1.8 1.8 0 0 0 1.5.75 2.07 2.07 0 0 0 1.7-.8 2.8 2.8 0 0 0 .45-.92c.11-.38.17-.78.16-1.18a4 4 0 0 0-.14-1.1 2.4 2.4 0 0 0-.4-.81c-.17-.22-.4-.4-.64-.52a1.9 1.9 0 0 0-.85-.18 2 2 0 0 0-.97.22 2.6 2.6 0 0 0-.76.62v-3.2h-1v7.79zm2.73-4.2c.26.43.38.92.35 1.41a2.58 2.58 0 0 1-.4 1.57 1.32 1.32 0 0 1-1.12.51 1.6 1.6 0 0 1-.65-.13 1.46 1.46 0 0 1-.56-.47V8.86a2.3 2.3 0 0 1 .61-.59c.24-.13.51-.2.78-.2a1.17 1.17 0 0 1 1 .46m7.06-1.17h-.8a.3.3 0 0 0-.28.2l-1.34 3.27-.1.24-.07.24a4 4 0 0 0-.14-.48l-1.39-3.27a.3.3 0 0 0-.3-.2h-.87l2.2 5.03-.98 2.13h.75a.4.4 0 0 0 .22-.06.44.44 0 0 0 .12-.18z"/>
3 <path fill="url(#a)" d="M8.28 6.12a4.53 4.53 0 0 0 1.33 3.12c.63.58 1.46.9 2.31.92.28 0 .55-.13.74-.33a3.52 3.52 0 0 0 .82-3.37c-.62-2.16-2.35-3.35-4.46-4.38a9.4 9.4 0 0 0-.74 4.04" opacity=".65"/>
4 <path fill="url(#b)" d="M5.16 9.25a4.5 4.5 0 0 0 2.42 2.37c.8.3 1.69.28 2.48-.03a1.08 1.08 0 0 0 .56-.59 3.52 3.52 0 0 0-.52-3.43c-1.4-1.75-3.45-2.2-5.8-2.33a9.4 9.4 0 0 0 .85 4" opacity=".65"/>
5 <path fill="url(#c)" d="M3.46 13.35a4.5 4.5 0 0 0 3.15 1.26 3.5 3.5 0 0 0 2.28-1c.2-.2.3-.47.3-.75a3.52 3.52 0 0 0-1.8-2.97c-1.96-1.08-4.02-.7-6.24.07a9.4 9.4 0 0 0 2.31 3.38" opacity=".65"/>
6 <path fill="url(#d)" d="M3.46 17.78a4.48 4.48 0 0 0 3.39-.04 3.52 3.52 0 0 0 1.73-1.8 1.1 1.1 0 0 0-.02-.8 3.5 3.5 0 0 0-2.79-2.06c-2.23-.23-3.98.9-5.74 2.46a9.3 9.3 0 0 0 3.43 2.24" opacity=".65"/>
7 <path fill="url(#e)" d="M5.15 21.88a4.5 4.5 0 0 0 3.1-1.34 3.54 3.54 0 0 0 .93-2.32 1.1 1.1 0 0 0-.33-.74 3.49 3.49 0 0 0-3.36-.83c-2.15.63-3.33 2.36-4.36 4.48a9.3 9.3 0 0 0 4.02.75" opacity=".65"/>
8 <path fill="url(#f)" d="M8.27 25.02a4.5 4.5 0 0 0 2.36-2.44 3.54 3.54 0 0 0-.04-2.5 1.08 1.08 0 0 0-.58-.56 3.48 3.48 0 0 0-3.42.53c-1.74 1.4-2.18 3.46-2.32 5.82a9.3 9.3 0 0 0 4-.85" opacity=".65"/>
9 <path fill="url(#g)" d="M12.35 26.72a4.53 4.53 0 0 0 1.25-3.16 3.54 3.54 0 0 0-.99-2.3 1.08 1.08 0 0 0-.75-.28 3.49 3.49 0 0 0-2.95 1.8c-1.07 1.97-.7 4.03.07 6.27a9.3 9.3 0 0 0 3.36-2.33" opacity=".65"/>
10 <path fill="url(#h)" d="M16.76 26.72a4.54 4.54 0 0 0-.04-3.4 3.52 3.52 0 0 0-1.78-1.74 1.08 1.08 0 0 0-.8.02 3.51 3.51 0 0 0-2.05 2.8c-.24 2.24.9 4 2.45 5.77a9.4 9.4 0 0 0 2.22-3.45" opacity=".65"/>
11 <path fill="url(#i)" d="M20.84 25.03a4.53 4.53 0 0 0-1.33-3.13 3.5 3.5 0 0 0-2.32-.92c-.28.01-.54.13-.73.33a3.52 3.52 0 0 0-.82 3.37c.63 2.16 2.34 3.35 4.46 4.39a9.4 9.4 0 0 0 .74-4.04" opacity=".65"/>
12 <path fill="url(#j)" d="M23.97 21.9a4.5 4.5 0 0 0-2.43-2.38 3.5 3.5 0 0 0-2.48.04 1.08 1.08 0 0 0-.56.59 3.52 3.52 0 0 0 .53 3.43c1.4 1.75 3.44 2.19 5.8 2.33a9.4 9.4 0 0 0-.86-4.01" opacity=".65"/>
13 <path fill="url(#k)" d="M25.66 17.8a4.5 4.5 0 0 0-3.14-1.26 3.5 3.5 0 0 0-2.29.99c-.19.2-.3.47-.29.75a3.52 3.52 0 0 0 1.8 2.97c1.96 1.08 4.02.7 6.24-.07a9.4 9.4 0 0 0-2.32-3.38" opacity=".65"/>
14 <path fill="url(#l)" d="M25.66 13.37a4.48 4.48 0 0 0-3.38.04 3.52 3.52 0 0 0-1.74 1.79 1.1 1.1 0 0 0 .02.8 3.5 3.5 0 0 0 2.79 2.07c2.23.23 3.98-.9 5.74-2.47a9.3 9.3 0 0 0-3.43-2.23" opacity=".65"/>
15 <path fill="url(#m)" d="M23.98 9.27a4.5 4.5 0 0 0-3.11 1.33 3.54 3.54 0 0 0-.92 2.33c0 .28.13.54.33.74a3.48 3.48 0 0 0 3.35.83c2.15-.64 3.34-2.36 4.37-4.49a9.3 9.3 0 0 0-4.02-.74" opacity=".65"/>
16 <path fill="url(#n)" d="M20.86 6.13a4.5 4.5 0 0 0-2.37 2.43c-.29.8-.28 1.7.04 2.5.12.25.33.45.59.56a3.48 3.48 0 0 0 3.41-.53c1.75-1.4 2.18-3.46 2.33-5.82a9.3 9.3 0 0 0-4 .86" opacity=".65"/>
17 <path fill="url(#o)" d="M16.78 4.43a4.54 4.54 0 0 0-1.26 3.15 3.54 3.54 0 0 0 .99 2.3c.2.19.47.3.75.29a3.49 3.49 0 0 0 2.96-1.8c1.07-1.98.7-4.04-.07-6.27a9.3 9.3 0 0 0-3.37 2.33" opacity=".65"/>
18 <path fill="url(#p)" d="M12.37 4.42a4.54 4.54 0 0 0 .04 3.4 3.52 3.52 0 0 0 1.78 1.74c.26.1.55.1.8-.02a3.51 3.51 0 0 0 2.05-2.8c.24-2.23-.9-4-2.45-5.76a9.4 9.4 0 0 0-2.23 3.44" opacity=".65"/>
19 <defs>
20 <linearGradient id="a" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
21 <stop stop-color="#0a00b2"/>
22 <stop offset=".5" stop-color="#f00"/>
23 <stop offset="1" stop-color="#fffc00"/>
24 </linearGradient>
25 <linearGradient id="b" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
26 <stop stop-color="#0a00b2"/>
27 <stop offset=".5" stop-color="#f00"/>
28 <stop offset="1" stop-color="#fffc00"/>
29 </linearGradient>
30 <linearGradient id="c" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
31 <stop stop-color="#0a00b2"/>
32 <stop offset=".5" stop-color="#f00"/>
33 <stop offset="1" stop-color="#fffc00"/>
34 </linearGradient>
35 <linearGradient id="d" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
36 <stop stop-color="#0a00b2"/>
37 <stop offset=".5" stop-color="#f00"/>
38 <stop offset="1" stop-color="#fffc00"/>
39 </linearGradient>
40 <linearGradient id="e" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
41 <stop stop-color="#0a00b2"/>
42 <stop offset=".5" stop-color="#f00"/>
43 <stop offset="1" stop-color="#fffc00"/>
44 </linearGradient>
45 <linearGradient id="f" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
46 <stop stop-color="#0a00b2"/>
47 <stop offset=".5" stop-color="#f00"/>
48 <stop offset="1" stop-color="#fffc00"/>
49 </linearGradient>
50 <linearGradient id="g" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
51 <stop stop-color="#0a00b2"/>
52 <stop offset=".5" stop-color="#f00"/>
53 <stop offset="1" stop-color="#fffc00"/>
54 </linearGradient>
55 <linearGradient id="h" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
56 <stop stop-color="#0a00b2"/>
57 <stop offset=".5" stop-color="#f00"/>
58 <stop offset="1" stop-color="#fffc00"/>
59 </linearGradient>
60 <linearGradient id="i" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
61 <stop stop-color="#0a00b2"/>
62 <stop offset=".5" stop-color="#f00"/>
63 <stop offset="1" stop-color="#fffc00"/>
64 </linearGradient>
65 <linearGradient id="j" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
66 <stop stop-color="#0a00b2"/>
67 <stop offset=".5" stop-color="#f00"/>
68 <stop offset="1" stop-color="#fffc00"/>
69 </linearGradient>
70 <linearGradient id="k" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
71 <stop stop-color="#0a00b2"/>
72 <stop offset=".5" stop-color="#f00"/>
73 <stop offset="1" stop-color="#fffc00"/>
74 </linearGradient>
75 <linearGradient id="l" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
76 <stop stop-color="#0a00b2"/>
77 <stop offset=".5" stop-color="#f00"/>
78 <stop offset="1" stop-color="#fffc00"/>
79 </linearGradient>
80 <linearGradient id="m" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
81 <stop stop-color="#0a00b2"/>
82 <stop offset=".5" stop-color="#f00"/>
83 <stop offset="1" stop-color="#fffc00"/>
84 </linearGradient>
85 <linearGradient id="n" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
86 <stop stop-color="#0a00b2"/>
87 <stop offset=".5" stop-color="#f00"/>
88 <stop offset="1" stop-color="#fffc00"/>
89 </linearGradient>
90 <linearGradient id="o" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
91 <stop stop-color="#0a00b2"/>
92 <stop offset=".5" stop-color="#f00"/>
93 <stop offset="1" stop-color="#fffc00"/>
94 </linearGradient>
95 <linearGradient id="p" x1="-2.35" x2="29.31" y1="30.32" y2="1" gradientUnits="userSpaceOnUse">
96 <stop stop-color="#0a00b2"/>
97 <stop offset=".5" stop-color="#f00"/>
98 <stop offset="1" stop-color="#fffc00"/>
99 </linearGradient>
100 </defs>
101</svg>

Also a bit late to the visual change discussion: @JScherer-WMF Do you think a normal button style is needed? Did we consider a quiet button style too? The border around flattened button is very stark. :} Not a blocker, more a question for curiosity.

Change #1030908 merged by jenkins-bot:

[mediawiki/core@master] footer: Stop interfering with full override of mediawiki footer icon

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

@Volker_E I used your powered by icon, do you want to work on and build a small version of wikimedia project SVG too? If we can reduce size of both even further, that'd be nice.

@Jdlrobson should this be included in the deployment testing and if so, how would I test this?

Change #1027150 merged by jenkins-bot:

[operations/mediawiki-config@master] Change static footer icons to the new one

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

Mentioned in SAL (#wikimedia-operations) [2024-06-17T18:19:27Z] <ladsgroup@deploy1002> Started scap: Backport for [[gerrit:1027150|Change static footer icons to the new one (T256190)]]

Mentioned in SAL (#wikimedia-operations) [2024-06-17T18:24:55Z] <ladsgroup@deploy1002> Started scap: Backport for [[gerrit:1027150|Change static footer icons to the new one (T256190)]], [[gerrit:1046750|Remove footer override]]

Mentioned in SAL (#wikimedia-operations) [2024-06-17T18:29:49Z] <ladsgroup@deploy1002> ladsgroup, jforrester: Backport for [[gerrit:1027150|Change static footer icons to the new one (T256190)]], [[gerrit:1046750|Remove footer override]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

@Jdlrobson Actually this now needs to be adopted with dark mode:

image.png (92×311 px, 5 KB)

@JScherer-WMF it's deployed now \o/

The next step is replace core's svg file. Get it reviewed and deployed and then remove the override in mw-config.

In terms of performance, it is now 3.06 + 5.5 = 8.65KB in total vs. 3.36 + 3.20 = 6.56KB (I'm counting gzip compressed) which is a small jump but not too big given that it heavily gets cached client side and it's desktop only (that should change though) and it's lazy loaded from what I'm seeing.

Mentioned in SAL (#wikimedia-operations) [2024-06-17T18:42:07Z] <ladsgroup@deploy1002> Finished scap: Backport for [[gerrit:1027150|Change static footer icons to the new one (T256190)]], [[gerrit:1046750|Remove footer override]] (duration: 17m 12s)

Change #1027178 merged by jenkins-bot:

[mediawiki/core@master] Change 'powered by MediaWiki' icon to new version, wrapped in Codex buttons

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

Adding this to the list of logo issues in T367795

Change #1047034 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/puppet@production] prometheus: Change footer icon ping url

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

@Jdlrobson Actually this now needs to be adopted with dark mode:

image.png (92×311 px, 5 KB)

Can this not use a transparent background (at least for now?) ? I don't think we are going to have time to adapt the system to invert this logo and squeeze in a fix before release.

I don't have the design expertise to say it's okay or not. It's @JScherer-WMF's domain ^_^

@Volker_E I used your powered by icon, do you want to work on and build a small version of wikimedia project SVG too? If we can reduce size of both even further, that'd be nice.

Sorry, sure. Didn't see the message earlier. I'll look into this. We can also just add the background statically into the SVGs.

Change #1047521 had a related patch set uploaded (by VolkerE; author: VolkerE):

[operations/mediawiki-config@master] Optimize static footer 'a Wikimedia project' icon further

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

First patch is only about SVGO optimization similar to the one already provided above in order to have clean separation of steps.

That's amazing. I will deploy this ASAP. If you can take a look at the mw one too (again, we redid it many times), I'd appreciate it.

@Jdlrobson Actually this now needs to be adopted with dark mode:

image.png (92×311 px, 5 KB)

Can this not use a transparent background (at least for now?) ? I don't think we are going to have time to adapt the system to invert this logo and squeeze in a fix before release.

This seems like an easy fix. Here are the logo SVGs with the grey background. I don't know why the original files weren't exported this way.

Change #1047597 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/core@master] footer: Reduce the left and right padding of footer icons to 8px

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

Change #1047034 merged by Ladsgroup:

[operations/puppet@production] prometheus: Change footer icon ping url

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

Change #1049187 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/skins/Vector@master] Footer: Add styles for buttons

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

Change #1047597 abandoned by Ladsgroup:

[mediawiki/core@master] footer: Reduce the left and right padding of footer icons to 8px

Reason:

In favor of Iae144d554b5023f

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

Jdlrobson added a subscriber: Pcoombe.

@Jdlrobson Actually this now needs to be adopted with dark mode:

image.png (92×311 px, 5 KB)

Can this not use a transparent background (at least for now?) ? I don't think we are going to have time to adapt the system to invert this logo and squeeze in a fix before release.

This seems like an easy fix. Here are the logo SVGs with the grey background. I don't know why the original files weren't exported this way.

@Ladsgroup are you able to take care of this update (without transparent background)? We are starting to get bug reports and talk page messages!

@Ladsgroup are you able to take care of this update (without transparent background)? We are starting to get bug reports and talk page messages!

I did something slightly different, instead of changing the svg, I'm setting the background color in the element wrapping it which would fix the issue. The patch for it is in vector: https://gerrit.wikimedia.org/r/1049187

Test wiki created on Patch demo by Jdlrobson using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/103e531257/w

Change #1049187 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Footer: Add styles for buttons

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

Change #1047521 merged by jenkins-bot:

[operations/mediawiki-config@master] Optimize static footer 'a Wikimedia project' icon further

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

Mentioned in SAL (#wikimedia-operations) [2024-07-03T11:35:35Z] <ladsgroup@deploy1002> Started scap sync-world: Backport for [[gerrit:1047521|Optimize static footer 'a Wikimedia project' icon further (T256190)]]

Mentioned in SAL (#wikimedia-operations) [2024-07-03T11:39:17Z] <ladsgroup@deploy1002> volker-e, ladsgroup: Backport for [[gerrit:1047521|Optimize static footer 'a Wikimedia project' icon further (T256190)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-07-03T11:45:03Z] <ladsgroup@deploy1002> Finished scap: Backport for [[gerrit:1047521|Optimize static footer 'a Wikimedia project' icon further (T256190)]] (duration: 09m 28s)

Hi! It looks much better than it was, thanks! But I hope you will consider removing these buttons in the future :) Because they were unreadable for people with poor eyesight and they remain so, even I can't read the word "project" with my 100%.