Manual:$wgResourceLoaderLESSImportPaths/pl
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.32.0</tvar>.</translate> |
<translate> ResourceLoader</translate>: $wgResourceLoaderLESSImportPaths | |
---|---|
Default import paths for LESS modules. |
|
<translate> Introduced in version:</translate> | 1.22.0 (Gerrit change 78669; git #b67b9e1b) |
<translate> Removed in version:</translate> | 1.32.0 (Gerrit change 434046; git #eaf40e6d) |
<translate> Allowed values:</translate> | (array) |
<translate> Default value:</translate> | "$IP /resources/src/mediawiki.less/" |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Szczegóły
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.