@covers tags for maintenance tests
[mediawiki.git] / extensions / README
blobe8150623210d8aefb05b424c5adc57e54c69be49
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 Git:
11     https://gerrit.wikimedia.org/r/#/admin/projects/
13 or Subversion:
14     https://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/
16 You can find documentation and additional extensions on MediaWiki website:
17     https://www.mediawiki.org/wiki/Category:Extensions
20 Please note that under POSIX systems (Linux...), parent of a symbolic path
21 refers to the link source, NOT to the target! You should check the env
22 variable MW_INSTALL_PATH in case the extension is not in the default location.
24 The following code snippet lets you override the default path:
26  $IP = getenv( 'MW_INSTALL_PATH' );
27  if( $IP === false ) {
28         $IP = __DIR__ . '/../..';
29  }
30  require_once "$IP/maintenance/Maintenance.php"; // a MediaWiki core file