]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - skins/README
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / skins / README
1 Skins, such as the default skin Vector, are distributed separately. Drop them
2 into this directory and enable as per the skin's installation instructions.
3
4 You can find a list of available skins at
5 <https://www.mediawiki.org/wiki/Category:All_skins>,
6 and more information about installing and configuring skins at
7 <https://www.mediawiki.org/wiki/Manual:Skin_configuration>.
8
9 If you are a developer, you might want to fetch the skin tree in another
10 directory and make a symbolic link:
11
12  mediawiki/skins$ ln -s ../../skins-trunk/FooBar
13
14 The default skin Vector can be installed by cloning from Git:
15     git clone https://phabricator.wikimedia.org/diffusion/SVEC/Vector
16
17 Other skins are also available:
18     https://phabricator.wikimedia.org/diffusion/SKIN/
19
20
21 Please note that under POSIX systems (Linux...), parent of a symbolic path
22 refers to the link source, NOT to the target! You should check the env
23 variable MW_INSTALL_PATH in case the extension is not in the default location.
24
25 The following code snippet lets you override the default path:
26
27  $IP = getenv( 'MW_INSTALL_PATH' );
28  if( $IP === false ) {
29         $IP = __DIR__ . '/../..';
30  }
31  require_once "$IP/maintenance/Maintenance.php"; // a MediaWiki core file