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
Created page with "==Related== * {{l/same|skin.json}} ==Links== * [https://skins.wmflabs.org/ Wikimedia Skins Lab]: browse existing skins or build your own, with live rendering"
 
No edit summary
 
(3 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}}
==Links==
==Links==
* Reference:
** {{l/mw|Manual:Skins}}
** {{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<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 />