Skip to content

Use bundled SVG for the logo instead of a Wikimedia hotlink#495

Merged
malberts merged 1 commit into
masterfrom
use-local-logo-svg
Jun 12, 2026
Merged

Use bundled SVG for the logo instead of a Wikimedia hotlink#495
malberts merged 1 commit into
masterfrom
use-local-logo-svg

Conversation

@malberts

Copy link
Copy Markdown
Contributor

The README and docs landing-page logo were hotlinked from upload.wikimedia.org at a 220px thumbnail width. Wikimedia now rejects hotlinked thumbnails at non-standard widths with HTTP 400, and 220px is not on the permitted list (20, 40, 60, 120, 250, 330, 500, 960, 1280, 1920, 3840), so the logo no longer renders on the repo front page or the docs site.

The same artwork is already bundled in the repo at docs/Chameleon.svg, so both <img> tags now point at the local file (docs/Chameleon.svg from the README, Chameleon.svg from docs/index.md). width='220' is set so the logo keeps its previous size; the SVG's intrinsic width is ~170px.

The remaining upload.wikimedia.org reference in docs/components.md is a 170px URL inside an indented code example, so it renders as a code block rather than an image and is out of scope here.

Ref: https://www.mediawiki.org/wiki/Common_thumbnail_sizes

The README and docs landing-page logo were hotlinked from
upload.wikimedia.org at a 220px thumbnail width. Wikimedia now rejects
hotlinked thumbnails at non-standard widths with HTTP 400, and 220px is not
on the permitted list (20, 40, 60, 120, 250, 330, 500, 960, 1280, 1920,
3840), so the logo no longer renders.

The same artwork is already bundled at docs/Chameleon.svg, so both <img>
tags now point at the local file. width='220' keeps the previous size; the
SVG's intrinsic width is ~170px.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@malberts malberts marked this pull request as ready for review June 12, 2026 09:21
@malberts malberts merged commit ebd2a71 into master Jun 12, 2026
5 checks passed
@malberts malberts deleted the use-local-logo-svg branch June 12, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant