Revert "Creating new WMF 1.22wmf3 branch"
[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 Git:
11 https://gerrit.wikimedia.org/r/#/admin/projects/
12
13 or Subversion:
14 https://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/
15
16 You can find documentation and additional extensions on MediaWiki website:
17 https://www.mediawiki.org/wiki/Category:Extensions
18
19
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.
23
24 The following code snippet lets you override the default path:
25
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