Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Wiki.tetrain.com Runbook
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Phase 6 β Logo sizing fix (verified exact, from the decision log) == Two root causes, both already diagnosed precisely in the decision log: <pre> <nowiki> # 1. Wrong skin variant β legacy Vector was being selected instead of Vector 2022 # Fix: in LocalSettings.php, change: # $wgDefaultSkin = "vector"; # to: # $wgDefaultSkin = "vector-2022"; </nowiki> </pre> <pre> <nowiki> # 2. Logo was being force-fit into Vector 2022's fixed 50x50 icon slot, distorting it. mkdir -p /var/www/wiki/resources/assets/logo # download the real company logo (tetra_logo_2017Web.png, 198x399px) and host it locally # rather than hotlinking www.tetrain.com, then re-composite onto properly sized, transparent, # square canvases at each density (letterboxed/centered, not stretched): # tetrain_logo_1x.png -> 50x50 # tetrain_logo_1.5x.png -> 75x75 # tetrain_logo_2x.png -> 100x100 </nowiki> </pre> Then set (already reflected in the Phase 5.4 <code><nowiki>LocalSettings.php</nowiki></code> listing above): <pre> <nowiki> $wgLogos = [ "1x" => "$wgResourceBasePath/resources/assets/logo/tetrain_logo_1x.png", "1.5x" => "$wgResourceBasePath/resources/assets/logo/tetrain_logo_1.5x.png", "2x" => "$wgResourceBasePath/resources/assets/logo/tetrain_logo_2x.png", "icon" => "$wgResourceBasePath/resources/assets/logo/tetrain_logo_1x.png", ]; </nowiki> </pre> <pre> <nowiki> php maintenance/run.php purgeList # or Special:Purge on the affected pages β clear the cached logo </nowiki> </pre> '''Verify''': served logo image is genuinely 50Γ50px (checked via direct image fetch), no distortion. ----
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)