MediaWiki/skins: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
No edit summary
No edit summary
 
Line 3: Line 3:
* {{l/mw|Mustache (template system)}} handles HTML output
* {{l/mw|Mustache (template system)}} handles HTML output
* {{l/mw|Less (stylesheet language)}} handles CSS 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}}

Latest revision as of 13:53, 30 March 2022

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:

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

Footnote

<references />