Difference between revisions of "MediaWiki/skins"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| 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[1]. It now makes extensive use of Mustache and Less:
- Mustache (template system) handles HTML output
 - Less (stylesheet language) handles CSS output
 
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
- Reference:
 - 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
- ↑ I haven't yet determined exactly when these changes took place.