Manual:$wgStyleDirectory
Appearance
Server URLs and file paths: $wgStyleDirectory | |
---|---|
The file system path to the skins directory. |
|
Introducido en la versión: | 1.3.0 |
Eliminado en la versión: | aún se usa |
Valores permitidos: | (relative path) |
Valor predeterminado: | null (1.38+)
"{$IP }/style" (1.3) |
Otras configuraciones: Alfabéticamente | Por Función |
Detalles
The file system path to the skins directory. 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' );
Véase también
- $IP
$wgStylePath
— the URL for 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.