Added streamFile() unit tests
[mediawiki.git] / extensions / README
blobb665001c7b9244e58688a7070cb89e16be8d1a76
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 You can find a list of extensions and documentation on the MediaWiki website:
6     https://www.mediawiki.org/wiki/Category:Extensions
9 If you are a developer, you want to fetch the extension tree in another
10 directory and make a symbolic link:
12  mediawiki/extensions$ ln -s ../../extensions-trunk/FooBarExt
14 Most extensions are available through Git:
15     https://gerrit.wikimedia.org/r/#/admin/projects/
16     https://git.wikimedia.org/project/mediawiki
18 Old extensions are on Subversion:
19     https://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/
22 Please note that under POSIX systems (Linux...), parent of a symbolic path
23 refers to the link source, NOT to the target! You should check the env
24 variable MW_INSTALL_PATH in case the extension is not in the default location.
26 The following code snippet lets you override the default path:
28  $IP = getenv( 'MW_INSTALL_PATH' );
29  if( $IP === false ) {
30         $IP = __DIR__ . '/../..';
31  }
32  require_once "$IP/maintenance/Maintenance.php"; // a MediaWiki core file