Apply Vitaliy Filippov's patch from Bug #29283 with some small style mods
[mediawiki.git] / extensions / README
blob0437af69da08cb691c49c2e470daa01ad5bf26da
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.
5 If you are a developer, you want to fetch the extension tree in another
6 directory and make a symbolic link:
8  mediawiki/extensions$ ln -s ../../extensions-trunk/FooBarExt
10 The extensions are available through svn at:
11     http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/
13 You can find documentation and additional extensions on MediaWiki website:
14     http://www.mediawiki.org/wiki/Category:Extensions
17 Please note that under POSIX systems (Linux...), parent of a symbolic path
18 refers to the link source, NOT to the target! You should check the env
19 variable MW_INSTALL_PATH in case the extension is not in the default location.
21 The following code snippet let you override the default path: 
23  $IP = getenv( 'MW_INSTALL_PATH' );
24  if( $IP === false ) {
25         $IP = dirname( __FILE__ ) . '/../..';
26  }
27  require( "$IP/maintenance/Maintenance.php" ); // a MediaWiki core file