MediaWiki REL1_33
README
Go to the documentation of this file.
1== User Information ==
2
3Extensions are distributed separately. Drop them into this directory and enable
4as per the extension's installation instructions.
5
6You can find a list of extensions and documentation at
7<https://www.mediawiki.org/wiki/Special:MyLanguage/Category:Extensions>.
8
9== Development Information ==
10
11If you are a developer, you might want to fetch the extension tree in another
12directory and make a symbolic link:
13
14 mediawiki/extensions$ ln -s ../../extensions-trunk/FooBar
15
16Most extensions are available through Git:
17 https://phabricator.wikimedia.org/diffusion/MEXT/
18
19
20Please note that under POSIX systems (Linux...), parent of a symbolic path
21refers to the link source, NOT to the target! You should check the env
22variable MW_INSTALL_PATH in case the extension is not in the default location.
23
24The 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