A note about symbolic link and dirname() / include() ...
[lhc/web/wiklou.git] / extensions / README
1 Extensions (such as the hieroglyphic module WikiHiero) are distributed
2 separately. Drop them into this extensions directory and enable as
3 per the extension's directions.
4
5 If you are a developer, you want to fetch the extension tree in another
6 directory and make a symbolic link:
7
8 mediawiki/extensions$ ln -s ../../extensions-trunk/FooBarExt
9
10 The extensions are available through svn at:
11 http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/
12
13 You can find documentation and additional extensions on MediaWiki website:
14 http://www.mediawiki.org/wiki/Category:Extensions
15
16
17 Please note that under POSIX systems (Linux...), parent of a symbolic path
18 refers to the link source, NOT to the target! If you need to include a
19 file from mediawiki/, you will want to set and use MW_INSTALL_PATH env.
20
21 $IP = getenv( 'MW_INSTALL_PATH' ); // points to mediawiki/
22 require( "$IP/maintenance/Maintenance.php" ); // a MediaWiki file