From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgResourceLoaderLESSImportPaths and the translation is 33% complete.
Other languages:
English • ‎polski • ‎日本語
ResourceLoader: $wgResourceLoaderLESSImportPaths
Default import paths for LESS modules.
Wprowadzono w wersji:1.22.0
Usunięto w wersji:1.32.0 (git #eaf40e6d)
Dozwolone wartości:(tablica)
Domyślna wartość:"$IP /resources/src/mediawiki.less/"


Default import paths for LESS modules. LESS files referenced in @import statements will be looked up here first, and relative to the importing file second. To avoid collisions, it's important for the LESS files in these directories to have a common, predictable file name prefix.

Extensions need not (and should not) register paths in $wgResourceLoaderLESSImportPaths. The import path includes the path of the currently compiling LESS file, which allows each extension to freely import files from its own tree.

The feature has been removed in MediaWiki 1.32.0.