Difference between revisions of "MediaWiki/skins"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
==About==
 +
The MediaWiki skinning system has been significantly revised as of version 1.37.1<ref>I haven't yet determined exactly when these changes took place.</ref>. It now makes extensive use of Mustache and Less:
 +
* {{l/mw|Mustache (template system)}} handles HTML output
 +
* {{l/mw|Less (stylesheet language)}} handles CSS output
 +
===HTML: Mustache===
 +
Tentatively, everything starts with the <code>templates/skin.mustache</code> file. This file then invokes other Mustache code to handle various sections as needed.
 +
===CSS: Less===
 
==Related==
 
==Related==
 
* {{l/same|skin.json}}
 
* {{l/same|skin.json}}
Line 7: Line 13:
 
** {{l/mw|Manual:How to make a MediaWiki skin}}
 
** {{l/mw|Manual:How to make a MediaWiki skin}}
 
* [https://skins.wmflabs.org/ Wikimedia Skins Lab]: browse existing skins or build your own, with live rendering
 
* [https://skins.wmflabs.org/ Wikimedia Skins Lab]: browse existing skins or build your own, with live rendering
 +
** Unfortunately, it doesn't seem possible to choose a starting skin up on which to base your customizations.
 +
==Footnote==
 +
<references />

Latest revision as of 13:53, 30 March 2022

About

The MediaWiki skinning system has been significantly revised as of version 1.37.1[1]. It now makes extensive use of Mustache and Less:

HTML: Mustache

Tentatively, everything starts with the templates/skin.mustache file. This file then invokes other Mustache code to handle various sections as needed.

CSS: Less

Related

Links

Footnote

  1. I haven't yet determined exactly when these changes took place.