Handbuch:$wgStyleDirectory
Appearance
| Server-URLs und Dateipfade: $wgStyleDirectory | |
|---|---|
| Der Dateisystempfad zum Themenverzeichnis. |
|
| Eingeführt in Version: | 1.3.0 |
| Entfernt in Version: | Weiterhin vorhanden |
| Erlaubte Werte: | (relativer Pfad) |
| Standardwert: | null (1.38+)
"{$IP}/style" (1.3) |
| Andere Einstellungen: Alphabetisch | Nach Funktion | |
Details
Der Dateisystempfad zum Themenverzeichnis. This controls where MediaWiki will look for skin files on the server itself.
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.
- Example:
wfLoadSkin( 'Vector2', '/path/to/Vector2/skin.json' );
Siehe auch
- $IP
$wgStylePath— die URL für Skins.$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.