Podręcznik:$wgStyleDirectory
Appearance
| Server URLs and file paths: $wgStyleDirectory | |
|---|---|
| Ścieżka w systemie plików do katalogu skórek. |
|
| Wprowadzono w wersji: | 1.3.0 |
| Usunięto w wersji: | nadal w użyciu |
| Dozwolone wartości: | (ścieżka względna) |
| Domyślna wartość: | null (1.38+)
"{$IP}/style" (1.3) |
| Inne ustawienia: Alfabetycznie | Według funkcji | |
Szczegóły
Ścieżka w systemie plików do katalogu skórek. Określa, gdzie MediaWiki będzie szukać plików stylów na serwerze.
Set to
"{$IP}/skins" by Setup.php before loading local settings.Ignored when the exact path to a particular skin's
.json configuration file is given to the wfLoadSkin() function.
- Przykład:
wfLoadSkin( 'Vector2', '/path/to/Vector2/skin.json' );
Zobacz też
- $IP
$wgStylePath— URL dla skórek.$wgExtensionDirectory— the file system path for loading extensions.$wgExtensionAssetsPath— the URL for extension asset files.- Skins allow users to customize the look and feel of MediaWiki:
- Manual:Extension registration — instructions for both building and loading skins and extensions.