Use bundled SVG for the logo instead of a Wikimedia hotlink#495
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The README and docs landing-page logo were hotlinked from
upload.wikimedia.orgat 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.svgfrom the README,Chameleon.svgfromdocs/index.md).width='220'is set so the logo keeps its previous size; the SVG's intrinsic width is ~170px.The remaining
upload.wikimedia.orgreference indocs/components.mdis 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