Jump to content

Manual:$wgResourceLoaderLESSFunctions

From mediawiki.org
ResourceLoader: $wgResourceLoaderLESSFunctions
Custom LESS functions. An associative array mapping function name to PHP callable.
Introduced in version:1.22.0 (Gerrit change 78669; git #b67b9e1b)
Deprecated in version:1.24.0 (Gerrit change 161245; git #bf1168b8)
Removed in version:1.26.0 (Gerrit change 235948; git #e176c76d)
Allowed values:(array)
Default value:See below

Default value

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