Jump to content

Handbuch:$wgResourceLoaderLESSFunctions

From mediawiki.org
This page is a translated version of the page Manual:$wgResourceLoaderLESSFunctions and the translation is 80% complete.
ResourceLoader: $wgResourceLoaderLESSFunctions
Custom LESS functions. An associative array mapping function name to PHP callable.
Eingeführt in Version:1.22.0 (Gerrit change 78669; git #b67b9e1b)
Veraltet in Version:1.24.0 (Gerrit change 161245; git #bf1168b8)
Entfernt in Version:1.26.0 (Gerrit change 235948; git #e176c76d)
Erlaubte Werte:(Array)
Standardwert:Siehe unten

Standardwert

MediaWiki Versions:
1.24 – 1.25
$wgResourceLoaderLESSFunctions = array();
MediaWiki Versions:
1.22 – 1.23
$wgResourceLoaderLESSFunctions = array(
	'embeddable' => 'ResourceLoaderLESSFunctions::embeddable',
	'embed' => 'ResourceLoaderLESSFunctions::embed',
);