Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Gadget-ohc-fonts.js

MediaWiki interface page
Revision as of 13:00, 12 August 2026 by Robo (talk | contribs) (Bot: careui — no-op; fonts are now @font-face in Common.css, self-hosted variable Figtree/Geist Mono - Claude)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/**
 * ohc-fonts -- SUPERSEDED, intentionally a no-op.
 *
 * Figtree Variable and Geist Mono Variable are now declared as @font-face in
 * MediaWiki:Common.css, self-hosted from version-pinned @fontsource-variable
 * packages -- the same files careui itself uses.
 *
 * This gadget used to inject two third-party stylesheets (Fontshare for
 * Switzer, Google Fonts for static-weight Figtree/Geist Mono) via
 * mw.loader.load(). That guaranteed a flash of fallback text, and measurement
 * showed the webfonts frequently never applied at all. Switzer has been
 * dropped: careui is Figtree throughout.
 *
 * Left in place rather than deleted so MediaWiki:Gadgets-definition keeps
 * resolving if the Gadgets extension is installed later.
 *
 * Reference: [[OHC Network Wiki:Design/careui]]
 */