Kézikönyv:$wgStyleDirectory
Appearance
| Server URLs and file paths: $wgStyleDirectory | |
|---|---|
| A felületkönyvtár fájlrendszerbeli útvonala. |
|
| Bevezetve: | 1.3.0 |
| Eltávolítva: | használatban |
| Megengedett értékek: | (relatív útvonal) |
| Alapértelmezett érték: | null (1.38+)
"{$IP}/style" (1.3) |
| Egyéb beállítások: Betűrendben | Funkció szerint | |
Részletek
A változó a felületek fájlrendszeren belüli helyét adja meg. Ez adja meg, hogy a MediaWiki a szerveren magán merre keresse a felületeket.
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' );
Lásd még
- $IP
$wgStylePath— a felületek URL-je.$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.